This is consistent with ICC and Intel's SHA-enabled GCC version.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191002
91177308-0d34-0410-b5e6-
96231b3b80d8
}
#endif
+#ifdef __SHA__
+#include <shaintrin.h>
+#endif
+
#endif /* __IMMINTRIN_H */
*/
#ifndef __X86INTRIN_H
-#error "Never use <shaintrin.h> directly; include <x86intrin.h> instead."
+#error "Never use <shaintrin.h> directly; include <immintrin.h> instead."
#endif
#ifndef __SHAINTRIN_H
#include <f16cintrin.h>
#endif
- #ifdef __SHA__
- #include <shaintrin.h>
- #endif
-
// FIXME: LWP
#endif /* __X86INTRIN_H */