Skip to content

Commit

Permalink
Merge pull request #18047 from BradleyWood/avx512cd
Browse files Browse the repository at this point in the history
x86: Enable AVX512-CD
  • Loading branch information
0xdaryl committed Sep 6, 2023
2 parents a3120a1 + 748e066 commit 7599bde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/compiler/x/env/J9CPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ J9::X86::CPU::enableFeatureMasks()
OMR_FEATURE_X86_FMA, OMR_FEATURE_X86_HLE, OMR_FEATURE_X86_RTM,
OMR_FEATURE_X86_SSE3, OMR_FEATURE_X86_AVX2, OMR_FEATURE_X86_AVX512F,
OMR_FEATURE_X86_AVX512VL, OMR_FEATURE_X86_AVX512BW, OMR_FEATURE_X86_AVX512DQ,
OMR_FEATURE_X86_SSE4_2};
OMR_FEATURE_X86_AVX512CD, OMR_FEATURE_X86_SSE4_2};

memset(_supportedFeatureMasks.features, 0, OMRPORT_SYSINFO_FEATURES_SIZE*sizeof(uint32_t));
OMRPORT_ACCESS_FROM_OMRPORT(TR::Compiler->omrPortLib);
Expand Down Expand Up @@ -347,6 +347,7 @@ J9::X86::CPU::supports_feature_test(uint32_t feature)
case OMR_FEATURE_X86_AVX512VL:
case OMR_FEATURE_X86_AVX512BW:
case OMR_FEATURE_X86_AVX512DQ:
case OMR_FEATURE_X86_AVX512CD:
case OMR_FEATURE_X86_FMA:
return true;
default:
Expand Down

0 comments on commit 7599bde

Please sign in to comment.