1 | //! Run-time feature detection on s390x. |
2 | |
3 | features! { |
4 | @TARGET: s390x; |
5 | @CFG: target_arch = "s390x" ; |
6 | @MACRO_NAME: is_s390x_feature_detected; |
7 | @MACRO_ATTRS: |
8 | /// Checks if `s390x` feature is enabled. |
9 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
10 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] deflate_conversion: "deflate-conversion" ; |
11 | /// s390x deflate-conversion facility |
12 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
13 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] enhanced_sort: "enhanced-sort" ; |
14 | /// s390x enhanced-sort facility |
15 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
16 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] guarded_storage: "guarded-storage" ; |
17 | /// s390x guarded-storage facility |
18 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
19 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] high_word: "high-word" ; |
20 | /// s390x high-word facility |
21 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
22 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] nnp_assist: "nnp-assist" ; |
23 | /// s390x nnp-assist facility |
24 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
25 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] transactional_execution: "transactional-execution" ; |
26 | /// s390x transactional-execution facility |
27 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
28 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] vector: "vector" ; |
29 | /// s390x vector facility |
30 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
31 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] vector_enhancements_1: "vector-enhancements-1" ; |
32 | /// s390x vector-enhancements-1 facility |
33 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
34 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] vector_enhancements_2: "vector-enhancements-2" ; |
35 | /// s390x vector-enhancements-2 facility |
36 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
37 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] vector_packed_decimal: "vector-packed-decimal" ; |
38 | /// s390x vector-packed-decimal facility |
39 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
40 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] vector_packed_decimal_enhancement: "vector-packed-decimal-enhancement" ; |
41 | /// s390x vector-packed-decimal-enhancement facility |
42 | #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] |
43 | @FEATURE: #[unstable (feature = "stdarch_s390x_feature_detection" , issue = "135413" )] vector_packed_decimal_enhancement_2: "vector-packed-decimal-enhancement-2" ; |
44 | /// s390x vector-packed-decimal-enhancement-2 facility |
45 | } |
46 | |