forked from OSchip/llvm-project
[X86] Remove 'cx16' from 'prescott' and 'yonah' as they are 32-bit only CPUs and cmpxchg16b requires 64-bit mode.
llvm-svn: 356008
This commit is contained in:
parent
704c626ea1
commit
d02c9f59ff
|
@ -214,11 +214,12 @@ bool X86TargetInfo::initFeatureMap(
|
|||
setFeatureEnabledImpl(Features, "ssse3", true);
|
||||
setFeatureEnabledImpl(Features, "sahf", true);
|
||||
LLVM_FALLTHROUGH;
|
||||
case CK_Nocona:
|
||||
setFeatureEnabledImpl(Features, "cx16", true);
|
||||
LLVM_FALLTHROUGH;
|
||||
case CK_Yonah:
|
||||
case CK_Prescott:
|
||||
case CK_Nocona:
|
||||
setFeatureEnabledImpl(Features, "sse3", true);
|
||||
setFeatureEnabledImpl(Features, "cx16", true);
|
||||
LLVM_FALLTHROUGH;
|
||||
case CK_PentiumM:
|
||||
case CK_Pentium4:
|
||||
|
|
Loading…
Reference in New Issue