about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-02-23 14:30:25 -0500
committerGitHub <noreply@github.com>2025-02-23 14:30:25 -0500
commit38b3269de41b78b9f78852a8a72334bebf64e9b7 (patch)
tree0545fa8395c99618f0e22ce856136f922d274ced /compiler/rustc_codegen_gcc/example/std_example.rs
parent35a43a4833c032c975b97beccf266facf4583a63 (diff)
parentf1010442cc650aba832a11b95a2b1a75f23cdf0e (diff)
downloadrust-38b3269de41b78b9f78852a8a72334bebf64e9b7.tar.gz
rust-38b3269de41b78b9f78852a8a72334bebf64e9b7.zip
Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35
intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic

LLVM has three intrinsics here that all do the same thing (when used in the default FP environment). There's no reason Rust needs to copy that historically-grown mess -- let's just have one intrinsic and leave it up to the LLVM backend to decide how to lower that.

Suggested by `@hanna-kruppe` in https://github.com/rust-lang/rust/issues/136459; Cc `@tgross35`

try-job: test-various
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions