Update `target_feature` syntax (#283) (#299)

(Backport onto 0.0.4)

This commit updates to the latest nightly's syntax where `#[target_feature =
"+foo"]` is now deprecated in favor of `#[target_feature(enable = "foo")]`.
Additionally `#[target_feature]` can only be applied to `unsafe` functions for
now.

Along the way this removes a few exampels that were just left around and also
disables the `fxsr` modules as that target feature will need to land in upstream
rust-lang/rust first as it's currently unknown to the compiler.
39 files changed
tree: 41d6904868ca94b68e77dcc4d20f8e40e1d8e40e
  1. ci/
  2. coresimd/
  3. examples/
  4. src/
  5. stdsimd-test/
  6. stdsimd-verify/
  7. tests/
  8. .appveyor.yml
  9. .gitignore
  10. .travis.yml
  11. Cargo.toml
  12. CONTRIBUTING.md
  13. LICENSE-APACHE
  14. LICENSE-MIT
  15. QUESTIONS.md
  16. README.md
  17. rustfmt.toml
README.md

stdsimd

Travis-CI Status Appveyor Status Latest Version docs

Experimental support for SIMD destined to eventually become part of 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.

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.