]> granicus.if.org Git - clang/commitdiff
AVX-512: I added new headers to makefiles. It should resolve tests fail.
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Tue, 22 Jul 2014 12:08:25 +0000 (12:08 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Tue, 22 Jul 2014 12:08:25 +0000 (12:08 +0000)
If it will not, I'm reverting the both commits.

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

lib/Headers/CMakeLists.txt
lib/Headers/module.modulemap

index edee7d76425091ef9e5f3f19c965197e59b013e0..5b3b49f9ad8a344f804a4beabd9fadc82e879d5b 100644 (file)
@@ -4,6 +4,8 @@ set(files
   arm_acle.h
   avxintrin.h
   avx2intrin.h
+  avx512fintrin.h
+  avx512erintrin.h
   bmiintrin.h
   bmi2intrin.h
   emmintrin.h
index 9f7944dedbb03dc05995ebaf6bebf890ca90b52e..64b2889297506c4a5b5fc9f7d892c007fba20d8a 100644 (file)
@@ -96,6 +96,17 @@ module _Builtin_intrinsics [system] {
       header "avx2intrin.h"
     }
 
+    explicit module avx512f {
+      requires avx512f
+      export avx2
+      header "avx512fintrin.h"
+    }
+
+    explicit module avx512er {
+      requires avx512er
+      header "avx512erintrin.h"
+    }
+
     explicit module bmi {
       requires bmi
       header "bmiintrin.h"