| 1 | //! Run-time feature detection on MIPS64. |
| 2 | |
| 3 | features! { |
| 4 | @TARGET: mips64; |
| 5 | @CFG: target_arch = "mips64" ; |
| 6 | @MACRO_NAME: is_mips64_feature_detected; |
| 7 | @MACRO_ATTRS: |
| 8 | /// Check for the presence of a CPU feature at runtime. |
| 9 | /// |
| 10 | /// When the feature is known to be enabled at compile time (e.g. via `-Ctarget-feature`) |
| 11 | /// the macro expands to `true`. |
| 12 | #[unstable (feature = "stdarch_mips_feature_detection" , issue = "111188" )] |
| 13 | @FEATURE: #[unstable (feature = "stdarch_mips_feature_detection" , issue = "111188" )] msa: "msa" ; |
| 14 | /// MIPS SIMD Architecture (MSA) |
| 15 | } |
| 16 | |