We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afe0843 commit beb24b3Copy full SHA for beb24b3
src/intrinsic/mod.rs
@@ -84,14 +84,11 @@ fn get_simple_intrinsic<'gcc, 'tcx>(
84
sym::ceilf64 => "ceil",
85
sym::truncf32 => "truncf",
86
sym::truncf64 => "trunc",
87
- sym::rintf32 => "rintf",
88
- sym::rintf64 => "rint",
89
- sym::nearbyintf32 => "nearbyintf",
90
- sym::nearbyintf64 => "nearbyint",
+ // We match the LLVM backend and lower this to `rint`.
+ sym::round_ties_even_f32 => "rintf",
+ sym::round_ties_even_f64 => "rint",
91
sym::roundf32 => "roundf",
92
sym::roundf64 => "round",
93
- sym::roundevenf32 => "roundevenf",
94
- sym::roundevenf64 => "roundeven",
95
sym::abort => "abort",
96
_ => return None,
97
};
0 commit comments