summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-08 00:47:44 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-08 00:47:44 +0000
commite1ba5a3132f3e6a3bcd631e004eb4b7bad90b666 (patch)
tree703b1848a3996516b8021007a77671d535a8f73a
parentaf10ea2055a2755018eb39f1c7b867b19d8566d1 (diff)
downloadbcm5719-llvm-e1ba5a3132f3e6a3bcd631e004eb4b7bad90b666.tar.gz
bcm5719-llvm-e1ba5a3132f3e6a3bcd631e004eb4b7bad90b666.zip
[X86] Move AVX512VPOPCNTDQ in __builtin_cpu_support's enum to match trunk gcc.
There are two other features before it that we don't currently support in the the frontend or backend so I left placeholders to keep the encoding correct. I think the compiler-rt implementation of this feature is even further out of date. llvm-svn: 307456
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 1724c1625bf..a92f4879e70 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -7335,6 +7335,8 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID,
AVX512PF,
AVX512VBMI,
AVX512IFMA,
+ AVX5124VNNIW, // TODO implement this fully
+ AVX5124FMAPS, // TODO implement this fully
AVX512VPOPCNTDQ,
MAX
};
OpenPOWER on IntegriCloud