Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add vec_add for s390x #1703

Merged
merged 3 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ci/docker/s390x-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
gcc-s390x-linux-gnu libc6-dev-s390x-cross \
qemu-user \
make \
clang \
file

ENV CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc \
CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER="qemu-s390x -L /usr/s390x-linux-gnu" \
OBJDUMP=s390x-linux-gnu-objdump
OBJDUMP=s390x-linux-gnu-objdump
2 changes: 2 additions & 0 deletions crates/core_arch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
avx512_target_feature,
mips_target_feature,
powerpc_target_feature,
s390x_target_feature,
loongarch_target_feature,
wasm_target_feature,
abi_unadjusted,
Expand Down Expand Up @@ -69,6 +70,7 @@
feature(
stdarch_arm_feature_detection,
stdarch_powerpc_feature_detection,
stdarch_s390x_feature_detection,
stdarch_loongarch_feature_detection
)
)]
Expand Down
14 changes: 14 additions & 0 deletions crates/core_arch/src/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,16 @@ pub mod arch {
pub mod loongarch64 {
pub use crate::core_arch::loongarch64::*;
}

/// Platform-specific intrinsics for the `s390x` platform.
///
/// See the [module documentation](../index.html) for more details.
#[cfg(any(target_arch = "s390x", doc))]
#[doc(cfg(target_arch = "s390x"))]
#[unstable(feature = "stdarch_s390x", issue = "135681")]
pub mod s390x {
pub use crate::core_arch::s390x::*;
}
}

#[cfg(any(target_arch = "x86", target_arch = "x86_64", doc))]
Expand Down Expand Up @@ -325,3 +335,7 @@ mod nvptx;
#[cfg(any(target_arch = "loongarch64", doc))]
#[doc(cfg(target_arch = "loongarch64"))]
mod loongarch64;

#[cfg(any(target_arch = "s390x", doc))]
#[doc(cfg(target_arch = "s390x"))]
mod s390x;
Loading
Loading