mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 09:39:32 +00:00
When comparing the assembly instructions against the expected instruction, depending on the platform, we might end up with `tzcntl != tzcnt`. This commit truncates the instructions to the length of the expected instruction, such that `tzcntl => tzcnt` and the comparison succeeds.
stdsimd
Experiments for adding SIMD support to Rust's standard library.
This is a work in progress.
Approach
The main goal is to expose APIs defined by vendors with the least amount of
abstraction possible. On x86, for example, the API should correspond to that
provided by emmintrin.h.