forked from OSchip/llvm-project
[X86] SSE4_A should only imply SSE3 not SSSE3 in the frontend.
SSE4_1 and SSE4_2 due imply SSSE3. So I guess I got confused when switching the code to being table based in D83273. Fixes PR47464
This commit is contained in:
parent
1f870bd928
commit
e6bb4c8e7b
|
@ -2525,6 +2525,7 @@
|
|||
// CHECK_AMDFAM10_M32: #define __SSE4A__ 1
|
||||
// CHECK_AMDFAM10_M32: #define __SSE_MATH__ 1
|
||||
// CHECK_AMDFAM10_M32: #define __SSE__ 1
|
||||
// CHECK_AMDFAM10_M32-NOT: #define __SSSE3__ 1
|
||||
// CHECK_AMDFAM10_M32: #define __amdfam10 1
|
||||
// CHECK_AMDFAM10_M32: #define __amdfam10__ 1
|
||||
// CHECK_AMDFAM10_M32: #define __i386 1
|
||||
|
@ -2547,6 +2548,7 @@
|
|||
// CHECK_AMDFAM10_M64: #define __SSE4A__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __SSE_MATH__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __SSE__ 1
|
||||
// CHECK_AMDFAM10_M64-NOT: #define __SSSE3__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __amd64 1
|
||||
// CHECK_AMDFAM10_M64: #define __amd64__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __amdfam10 1
|
||||
|
|
|
@ -529,7 +529,7 @@ static constexpr FeatureBitset ImpliedFeaturesAVX5124FMAPS = {};
|
|||
static constexpr FeatureBitset ImpliedFeaturesAVX5124VNNIW = {};
|
||||
|
||||
// SSE4_A->FMA4->XOP chain.
|
||||
static constexpr FeatureBitset ImpliedFeaturesSSE4_A = FeatureSSSE3;
|
||||
static constexpr FeatureBitset ImpliedFeaturesSSE4_A = FeatureSSE3;
|
||||
static constexpr FeatureBitset ImpliedFeaturesFMA4 = FeatureAVX | FeatureSSE4_A;
|
||||
static constexpr FeatureBitset ImpliedFeaturesXOP = FeatureFMA4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue