From: bors Date: Mon, 7 Mar 2016 04:25:27 +0000 (+0000) Subject: Auto merge of #32066 - ruud-v-a:fma, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6d262db4482e13ec05eb113e57e26d249698b4cf;hp=-c;p=rust.git 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. --- 6d262db4482e13ec05eb113e57e26d249698b4cf