From 81b599a3a383da12cbd685619bb7c402d6f8ccae Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 8 Aug 2023 19:57:23 +0200 Subject: [PATCH] fix typo Co-authored-by: Jacob Lifshay --- crates/core_arch/src/x86/sse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core_arch/src/x86/sse.rs b/crates/core_arch/src/x86/sse.rs index 980a9cbb74..19652509fb 100644 --- a/crates/core_arch/src/x86/sse.rs +++ b/crates/core_arch/src/x86/sse.rs @@ -1410,7 +1410,7 @@ pub unsafe fn _mm_getcsr() -> u32 { /// * The *denormals-are-zero mode flag* turns all numbers which would be /// denormalized (exponent bits are all zeros) into zeros. /// -/// Note that modfying the masking flags, rounding mode, or denormals-are-zero mode flags leads to +/// Note that modifying the masking flags, rounding mode, or denormals-are-zero mode flags leads to /// **immediate Undefined Behavior**: Rust assumes that these are always in their default state and /// will optimize accordingly. This even applies when the register is altered and later reset to its /// original value without any floating-point operations appearing in the source code between those