summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Demikhovsky <elena.demikhovsky@intel.com>2014-07-22 12:08:25 +0000
committerElena Demikhovsky <elena.demikhovsky@intel.com>2014-07-22 12:08:25 +0000
commitbd1a49bf8104776867dd63064c13c74cb4ef33fe (patch)
tree541d54ffac173f7caf863f383b15ac6c9795bccc
parent71f5b50f8b31362ed5bebf5de680c5f3ddf77549 (diff)
downloadbcm5719-llvm-bd1a49bf8104776867dd63064c13c74cb4ef33fe.tar.gz
bcm5719-llvm-bd1a49bf8104776867dd63064c13c74cb4ef33fe.zip
AVX-512: I added new headers to makefiles. It should resolve tests fail.
If it will not, I'm reverting the both commits. llvm-svn: 213645
-rw-r--r--clang/lib/Headers/CMakeLists.txt2
-rw-r--r--clang/lib/Headers/module.modulemap11
2 files changed, 13 insertions, 0 deletions
diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
index edee7d76425..5b3b49f9ad8 100644
--- a/clang/lib/Headers/CMakeLists.txt
+++ b/clang/lib/Headers/CMakeLists.txt
@@ -4,6 +4,8 @@ set(files
arm_acle.h
avxintrin.h
avx2intrin.h
+ avx512fintrin.h
+ avx512erintrin.h
bmiintrin.h
bmi2intrin.h
emmintrin.h
diff --git a/clang/lib/Headers/module.modulemap b/clang/lib/Headers/module.modulemap
index 9f7944dedbb..64b28892975 100644
--- a/clang/lib/Headers/module.modulemap
+++ b/clang/lib/Headers/module.modulemap
@@ -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"
OpenPOWER on IntegriCloud