about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-04-09 07:23:14 +0200
committerRalf Jung <post@ralfj.de>2024-04-09 07:35:15 +0200
commit55339322beaef8a56ede2b9130e5479cf3e526f3 (patch)
tree657e91ea419ca99991c0f05f78c73882718cf8ad
parent48d411b2cc2e058eb0ed7d42e9e45f7064fe184f (diff)
downloadrust-55339322beaef8a56ede2b9130e5479cf3e526f3.tar.gz
rust-55339322beaef8a56ede2b9130e5479cf3e526f3.zip
do not run the 4-lane tests in Miri
-rw-r--r--crates/test_helpers/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/test_helpers/src/lib.rs b/crates/test_helpers/src/lib.rs
index 51b860a8635..c55099434c8 100644
--- a/crates/test_helpers/src/lib.rs
+++ b/crates/test_helpers/src/lib.rs
@@ -539,12 +539,12 @@ macro_rules! test_lanes {
                     #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)];
                     lanes_1 1;
                     lanes_2 2;
-                    lanes_4 4;
                 );
 
                 #[cfg(not(miri))] // Miri intrinsic implementations are uniform and larger tests are sloooow
                 $crate::test_lanes_helper!(
                     #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)];
+                    lanes_4 4;
                     lanes_8 8;
                     lanes_16 16;
                     lanes_32 32;
@@ -553,17 +553,17 @@ macro_rules! test_lanes {
 
                 #[cfg(feature = "all_lane_counts")]
                 $crate::test_lanes_helper!(
-                    // test some odd and even non-power-of-2 lengths on miri
+                    // test one non-power-of-2 length on miri
                     #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)];
                     lanes_3 3;
-                    lanes_5 5;
-                    lanes_6 6;
                 );
 
                 #[cfg(feature = "all_lane_counts")]
                 #[cfg(not(miri))] // Miri intrinsic implementations are uniform and larger tests are sloooow
                 $crate::test_lanes_helper!(
                     #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)];
+                    lanes_5 5;
+                    lanes_6 6;
                     lanes_7 7;
                     lanes_9 9;
                     lanes_10 10;