Skip to content

Commit 923aba9

Browse files
committed
Bump stdarch
1 parent 54dcff1 commit 923aba9

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

library/portable-simd/crates/core_simd/src/vendor/arm.rs

+2-11
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,6 @@ mod neon {
4848
from_transmute! { unsafe u64x2 => poly64x2_t }
4949
}
5050

51-
#[cfg(any(
52-
all(target_feature = "v5te", not(target_feature = "mclass")),
53-
all(target_feature = "mclass", target_feature = "dsp"),
54-
))]
55-
mod dsp {
56-
use super::*;
57-
58-
from_transmute! { unsafe Simd<u16, 2> => uint16x2_t }
59-
from_transmute! { unsafe Simd<i16, 2> => int16x2_t }
60-
}
61-
6251
#[cfg(any(
6352
all(target_feature = "v6", not(target_feature = "mclass")),
6453
all(target_feature = "mclass", target_feature = "dsp"),
@@ -68,6 +57,8 @@ mod simd32 {
6857

6958
from_transmute! { unsafe Simd<u8, 4> => uint8x4_t }
7059
from_transmute! { unsafe Simd<i8, 4> => int8x4_t }
60+
from_transmute! { unsafe Simd<u16, 2> => uint16x2_t }
61+
from_transmute! { unsafe Simd<i16, 2> => int16x2_t }
7162
}
7263

7364
#[cfg(all(

library/stdarch

Submodule stdarch updated 47 files

tests/ui/traits/issue-77982.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(0u32.into())).collect(
4646
= note: multiple `impl`s satisfying `u32: From<_>` found in the `core` crate:
4747
- impl From<Char> for u32;
4848
- impl From<Ipv4Addr> for u32;
49+
- impl From<Simd<u16, 2>> for u32;
50+
- impl From<Simd<u8, 4>> for u32;
4951
- impl From<bool> for u32;
5052
- impl From<char> for u32;
5153
- impl From<u16> for u32;

0 commit comments

Comments
 (0)