about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-29 17:03:00 +0200
committerGitHub <noreply@github.com>2025-05-29 17:03:00 +0200
commitcb7efc0cbddb185290a346f9ccb01730a4e4fc36 (patch)
treee9bb1d264b8dfd734d3dd8d06f4a9460362059da /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent2b08e4d399330473c56c2cb0017e5ec1afc8dbbe (diff)
parent19fd098446b07f8b7edc823edbadee971c7e6e5e (diff)
downloadrust-cb7efc0cbddb185290a346f9ccb01730a4e4fc36.tar.gz
rust-cb7efc0cbddb185290a346f9ccb01730a4e4fc36.zip
Rollup merge of #141676 - tgross35:f16-disable-total-cmp, r=workingjubilee
float: Disable `total_cmp` sNaN tests for `f16`

There is an LLVM bug with lowering of basic `f16` operations that mean a round trip via `__extendhfsf2` and `__truncsfhf2` may happen for simple `abs` calls or bitcasts [1]. This is problematic because the round trip quiets signaling NaNs. For most operations this is acceptable, but it is causing `total_cmp` tests to fail unless optimizations are enabled.

Disable `total_cmp` tests involving signaling NaNs until this issue is resolved.

Fixes: https://github.com/rust-lang/rustc_codegen_cranelift/issues/1578
Fixes: https://github.com/rust-lang/rust/issues/141503

[1]: https://github.com/llvm/llvm-project/issues/104915
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions