Skip to content

Commit a4e97b1

Browse files
authored
Unrolled build for rust-lang#133844
Rollup merge of rust-lang#133844 - RalfJung:simd_relaxed_fma-nondet, r=workingjubilee clarify simd_relaxed_fma non-determinism This is the safer spec in the sense that it is more likely to be satisfied by the backend -- and if people are okay with a non-deterministic result, I assume they don't care whether it's the same choice across all lanes or not? Cc ``@calebzulawski`` ``@workingjubilee``
2 parents 0e98766 + f4217f4 commit a4e97b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/src/intrinsics/simd.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ extern "rust-intrinsic" {
619619
/// set has support for a fused operation, and that the fused operation is more efficient
620620
/// than the equivalent, separate pair of mul and add instructions. It is unspecified
621621
/// whether or not a fused operation is selected, and that may depend on optimization
622-
/// level and context, for example.
622+
/// level and context, for example. It may even be the case that some SIMD lanes get fused
623+
/// and others do not.
623624
///
624625
/// `T` must be a vector of floats.
625626
#[cfg(not(bootstrap))]

0 commit comments

Comments
 (0)