mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
X86: Rename the CLMUL target feature to PCLMUL.
It was renamed in gcc/gas a while ago and causes all kinds of confusion because it was named differently in llvm and clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157745 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -202,8 +202,8 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
|
||||
bool IsAMD = !IsIntel && memcmp(text.c, "AuthenticAMD", 12) == 0;
|
||||
|
||||
if ((ECX >> 1) & 0x1) {
|
||||
HasCLMUL = true;
|
||||
ToggleFeature(X86::FeatureCLMUL);
|
||||
HasPCLMUL = true;
|
||||
ToggleFeature(X86::FeaturePCLMUL);
|
||||
}
|
||||
// FMA3 autodetection is switched off until we have a special flag
|
||||
// in code generator
|
||||
@ -328,7 +328,7 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &CPU,
|
||||
, HasPOPCNT(false)
|
||||
, HasSSE4A(false)
|
||||
, HasAES(false)
|
||||
, HasCLMUL(false)
|
||||
, HasPCLMUL(false)
|
||||
, HasFMA3(false)
|
||||
, HasFMA4(false)
|
||||
, HasXOP(false)
|
||||
|
Reference in New Issue
Block a user