[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307456 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBuiltin.cpp

index 1724c1625bf63108483d3156914fa1a22f705c7a..a92f4879e70c318c0ade83c0f7fd4cbae44628dd 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
     };