Skip to content

Commit

Permalink
X: Add FMA to supports_feature_test
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Comin <spencer.comin@ibm.com>
  • Loading branch information
Spencer-Comin committed Feb 7, 2024
1 parent 4b51445 commit 9103885
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/x/env/OMRCPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ OMR::X86::CPU::supports_feature_test(uint32_t feature)
return TR::CodeGenerator::getX86ProcessorInfo().supportsAVX512BITALG() == ans;
case OMR_FEATURE_X86_AVX512_VPOPCNTDQ:
return TR::CodeGenerator::getX86ProcessorInfo().supportsAVX512VPOPCNTDQ() == ans;
case OMR_FEATURE_X86_FMA:
return TR::CodeGenerator::getX86ProcessorInfo().supportsFMA() == ans;
default:
return false;
}
Expand Down

0 comments on commit 9103885

Please sign in to comment.