From 3c030e2425bb1fdb165ac87797076072ec991970 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Fri, 25 Mar 2022 20:24:47 +0100 Subject: Fix NaN handling of simd float min and max operations --- scripts/test_rustc_tests.sh | 1 - scripts/tests.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh index 5f47e7204ea..3d6bd887459 100755 --- a/scripts/test_rustc_tests.sh +++ b/scripts/test_rustc_tests.sh @@ -79,7 +79,6 @@ rm src/test/ui/abi/stack-protector.rs # requires stack protector support # giving different but possibly correct results # ============================================= -rm src/test/ui/simd/intrinsic/float-minmax-pass.rs # same rm src/test/ui/mir/mir_misc_casts.rs # depends on deduplication of constants rm src/test/ui/mir/mir_raw_fat_ptr.rs # same rm src/test/ui/consts/issue-33537.rs # same diff --git a/scripts/tests.sh b/scripts/tests.sh index fee1012c8f1..aae626081f6 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -72,6 +72,10 @@ function base_sysroot_tests() { $MY_RUSTC example/track-caller-attribute.rs --crate-type bin -Cpanic=abort --target "$TARGET_TRIPLE" $RUN_WRAPPER ./target/out/track-caller-attribute + echo "[AOT] float-minmax-pass" + $MY_RUSTC example/float-minmax-pass.rs --crate-type bin -Cpanic=abort --target "$TARGET_TRIPLE" + $RUN_WRAPPER ./target/out/float-minmax-pass + echo "[AOT] mod_bench" $MY_RUSTC example/mod_bench.rs --crate-type bin --target "$TARGET_TRIPLE" $RUN_WRAPPER ./target/out/mod_bench -- cgit 1.4.1-3-g733a5