rust/patches/0001-portable-simd-Disable-unsupported-tests.patch

36 lines
1.1 KiB
Diff
Raw Normal View History

2022-09-05 10:37:56 -05:00
From b742f03694b920cc14400727d54424e8e1b60928 Mon Sep 17 00:00:00 2001
2021-07-25 11:45:56 -05:00
From: bjorn3 <bjorn3@users.noreply.github.com>
2021-11-18 12:30:28 -06:00
Date: Thu, 18 Nov 2021 19:28:40 +0100
2021-07-25 11:45:56 -05:00
Subject: [PATCH] Disable unsupported tests
---
2022-09-05 07:01:37 -05:00
crates/core_simd/src/elements/int.rs | 8 ++++++++
crates/core_simd/src/elements/uint.rs | 4 ++++
2022-09-05 10:37:56 -05:00
crates/core_simd/src/masks/full_masks.rs | 6 ++++++
2022-09-05 07:01:37 -05:00
crates/core_simd/src/vector.rs | 2 ++
2022-09-05 10:37:56 -05:00
crates/core_simd/tests/masks.rs | 3 ---
5 files changed, 20 insertions(+), 3 deletions(-)
2021-07-25 11:45:56 -05:00
2021-11-18 12:30:28 -06:00
diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs
2022-09-05 07:01:37 -05:00
index e8e8f68..7173c24 100644
2021-11-18 12:30:28 -06:00
--- a/crates/core_simd/src/vector.rs
+++ b/crates/core_simd/src/vector.rs
2022-09-05 07:01:37 -05:00
@@ -250,6 +250,7 @@ where
unsafe { intrinsics::simd_cast(self) }
2021-11-18 12:30:28 -06:00
}
+ /*
/// Reads from potentially discontiguous indices in `slice` to construct a SIMD vector.
/// If an index is out-of-bounds, the lane is instead selected from the `or` vector.
///
2022-09-05 07:01:37 -05:00
@@ -473,6 +474,7 @@ where
2021-11-18 12:30:28 -06:00
// Cleared ☢️ *mut T Zone
}
}
+ */
}
impl<T, const LANES: usize> Copy for Simd<T, LANES>
2021-07-25 11:45:56 -05:00
--
2022-09-05 07:01:37 -05:00
2.25.1