Skip to content

Commit

Permalink
Remove old ARM intrinsic generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesbarford committed Dec 18, 2024
1 parent d8cdd29 commit 00d6c50
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11,424 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ members = [
"crates/stdarch-verify",
"crates/core_arch",
"crates/std_detect",
"crates/stdarch-gen-arm",
"crates/stdarch-gen-loongarch",
"crates/stdarch-gen2",
"crates/intrinsic-test",
Expand Down
56 changes: 4 additions & 52 deletions crates/core_arch/src/arm_shared/neon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,63 +11,15 @@ use crate::{core_arch::simd::*, hint::unreachable_unchecked, intrinsics::simd::*
#[cfg(test)]
use stdarch_test::assert_instr;

#[cfg_attr(
not(target_arch = "arm"),
stable(feature = "neon_intrinsics", since = "1.59.0")
)]
#[cfg_attr(
target_arch = "arm",
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
)]
pub trait AsUnsigned {
#[cfg_attr(
not(target_arch = "arm"),
stable(feature = "neon_intrinsics", since = "1.59.0")
)]
#[cfg_attr(
target_arch = "arm",
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
)]
#[unstable(feature = "stdarch_internal", issue = "none")]
pub(crate) trait AsUnsigned {
type Unsigned: ?Sized;

#[cfg_attr(
not(target_arch = "arm"),
stable(feature = "neon_intrinsics", since = "1.59.0")
)]
#[cfg_attr(
target_arch = "arm",
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
)]
unsafe fn as_unsigned(self) -> Self::Unsigned;
}

#[cfg_attr(
not(target_arch = "arm"),
stable(feature = "neon_intrinsics", since = "1.59.0")
)]
#[cfg_attr(
target_arch = "arm",
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
)]
pub trait AsSigned {
#[cfg_attr(
not(target_arch = "arm"),
stable(feature = "neon_intrinsics", since = "1.59.0")
)]
#[cfg_attr(
target_arch = "arm",
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
)]
#[unstable(feature = "stdarch_internal", issue = "none")]
pub(crate) trait AsSigned {
type Signed: ?Sized;

#[cfg_attr(
not(target_arch = "arm"),
stable(feature = "neon_intrinsics", since = "1.59.0")
)]
#[cfg_attr(
target_arch = "arm",
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
)]
unsafe fn as_signed(self) -> Self::Signed;
}

Expand Down
9 changes: 0 additions & 9 deletions crates/stdarch-gen-arm/Cargo.toml

This file was deleted.

11 changes: 0 additions & 11 deletions crates/stdarch-gen-arm/README.md

This file was deleted.

Loading

0 comments on commit 00d6c50

Please sign in to comment.