Remove old ARM intrinsic generator
This commit is contained in:
parent
57b6779050
commit
28cb01cd6a
6 changed files with 4 additions and 11424 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
[package]
|
||||
name = "stdarch-gen-arm"
|
||||
version = "0.1.0"
|
||||
authors = ["Heinz Gies <heinz@licenser.net>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
# Neon intrinsic code generator
|
||||
|
||||
A small tool that allows to quickly generate intrinsics for the NEON architecture.
|
||||
|
||||
The specification for the intrinsics can be found in `neon.spec`.
|
||||
|
||||
To run and re-generate the code run the following from the root of the `stdarch` crate.
|
||||
|
||||
```
|
||||
OUT_DIR=`pwd`/crates/core_arch cargo run -p stdarch-gen-arm -- crates/stdarch-gen-arm/neon.spec
|
||||
```
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue