rust/library/stdarch
Alex Crichton 24f08cd458 Enhance #[assert_instr] with constant arguments
Some intrinsics need to be invoked with constant arguments to get the right
instruction to get generated, so this commit enhances the `assert_instr` macro
to enable this ability. Namely you pass constant arguments like:

    #[assert_instr(foo, a = b)]

where this will assert that the intrinsic, when invoked with argument `a` equal
to the value `b` and all other arguments passed from the outside, will generate
the instruction `foo`.

Closes #49
2017-09-27 10:32:13 -05:00
..
ci Add aarch64 docs 2017-09-25 13:38:12 -07:00
examples x86: add unsafe to all x86 vendor intrinsics 2017-09-27 11:04:23 -04:00
src Enhance #[assert_instr] with constant arguments 2017-09-27 10:32:13 -05:00
stdsimd-test Enhance #[assert_instr] with constant arguments 2017-09-27 10:32:13 -05:00
tests Add a test for x86 runtime support 2017-09-26 14:58:41 -07:00
.appveyor.yml ci: limit CI to master 2017-09-27 11:04:23 -04:00
.gitignore progress 2016-12-02 21:46:58 -05:00
.travis.yml ci: limit CI to master 2017-09-27 11:04:23 -04:00
Cargo.toml Add a test for x86 runtime support 2017-09-26 14:58:41 -07:00
CONTRIBUTING.md Update CONTRIBUTING 2017-09-25 13:44:20 -07:00
LICENSE-APACHE Add license files 2017-09-25 12:43:06 -07:00
LICENSE-MIT Add license files 2017-09-25 12:43:06 -07:00
QUESTIONS.md refactor 2017-06-19 17:06:53 -04:00
README.md Fix link in README 2017-09-25 13:45:00 -07:00

stdsimd

Experimental support for SIMD destined to eventually become part of Rust's standard library

Build Status Build status

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.

License

stdsimd is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.