Undefined Behavior: Changing MXCSR
to _MM_ROUND_TOWARD_ZERO
on x86 and x86_64.
#776
Labels
MXCSR
to _MM_ROUND_TOWARD_ZERO
on x86 and x86_64.
#776
In Rust, modifying the rounding mode in
x86
andx86_64
by modifying theMXCSR
register (through_mm_setcsr
or inline assembly) is considered immediate undefined behavior.See here for more info.
The text was updated successfully, but these errors were encountered: