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.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| internal | Loading commit data... | |
| BUILD.bazel | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| benchmarks.cc | Loading commit data... | |
| bernoulli_distribution.h | Loading commit data... | |
| bernoulli_distribution_test.cc | Loading commit data... | |
| beta_distribution.h | Loading commit data... | |
| beta_distribution_test.cc | Loading commit data... | |
| bit_gen_ref.h | Loading commit data... | |
| bit_gen_ref_test.cc | Loading commit data... | |
| discrete_distribution.cc | Loading commit data... | |
| discrete_distribution.h | Loading commit data... | |
| discrete_distribution_test.cc | Loading commit data... | |
| distributions.h | Loading commit data... | |
| distributions_test.cc | Loading commit data... | |
| examples_test.cc | Loading commit data... | |
| exponential_distribution.h | Loading commit data... | |
| exponential_distribution_test.cc | Loading commit data... | |
| gaussian_distribution.cc | Loading commit data... | |
| gaussian_distribution.h | Loading commit data... | |
| gaussian_distribution_test.cc | Loading commit data... | |
| generators_test.cc | Loading commit data... | |
| log_uniform_int_distribution.h | Loading commit data... | |
| log_uniform_int_distribution_test.cc | Loading commit data... | |
| mock_distributions.h | Loading commit data... | |
| mock_distributions_test.cc | Loading commit data... | |
| mocking_bit_gen.h | Loading commit data... | |
| mocking_bit_gen_test.cc | Loading commit data... | |
| poisson_distribution.h | Loading commit data... | |
| poisson_distribution_test.cc | Loading commit data... | |
| random.h | Loading commit data... | |
| seed_gen_exception.cc | Loading commit data... | |
| seed_gen_exception.h | Loading commit data... | |
| seed_sequences.cc | Loading commit data... | |
| seed_sequences.h | Loading commit data... | |
| seed_sequences_test.cc | Loading commit data... | |
| uniform_int_distribution.h | Loading commit data... | |
| uniform_int_distribution_test.cc | Loading commit data... | |
| uniform_real_distribution.h | Loading commit data... | |
| uniform_real_distribution_test.cc | Loading commit data... | |
| zipf_distribution.h | Loading commit data... | |
| zipf_distribution_test.cc | Loading commit data... |