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 8, 2024
1 parent ff8628e commit ee1c24e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/x/env/OMRCPU.cpp
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 ee1c24e

Please sign in to comment.