Comprehensive list of desired `cfg_target_feature`s


The current cfg_target_feature list is far from comprehensive and includes only the SIMD intruction sets.

In the process of stabilizing the SIMD ground-work RFC we should compile a comprehensive list of desired target features

The current list of implemented target features is:

  • sse, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2, neon, vfp

The ones I am interested in but are not there are the bit manipulation instruction sets:

  • amb, tbm, bmi1, bmi2

If there is a target feature you care about please help! (e.g. some aes intrinsics might be important for cryptography).


I think we want all x86 CPUID feature bits.


Probably, even if llvm doesn’t offer intrinsics for all of them one can then still write asm by hand.