simd-everywhere / simde

Implementations of SIMD instruction sets for systems which don't natively support them.
https://simd-everywhere.github.io/blog/
MIT License
2.28k stars 237 forks source link

BMI1 functions #1163

Open Torinde opened 4 months ago

Torinde commented 4 months ago

https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#othertechs=BMI1 https://en.wikipedia.org/wiki/X86_Bit_manipulation_instruction_set#BMI1_(Bit_Manipulation_Instruction_Set_1)

implementation status for TZCNT: https://github.com/simd-everywhere/implementation-status/blob/main/x86.md#bmi1

aqrit commented 3 months ago

TZCNT is a nightmare to get the best code-gen on any given platform. The rest of TBM and BMI1 are simple boilerplate.

However, they don't really have anything to do with SIMD... Does SIMDe want to provide coverage for all Intel Intrinsics? There are many others _BitScanForward, _subborrow_u32, etc?