]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_codegen_cranelift/patches/0001-portable-simd-Disable-unsupported-tests.patch
New upstream version 1.68.2+dfsg1
[rustc.git] / compiler / rustc_codegen_cranelift / patches / 0001-portable-simd-Disable-unsupported-tests.patch
CommitLineData
2b03887a 1From b742f03694b920cc14400727d54424e8e1b60928 Mon Sep 17 00:00:00 2001
94222f64 2From: bjorn3 <bjorn3@users.noreply.github.com>
a2a8927a 3Date: Thu, 18 Nov 2021 19:28:40 +0100
94222f64
XL
4Subject: [PATCH] Disable unsupported tests
5
6---
2b03887a
FG
7 crates/core_simd/src/elements/int.rs | 8 ++++++++
8 crates/core_simd/src/elements/uint.rs | 4 ++++
9 crates/core_simd/src/masks/full_masks.rs | 6 ++++++
10 crates/core_simd/src/vector.rs | 2 ++
11 crates/core_simd/tests/masks.rs | 3 ---
12 5 files changed, 20 insertions(+), 3 deletions(-)
94222f64 13
a2a8927a 14diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs
2b03887a 15index e8e8f68..7173c24 100644
a2a8927a
XL
16--- a/crates/core_simd/src/vector.rs
17+++ b/crates/core_simd/src/vector.rs
2b03887a
FG
18@@ -250,6 +250,7 @@ where
19 unsafe { intrinsics::simd_cast(self) }
a2a8927a
XL
20 }
21
22+ /*
23 /// Reads from potentially discontiguous indices in `slice` to construct a SIMD vector.
24 /// If an index is out-of-bounds, the lane is instead selected from the `or` vector.
25 ///
2b03887a 26@@ -473,6 +474,7 @@ where
a2a8927a
XL
27 // Cleared ☢️ *mut T Zone
28 }
29 }
30+ */
31 }
32
33 impl<T, const LANES: usize> Copy for Simd<T, LANES>
94222f64 34--
2b03887a 352.25.1