1 //! Run-time feature detection on MIPS64.
4 #[unstable(feature = "stdsimd", issue = "27731")]
5 #[allow_internal_unstable]
6 macro_rules
! is_mips64_feature_detected
{
8 cfg
!(target_feature
= "msa") ||
9 $
crate::arch
::detect
::check_for($
crate::arch
::detect
::Feature
::msa
)
11 ($t
:tt
) => { compile_error!(concat!("unknown mips64 target feature: ", $t)) }
;
14 /// MIPS64 CPU Feature enum. Each variant denotes a position in a bitset
15 /// for a particular feature.
17 /// PLEASE: do not use this, it is an implementation detail subject to change.
19 #[allow(non_camel_case_types)]
21 #[unstable(feature = "stdsimd_internal", issue = "0")]
23 /// MIPS SIMD Architecture (MSA)