diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2014-03-04 18:26:12 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2014-03-04 18:26:12 +0000 |
commit | b8322b13f84e2291ce0d5ebe1fbaf9a2af3ac477 (patch) | |
tree | 4a157c3a2a8659012d5846a123bc9ecd19bf15ad | |
parent | 3a9ac934784d6f82f0960ffadb10ff83fd2ca767 (diff) | |
download | bcm5719-llvm-b8322b13f84e2291ce0d5ebe1fbaf9a2af3ac477.tar.gz bcm5719-llvm-b8322b13f84e2291ce0d5ebe1fbaf9a2af3ac477.zip |
The wmmintrin.h header includes two different sub-headers: one for AES support
and one for PCLMUL support. The current immintrin.h header only includes
wmmintrin.h if AES support is enabled. It should include it if either AES or
PCLMUL is enabled (GCC's version of immintrin.h does this).
Patch by John Baldwin!
llvm-svn: 202871
-rw-r--r-- | clang/lib/Headers/immintrin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Headers/immintrin.h b/clang/lib/Headers/immintrin.h index 15d6e05f979..df4bea8c950 100644 --- a/clang/lib/Headers/immintrin.h +++ b/clang/lib/Headers/immintrin.h @@ -48,7 +48,7 @@ #include <smmintrin.h> #endif -#if defined (__AES__) +#if defined (__AES__) || defined (__PCLMUL__) #include <wmmintrin.h> #endif |