diff options
author | Brendan Dahl <brendan.dahl@gmail.com> | 2024-08-26 13:51:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 13:51:18 -0700 |
commit | b7af8dac2fe457d47d6b29cabb8327457341bffe (patch) | |
tree | 7c6dedffbc30eb1d8202b68dcebb8fce1acf1d45 /third_party | |
parent | dacc6e57048dc9af133c98ea3c843f8b912c9980 (diff) | |
download | binaryen-b7af8dac2fe457d47d6b29cabb8327457341bffe.tar.gz binaryen-b7af8dac2fe457d47d6b29cabb8327457341bffe.tar.bz2 binaryen-b7af8dac2fe457d47d6b29cabb8327457341bffe.zip |
Fix the fp16 header include. (#6871)
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/FP16/include/fp16/bitcasts.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/third_party/FP16/include/fp16/bitcasts.h b/third_party/FP16/include/fp16/bitcasts.h index ae6884325..9353961e3 100644 --- a/third_party/FP16/include/fp16/bitcasts.h +++ b/third_party/FP16/include/fp16/bitcasts.h @@ -8,11 +8,7 @@ #include <stdint.h> #endif -#if defined(__INTEL_COMPILER) || defined(_MSC_VER) && (_MSC_VER >= 1932) && (defined(_M_IX86) || defined(_M_X64)) - #include <immintrin.h> -#endif - -#if defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || defined(_M_ARM64)) +#if (defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || defined(_M_ARM64))) || defined(__INTEL_COMPILER) || (defined(_MSC_VER) && (_MSC_VER >= 1932) && (defined(_M_IX86) || defined(_M_X64))) #include <intrin.h> #endif |