parent
333784b5ef
commit
fe06593c6f
7 changed files with 7 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
/// Checks if `aarch64` feature is enabled.
|
||||
#[macro_export]
|
||||
#[unstable(feature = "stdsimd", issue = "27731")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_aarch64_feature_detected {
|
||||
("neon") => {
|
||||
// FIXME: this should be removed once we rename Aarch64 neon to asimd
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/// Checks if `arm` feature is enabled.
|
||||
#[macro_export]
|
||||
#[unstable(feature = "stdsimd", issue = "27731")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_arm_feature_detected {
|
||||
("neon") => {
|
||||
cfg!(target_feature = "neon") ||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/// Checks if `mips` feature is enabled.
|
||||
#[macro_export]
|
||||
#[unstable(feature = "stdsimd", issue = "27731")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_mips_feature_detected {
|
||||
("msa") => {
|
||||
cfg!(target_feature = "msa") ||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/// Checks if `mips64` feature is enabled.
|
||||
#[macro_export]
|
||||
#[unstable(feature = "stdsimd", issue = "27731")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_mips64_feature_detected {
|
||||
("msa") => {
|
||||
cfg!(target_feature = "msa") ||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/// Checks if `powerpc` feature is enabled.
|
||||
#[macro_export]
|
||||
#[unstable(feature = "stdsimd", issue = "27731")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_powerpc_feature_detected {
|
||||
("altivec") => {
|
||||
cfg!(target_feature = "altivec") ||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/// Checks if `powerpc64` feature is enabled.
|
||||
#[macro_export]
|
||||
#[unstable(feature = "stdsimd", issue = "27731")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_powerpc64_feature_detected {
|
||||
("altivec") => {
|
||||
cfg!(target_feature = "altivec") ||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
/// [docs]: https://software.intel.com/sites/landingpage/IntrinsicsGuide
|
||||
#[macro_export]
|
||||
#[stable(feature = "simd_x86", since = "1.27.0")]
|
||||
#[allow_internal_unstable]
|
||||
#[allow_internal_unstable(stdsimd_internal)]
|
||||
macro_rules! is_x86_feature_detected {
|
||||
("aes") => {
|
||||
cfg!(target_feature = "aes") || $crate::detect::check_for(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue