We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3bd5cd commit 35f370cCopy full SHA for 35f370c
core/src/intrinsics/simd.rs
@@ -612,6 +612,16 @@ extern "rust-intrinsic" {
612
#[rustc_nounwind]
613
pub fn simd_fma<T>(x: T, y: T, z: T) -> T;
614
615
+ /// Computes `(x*y) + z` for each element, with unspecified rounding.
616
+ ///
617
+ /// This may be equivalent to `simd_fma`, or it may relax to rounding each
618
+ /// operation if that's more efficient.
619
620
+ /// `T` must be a vector of floats.
621
+ #[cfg(not(bootstrap))]
622
+ #[rustc_nounwind]
623
+ pub fn simd_relaxed_fma<T>(x: T, y: T, z: T) -> T;
624
+
625
// Computes the sine of each element.
626
///
627
/// `T` must be a vector of floats.
0 commit comments