From 6d04da7e31f55261849c2c349c9973492a2709cd Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 4 Mar 2014 18:26:12 +0000 Subject: [PATCH] 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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202871 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/immintrin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Headers/immintrin.h b/lib/Headers/immintrin.h index 15d6e05f97..df4bea8c95 100644 --- a/lib/Headers/immintrin.h +++ b/lib/Headers/immintrin.h @@ -48,7 +48,7 @@ #include #endif -#if defined (__AES__) +#if defined (__AES__) || defined (__PCLMUL__) #include #endif -- 2.40.0