Skip to content

Commit

Permalink
Make sure we query get_IsSupported correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Jun 20, 2024
1 parent eede5f7 commit 9319a0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/jit/hwintrinsic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ NamedIntrinsic HWIntrinsicInfo::lookupId(Compiler* comp,
{
isHardwareAcceleratedProp = true;
}
else if (strcmp(methodName + 6, "IsSupported") == 0)
else if (strcmp(methodName + 6, "Supported") == 0)
{
isSupportedProp = true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/hwintrinsicxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static CORINFO_InstructionSet lookupInstructionSet(const char* className)
{
return InstructionSet_AVX2;
}
else if (strncmp(className + 3, "512", 3))
else if (strncmp(className + 3, "512", 3) == 0)
{
if (strcmp(className + 6, "BW") == 0)
{
Expand Down

0 comments on commit 9319a0e

Please sign in to comment.