Skip to content

Commit

Permalink
Bump stdarch
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Dec 24, 2024
1 parent 54dcff1 commit 923aba9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
13 changes: 2 additions & 11 deletions library/portable-simd/crates/core_simd/src/vendor/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,6 @@ mod neon {
from_transmute! { unsafe u64x2 => poly64x2_t }
}

#[cfg(any(
all(target_feature = "v5te", not(target_feature = "mclass")),
all(target_feature = "mclass", target_feature = "dsp"),
))]
mod dsp {
use super::*;

from_transmute! { unsafe Simd<u16, 2> => uint16x2_t }
from_transmute! { unsafe Simd<i16, 2> => int16x2_t }
}

#[cfg(any(
all(target_feature = "v6", not(target_feature = "mclass")),
all(target_feature = "mclass", target_feature = "dsp"),
Expand All @@ -68,6 +57,8 @@ mod simd32 {

from_transmute! { unsafe Simd<u8, 4> => uint8x4_t }
from_transmute! { unsafe Simd<i8, 4> => int8x4_t }
from_transmute! { unsafe Simd<u16, 2> => uint16x2_t }
from_transmute! { unsafe Simd<i16, 2> => int16x2_t }
}

#[cfg(all(
Expand Down
2 changes: 1 addition & 1 deletion library/stdarch
Submodule stdarch updated 47 files
+21 −27 .github/workflows/main.yml
+2 −2 CONTRIBUTING.md
+2 −2 ci/docker/powerpc64-unknown-linux-gnu/Dockerfile
+2 −2 ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile
+3 −3 ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile
+3 −3 ci/docker/x86_64-unknown-linux-gnu-emulated/cpuid.def
+25 −36 ci/dox.sh
+0 −34 ci/gba.json
+3 −11 ci/run.sh
+24 −35 crates/core_arch/src/arm/dsp.rs
+19 −8 crates/core_arch/src/arm/simd32.rs
+1 −2 crates/core_arch/src/lib.rs
+136 −19 crates/core_arch/src/riscv_shared/p.rs
+3 −0 crates/core_arch/src/simd.rs
+142 −0 crates/core_arch/src/wasm32/mod.rs
+28 −7 crates/core_arch/src/wasm32/simd128.rs
+13 −17 crates/core_arch/src/x86/avx.rs
+39 −52 crates/core_arch/src/x86/avx2.rs
+13 −23 crates/core_arch/src/x86/avx512bf16.rs
+33 −15 crates/core_arch/src/x86/avx512bitalg.rs
+280 −536 crates/core_arch/src/x86/avx512bw.rs
+12 −24 crates/core_arch/src/x86/avx512cd.rs
+64 −128 crates/core_arch/src/x86/avx512dq.rs
+929 −1,928 crates/core_arch/src/x86/avx512f.rs
+27 −30 crates/core_arch/src/x86/avx512fp16.rs
+9 −18 crates/core_arch/src/x86/avx512vbmi.rs
+48 −132 crates/core_arch/src/x86/avx512vbmi2.rs
+12 −24 crates/core_arch/src/x86/avx512vnni.rs
+31 −15 crates/core_arch/src/x86/avx512vpopcntdq.rs
+2 −2 crates/core_arch/src/x86/avxneconvert.rs
+0 −25 crates/core_arch/src/x86/fxsr.rs
+9 −12 crates/core_arch/src/x86/gfni.rs
+3 −3 crates/core_arch/src/x86/sse.rs
+13 −16 crates/core_arch/src/x86/sse2.rs
+4 −4 crates/core_arch/src/x86/sse41.rs
+5 −5 crates/core_arch/src/x86/ssse3.rs
+0 −17 crates/core_arch/src/x86/xsave.rs
+27 −0 crates/core_arch/src/x86_64/amx.rs
+4 −1 crates/core_arch/src/x86_64/avx512f.rs
+0 −25 crates/core_arch/src/x86_64/fxsr.rs
+0 −17 crates/core_arch/src/x86_64/xsave.rs
+3 −4 crates/std_detect/src/detect/macros.rs
+3 −3 crates/stdarch-test/src/disassembly.rs
+6 −1 crates/stdarch-test/src/lib.rs
+39 −16 crates/stdarch-verify/tests/x86-intel.rs
+8 −22 examples/connect5.rs
+2 −10 examples/hex.rs
2 changes: 2 additions & 0 deletions tests/ui/traits/issue-77982.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(0u32.into())).collect(
= note: multiple `impl`s satisfying `u32: From<_>` found in the `core` crate:
- impl From<Char> for u32;
- impl From<Ipv4Addr> for u32;
- impl From<Simd<u16, 2>> for u32;
- impl From<Simd<u8, 4>> for u32;
- impl From<bool> for u32;
- impl From<char> for u32;
- impl From<u16> for u32;
Expand Down

0 comments on commit 923aba9

Please sign in to comment.