File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -414,6 +414,8 @@ bool X86TargetInfo::initFeatureMap(
414
414
case CK_BDVER4:
415
415
setFeatureEnabledImpl (Features, " avx2" , true );
416
416
setFeatureEnabledImpl (Features, " bmi2" , true );
417
+ setFeatureEnabledImpl (Features, " movbe" , true );
418
+ setFeatureEnabledImpl (Features, " rdrnd" , true );
417
419
setFeatureEnabledImpl (Features, " mwaitx" , true );
418
420
LLVM_FALLTHROUGH;
419
421
case CK_BDVER3:
Original file line number Diff line number Diff line change 2753
2753
// CHECK_BDVER4_M32: #define __LWP__ 1
2754
2754
// CHECK_BDVER4_M32: #define __LZCNT__ 1
2755
2755
// CHECK_BDVER4_M32: #define __MMX__ 1
2756
+ // CHECK_BDVER4_M32: #define __MOVBE__ 1
2756
2757
// CHECK_BDVER4_M32: #define __PCLMUL__ 1
2757
2758
// CHECK_BDVER4_M32: #define __POPCNT__ 1
2758
2759
// CHECK_BDVER4_M32: #define __PRFCHW__ 1
2760
+ // CHECK_BDVER4_M32: #define __RDRND__ 1
2759
2761
// CHECK_BDVER4_M32: #define __SSE2_MATH__ 1
2760
2762
// CHECK_BDVER4_M32: #define __SSE2__ 1
2761
2763
// CHECK_BDVER4_M32: #define __SSE3__ 1
2791
2793
// CHECK_BDVER4_M64: #define __LWP__ 1
2792
2794
// CHECK_BDVER4_M64: #define __LZCNT__ 1
2793
2795
// CHECK_BDVER4_M64: #define __MMX__ 1
2796
+ // CHECK_BDVER4_M64: #define __MOVBE__ 1
2794
2797
// CHECK_BDVER4_M64: #define __PCLMUL__ 1
2795
2798
// CHECK_BDVER4_M64: #define __POPCNT__ 1
2796
2799
// CHECK_BDVER4_M64: #define __PRFCHW__ 1
2800
+ // CHECK_BDVER4_M64: #define __RDRND__ 1
2797
2801
// CHECK_BDVER4_M64: #define __SSE2_MATH__ 1
2798
2802
// CHECK_BDVER4_M64: #define __SSE2__ 1
2799
2803
// CHECK_BDVER4_M64: #define __SSE3__ 1
Original file line number Diff line number Diff line change @@ -946,6 +946,8 @@ def ProcessorFeatures {
946
946
// Excavator
947
947
list<SubtargetFeature> BdVer4AdditionalFeatures = [FeatureAVX2,
948
948
FeatureBMI2,
949
+ FeatureMOVBE,
950
+ FeatureRDRAND,
949
951
FeatureMWAITX];
950
952
list<SubtargetFeature> BdVer4InheritableFeatures =
951
953
!listconcat(BdVer3InheritableFeatures, BdVer4AdditionalFeatures);
You can’t perform that action at this time.
0 commit comments