about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-03-25 20:24:47 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-03-25 20:25:11 +0100
commit3c030e2425bb1fdb165ac87797076072ec991970 (patch)
tree886f139db21d2f436586812bf834f2d72b4a7185 /scripts
parentf3d97cce279fd2372aafec3761791b4110d70bf5 (diff)
downloadrust-3c030e2425bb1fdb165ac87797076072ec991970.tar.gz
rust-3c030e2425bb1fdb165ac87797076072ec991970.zip
Fix NaN handling of simd float min and max operations
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_rustc_tests.sh1
-rwxr-xr-xscripts/tests.sh4
2 files changed, 4 insertions, 1 deletions
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