summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorGravatar Stan Hu <stanhu@gmail.com>2021-09-13 17:05:29 -0700
committerGravatar GitHub <noreply@github.com>2021-09-13 20:05:29 -0400
commit669184b4f33421037dae51f87a15794198566295 (patch)
tree5ced7752a53f9946b7b20c74d06d5a6bed4ce6a9 /CMake
parentcfbf5bf948a2656bda7ddab59d3bcb29595c144c (diff)
Include immintrin.h instead of wmmintrin.h (#1015)
immintrin.h is the de-factor standard header for clang and GCC to include Intel intrinsics. Using this header avoids requiring the compiler to use the `-maes` and `-msse4.1` compiler options on systems that may not have AES or SSE instruction support. clang: As seen in https://github.com/llvm-mirror/clang/blob/master/lib/Headers/immintrin.h, specific intrinsic header files are conditionally included depending on whether the feature is available. gcc: As seen in https://github.com/gcc-mirror/gcc/blob/master/gcc/config/i386/immintrin.h, gcc includes all intrinsic header files, but each individual file guards against the feature not being available. This came out of an investigation in https://github.com/grpc/grpc/pull/27121.
Diffstat (limited to 'CMake')
0 files changed, 0 insertions, 0 deletions