about summary refs log tree commit diff
path: root/src/libstd/ascii.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-03-07 04:25:27 +0000
committerbors <bors@rust-lang.org>2016-03-07 04:25:27 +0000
commit6d262db4482e13ec05eb113e57e26d249698b4cf (patch)
tree6a93f96508825ad54693a01250ec607c6f3e20e6 /src/libstd/ascii.rs
parent6eb81a1f3bc27f2160048c09e3936486b4c9ef59 (diff)
parenta409076df4ac1e80d0e8b4ed55608cbd354129ef (diff)
downloadrust-6d262db4482e13ec05eb113e57e26d249698b4cf.tar.gz
rust-6d262db4482e13ec05eb113e57e26d249698b4cf.zip
Auto merge of #32066 - ruud-v-a:fma, r=alexcrichton
This adds support for fused multiply-add and multiply-subtract vector intrinsics for 128 and 256-bit vectors of `f32` and `f64`. These correspond to the intrinsics [listed here](https://software.intel.com/en-us/node/523929) except for the `_ss` and `_sd` variants. The intrinsics added are:

 * `fmadd`
 * `fmaddsub`
 * `fmsub`
 * `fmsubadd`
 * `fnmadd`
 * `fnmsub`

The “fma” target feature must be enabled by passing `-C target-feature=+fma` to rustc when using these, otherwise LLVM will complain.

I verified locally that the `x86_mm256_fmadd_ps` and `x86_mm256_fmsub_ps` work.
Diffstat (limited to 'src/libstd/ascii.rs')
0 files changed, 0 insertions, 0 deletions