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 | without cfg check: true; |
16 | /// Power8 |
17 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power8_altivec: "power8-altivec" ; |
18 | /// Power8 altivec |
19 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power8_vector: "power8-vector" ; |
20 | /// Power8 vector |
21 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power8_crypto: "power8-crypto" ; |
22 | /// Power8 crypto |
23 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power9: "power9" ; |
24 | without cfg check: true; |
25 | /// Power9 |
26 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power9_altivec: "power9-altivec" ; |
27 | /// Power9 altivec |
28 | @FEATURE: #[unstable (feature = "stdarch_powerpc_feature_detection" , issue = "111191" )] power9_vector: "power9-vector" ; |
29 | /// Power9 vector |
30 | } |
31 | |