Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12837,6 +12837,15 @@ void Compiler::gtDispTree(GenTree* tree,
case NI_System_Math_MinUnsigned:
printf(" minUnsigned");
break;
case NI_PRIMITIVE_LeadingZeroCount:
printf(" leadingZeroCount");
break;
case NI_PRIMITIVE_TrailingZeroCount:
printf(" trailingZeroCount");
break;
case NI_PRIMITIVE_PopCount:
printf(" popCount");
break;
#endif // TARGET_RISCV64
case NI_System_Math_Pow:
printf(" pow");
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/valuenum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9385,7 +9385,7 @@ ValueNum ValueNumStore::EvalMathFuncUnary(var_types typ, NamedIntrinsic gtMathFN

if (IsVNConstant(arg0VN) && (!m_pComp->IsAot() || m_pComp->IsTargetIntrinsic(gtMathFN)))
{
assert(varTypeIsFloating(TypeOfVN(arg0VN)));
assert(varTypeIsFloating(TypeOfVN(arg0VN)) RISCV64_ONLY(|| varTypeIsIntegral(TypeOfVN(arg0VN))));

if (typ == TYP_DOUBLE)
{
Expand Down
Loading