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 | 648f5e4208e1e88b9048170f05095e483bb9b2d7 (patch) | |
| tree | 2375cf1e6dcd52cdf8619c0ae0a6fbbe2700e2bf | |
| parent | 46f74fb4d28d90dd7e1fa0b52e84ba9a9d8a4d0d (diff) | |
| download | rust-648f5e4208e1e88b9048170f05095e483bb9b2d7.tar.gz rust-648f5e4208e1e88b9048170f05095e483bb9b2d7.zip | |
support for mips64r6 as a target_arch value
| -rw-r--r-- | example/float-minmax-pass.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/float-minmax-pass.rs b/example/float-minmax-pass.rs index b8f901d1ba1..80a2776ca1e 100644 --- a/example/float-minmax-pass.rs +++ b/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); |
