[X86] Move AVX512VPOPCNTDQ in __builtin_cpu_support's enum to match trunk gcc.
authorCraig Topper <craig.topper@intel.com>
Sat, 8 Jul 2017 00:47:44 +0000 (00:47 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 8 Jul 2017 00:47:44 +0000 (00:47 +0000)
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

clang/lib/CodeGen/CGBuiltin.cpp

index 1724c16..a92f487 100644 (file)
@@ -7335,6 +7335,8 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID,
       AVX512PF,
       AVX512VBMI,
       AVX512IFMA,
+      AVX5124VNNIW, // TODO implement this fully
+      AVX5124FMAPS, // TODO implement this fully
       AVX512VPOPCNTDQ,
       MAX
     };