rust/library/stdarch
Alex Crichton 56af498e9e
Rename is_target_feature_detected! (#346)
This commit renames the `is_target_feature_detected!` macro to have different
names depending on the platform. For example:

* `is_x86_feature_detected!`
* `is_arm_feature_detected!`
* `is_aarch64_feature_detected!`
* `is_powerpc64_feature_detected!`

Each macro already has a platform-specific albeit similar interface. Currently,
though, each macro takes a different set of strings so the hope is that like
with the name of the architecture in the module we can signal the dangers of
using the macro in a platform-agnostic context.

One liberty taken with the macro currently though is to on both the x86 and
x86_64 architectures name the macro `is_x86_feature_detected` rather than also
having an `is_x86_64_feature_detected`. This mirrors, however, how all the
intrinsics are named the same on x86/x86_64.
2018-03-07 09:46:16 -06:00
..
ci adds AArch64's {s,u,f}{min,max}{v,p} and ARM's {vmov}{n,l} (#345) 2018-03-07 09:31:14 -06:00
coresimd Rename is_target_feature_detected! (#346) 2018-03-07 09:46:16 -06:00
crates Rename is_target_feature_detected! (#346) 2018-03-07 09:46:16 -06:00
examples Rename is_target_feature_detected! (#346) 2018-03-07 09:46:16 -06:00
stdsimd Rename is_target_feature_detected! (#346) 2018-03-07 09:46:16 -06:00
.appveyor.yml Attempt to fix CI (#108) 2017-10-11 11:28:02 -04:00
.gitignore Use workspaces and fix tests 2017-11-22 13:42:58 +01:00
.travis.yml Reorganize and refactor source tree (#324) 2018-02-18 10:07:35 +09:00
Cargo.toml Reorganize and refactor source tree (#324) 2018-02-18 10:07:35 +09:00
CONTRIBUTING.md Update CONTRIBUTING.md with recent changes 2018-01-29 07:17:14 -08: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 Update doc generation with recent devlopments 2018-01-28 22:00:13 -08:00
rustfmt.toml [fmt] remove fn_call_width option (was removed upstream) 2017-12-22 00:24:23 +01:00

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.