forked from OSchip/llvm-project
[X86] Add CMPXCHG16B feature to amdfam10 in the frontend.
We already have this feature on it in the backend.
This commit is contained in:
parent
d4adac4832
commit
a7db230d75
|
@ -336,6 +336,7 @@ SkylakeCommon:
|
|||
setFeatureEnabledImpl(Features, "popcnt", true);
|
||||
setFeatureEnabledImpl(Features, "sahf", true);
|
||||
setFeatureEnabledImpl(Features, "prfchw", true);
|
||||
setFeatureEnabledImpl(Features, "cx16", true);
|
||||
LLVM_FALLTHROUGH;
|
||||
case CK_K8SSE3:
|
||||
setFeatureEnabledImpl(Features, "sse3", true);
|
||||
|
|
|
@ -2397,6 +2397,7 @@
|
|||
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_AMDFAM10_M64
|
||||
// CHECK_AMDFAM10_M64: #define __3dNOW_A__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __3dNOW__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
|
||||
// CHECK_AMDFAM10_M64: #define __LZCNT__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __MMX__ 1
|
||||
// CHECK_AMDFAM10_M64: #define __POPCNT__ 1
|
||||
|
|
Loading…
Reference in New Issue