about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-12-04 08:37:23 +0100
committerRalf Jung <post@ralfj.de>2024-12-04 08:39:19 +0100
commitf4217f42967621c53dbeb1ecdd698c1d17e97b7a (patch)
treeb92a8ed8ba18caf4040ea4564844cb4ed8b331ff
parent3b382642aba7cffbb2f47829b24635fad87bcf5c (diff)
downloadrust-f4217f42967621c53dbeb1ecdd698c1d17e97b7a.tar.gz
rust-f4217f42967621c53dbeb1ecdd698c1d17e97b7a.zip
clarify simd_relaxed_fma non-determinism
-rw-r--r--library/core/src/intrinsics/simd.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/src/intrinsics/simd.rs b/library/core/src/intrinsics/simd.rs
index 0d24b0558c5..f80a60d471c 100644
--- a/library/core/src/intrinsics/simd.rs
+++ b/library/core/src/intrinsics/simd.rs
@@ -619,7 +619,8 @@ extern "rust-intrinsic" {
     /// set has support for a fused operation, and that the fused operation is more efficient
     /// than the equivalent, separate pair of mul and add instructions. It is unspecified
     /// whether or not a fused operation is selected, and that may depend on optimization
-    /// level and context, for example.
+    /// level and context, for example. It may even be the case that some SIMD lanes get fused
+    /// and others do not.
     ///
     /// `T` must be a vector of floats.
     #[cfg(not(bootstrap))]