aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86.td
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-08-21 03:57:57 +0000
committerCraig Topper <craig.topper@gmail.com>2013-08-21 03:57:57 +0000
commit33b5fe7f160886a0718e8cad4ac0d896d5d5c46f (patch)
tree3616bd181f4172c9f9379e529d3e72d58256e83f /lib/Target/X86/X86.td
parentd5a2eb092580397dbf0b791a4e4530ad12acb795 (diff)
downloadexternal_llvm-33b5fe7f160886a0718e8cad4ac0d896d5d5c46f.zip
external_llvm-33b5fe7f160886a0718e8cad4ac0d896d5d5c46f.tar.gz
external_llvm-33b5fe7f160886a0718e8cad4ac0d896d5d5c46f.tar.bz2
Rename mattr names for AVX-512 to from avx-512 -> avx512f, avx-512-pfi -> av512pf, avx-512-cdi -> avx512cd, avx-512-eri->avx512er. This matches better with official docs and what gcc patches appearto be using. I didn't touch the has* functions or the feature flag names to avoid change the td and lowering file while commits are still happening.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.td')
-rw-r--r--lib/Target/X86/X86.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td
index 461ea9b..ca49482 100644
--- a/lib/Target/X86/X86.td
+++ b/lib/Target/X86/X86.td
@@ -86,16 +86,16 @@ def FeatureAVX : SubtargetFeature<"avx", "X86SSELevel", "AVX",
def FeatureAVX2 : SubtargetFeature<"avx2", "X86SSELevel", "AVX2",
"Enable AVX2 instructions",
[FeatureAVX]>;
-def FeatureAVX512 : SubtargetFeature<"avx-512", "X86SSELevel", "AVX512",
+def FeatureAVX512 : SubtargetFeature<"avx512f", "X86SSELevel", "AVX512F",
"Enable AVX-512 instructions",
[FeatureAVX2]>;
-def FeatureERI : SubtargetFeature<"avx-512-eri", "HasERI", "true",
+def FeatureERI : SubtargetFeature<"avx512er", "HasERI", "true",
"Enable AVX-512 Exponential and Reciprocal Instructions",
[FeatureAVX512]>;
-def FeatureCDI : SubtargetFeature<"avx-512-cdi", "HasCDI", "true",
+def FeatureCDI : SubtargetFeature<"avx512cd", "HasCDI", "true",
"Enable AVX-512 Conflict Detection Instructions",
[FeatureAVX512]>;
-def FeaturePFI : SubtargetFeature<"avx-512-pfi", "HasPFI", "true",
+def FeaturePFI : SubtargetFeature<"avx512pf", "HasPFI", "true",
"Enable AVX-512 PreFetch Instructions",
[FeatureAVX512]>;