Skip to content

Commit ac6741a

Browse files
author
Jay Krell
committed
immintrin.h looks portable to gcc/clang
1 parent 9db1af9 commit ac6741a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Common/Common/NumberUtilities.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// Attempt to pun int/float without address-taking.
1111
// This helps compilers.
1212

13-
#if defined(_AMD64_) || _M_IX86_FP >= 2 || defined(__AVX__) || defined(_MSC_VER)
14-
#include <intrin.h>
13+
#if defined(_AMD64_) || _M_IX86_FP >= 2 || defined(__AVX__)
14+
#include <immintrin.h>
1515
#endif
1616

1717
#if !defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)

0 commit comments

Comments
 (0)