diff options
| author | chenx97 <chenx97@aosc.io> | 2023-06-02 11:18:26 +0800 |
|---|---|---|
| committer | chenx97 <chenx97@aosc.io> | 2023-07-18 18:58:18 +0800 |
| commit | c6e03cd9516cccb95257e224af49d704cf493e04 (patch) | |
| tree | a5c9d2f2348b68741442b4cd478a206b0029811e /compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs | |
| parent | c44324a4fe8e96f9d6473255df6c3a481caca76f (diff) | |
| download | rust-c6e03cd9516cccb95257e224af49d704cf493e04.tar.gz rust-c6e03cd9516cccb95257e224af49d704cf493e04.zip | |
support for mips64r6 as a target_arch value
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs b/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs index b8f901d1ba1..80a2776ca1e 100644 --- a/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs +++ b/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs @@ -22,7 +22,7 @@ fn main() { #[cfg(not(any(target_arch = "mips", target_arch = "mips64")))] let nan = f32::NAN; - // MIPS hardware treats f32::NAN as SNAN. Clear the signaling bit. + // MIPS hardware except MIPS R6 treats f32::NAN as SNAN. Clear the signaling bit. // See https://github.com/rust-lang/rust/issues/52746. #[cfg(any(target_arch = "mips", target_arch = "mips64"))] let nan = f32::from_bits(f32::NAN.to_bits() - 1); |
