Skip to content

Commit

Permalink
Auto merge of rust-lang#134333 - daxpedda:stdarch-bump, r=Amanieu
Browse files Browse the repository at this point in the history
Bump `stdarch`

This bumps `stdarch` to rust-lang/stdarch@684de0d to get in rust-lang/stdarch#1677 (tracked in rust-lang#133908).

From the [commit history](rust-lang/stdarch@e5e00aa...684de0d) I deduced that there shouldn't be any changes to Rust necessary.

From past PRs I'm assuming that bumping `stdarch` like this is fine, but please let me know if this is somehow inappropriate or requires something more to be done!

try-job: arm-android
  • Loading branch information
bors committed Dec 24, 2024
2 parents 32c8a9f + 0dc0ab0 commit 70003c5
Show file tree
Hide file tree
Showing 2 changed files with 3 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

0 comments on commit 70003c5

Please sign in to comment.