1 | //! Run-time feature detection on PowerPC64. |
2 | |
3 | features! { |
4 | @TARGET: powerpc64; |
5 | @CFG: target_arch = "powerpc64" ; |
6 | @MACRO_NAME: is_powerpc64_feature_detected; |
7 | @MACRO_ATTRS: |
8 | /// Checks if `powerpc` feature is enabled. |
9 | #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] |
10 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] altivec: "altivec" ; |
11 | /// Altivec |
12 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] vsx: "vsx" ; |
13 | /// VSX |
14 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power8: "power8" ; |
15 | /// Power8 |
16 | } |
17 | |