rust/library/stdarch
gnzlbg 800b43ec59 [assert-instr] compare only the instruction prefix
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.
2017-09-21 09:34:06 +02:00
..
.vscode Added _mm_unpackhi_ps function (#16) 2017-09-20 06:50:06 -04:00
assert-instr [assert-instr] compare only the instruction prefix 2017-09-21 09:34:06 +02:00
examples add scratch 2017-09-17 18:09:04 -04:00
src [bmi] add some more code-gen tests 2017-09-21 09:07:52 +02:00
.appveyor.yml Add assertions correct instructions are generated 2017-09-20 09:57:43 -07:00
.gitignore progress 2016-12-02 21:46:58 -05:00
.travis.yml Add assertions correct instructions are generated 2017-09-20 09:57:43 -07:00
Cargo.toml Add assertions correct instructions are generated 2017-09-20 09:57:43 -07:00
CONTRIBUTING.md Migrate existing tests to #[assert_instr] 2017-09-20 10:29:39 -07:00
QUESTIONS.md refactor 2017-06-19 17:06:53 -04:00
README.md initial commit 2016-11-24 20:47:25 -05:00
TODO.md Added _mm_unpackhi_ps function (#16) 2017-09-20 06:50:06 -04:00

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.