Rollup merge of #128192 - mrkajetanp:feature-detect, r=Amanieu · patricklam/verify-rust-std@6d31b6d (original) (raw)

`@@ -4,6 +4,10 @@

`

4

4

` all(target_arch = "arm", any(target_os = "linux", target_os = "android")),

`

5

5

` feature(stdarch_arm_feature_detection)

`

6

6

`)]

`

``

7

`+

#![cfg_attr(

`

``

8

`+

all(target_arch = "aarch64", any(target_os = "linux", target_os = "android")),

`

``

9

`+

feature(stdarch_aarch64_feature_detection)

`

``

10

`+

)]

`

7

11

`#![cfg_attr(

`

8

12

` all(target_arch = "powerpc", target_os = "linux"),

`

9

13

` feature(stdarch_powerpc_feature_detection)

`

`@@ -36,42 +40,72 @@ fn aarch64_linux() {

`

36

40

`println!("bf16: {}", is_aarch64_feature_detected!("bf16"));

`

37

41

`println!("bti: {}", is_aarch64_feature_detected!("bti"));

`

38

42

`println!("crc: {}", is_aarch64_feature_detected!("crc"));

`

``

43

`+

println!("cssc: {}", is_aarch64_feature_detected!("cssc"));

`

39

44

`println!("dit: {}", is_aarch64_feature_detected!("dit"));

`

40

45

`println!("dotprod: {}", is_aarch64_feature_detected!("dotprod"));

`

41

46

`println!("dpb2: {}", is_aarch64_feature_detected!("dpb2"));

`

42

47

`println!("dpb: {}", is_aarch64_feature_detected!("dpb"));

`

``

48

`+

println!("ecv: {}", is_aarch64_feature_detected!("ecv"));

`

43

49

`println!("f32mm: {}", is_aarch64_feature_detected!("f32mm"));

`

44

50

`println!("f64mm: {}", is_aarch64_feature_detected!("f64mm"));

`

``

51

`+

println!("faminmax: {}", is_aarch64_feature_detected!("faminmax"));

`

45

52

`println!("fcma: {}", is_aarch64_feature_detected!("fcma"));

`

46

53

`println!("fhm: {}", is_aarch64_feature_detected!("fhm"));

`

``

54

`+

println!("flagm2: {}", is_aarch64_feature_detected!("flagm2"));

`

47

55

`println!("flagm: {}", is_aarch64_feature_detected!("flagm"));

`

48

56

`println!("fp16: {}", is_aarch64_feature_detected!("fp16"));

`

``

57

`+

println!("fp8: {}", is_aarch64_feature_detected!("fp8"));

`

``

58

`+

println!("fp8dot2: {}", is_aarch64_feature_detected!("fp8dot2"));

`

``

59

`+

println!("fp8dot4: {}", is_aarch64_feature_detected!("fp8dot4"));

`

``

60

`+

println!("fp8fma: {}", is_aarch64_feature_detected!("fp8fma"));

`

``

61

`+

println!("fpmr: {}", is_aarch64_feature_detected!("fpmr"));

`

49

62

`println!("frintts: {}", is_aarch64_feature_detected!("frintts"));

`

``

63

`+

println!("hbc: {}", is_aarch64_feature_detected!("hbc"));

`

50

64

`println!("i8mm: {}", is_aarch64_feature_detected!("i8mm"));

`

51

65

`println!("jsconv: {}", is_aarch64_feature_detected!("jsconv"));

`

``

66

`+

println!("lse128: {}", is_aarch64_feature_detected!("lse128"));

`

52

67

`println!("lse2: {}", is_aarch64_feature_detected!("lse2"));

`

53

68

`println!("lse: {}", is_aarch64_feature_detected!("lse"));

`

``

69

`+

println!("lut: {}", is_aarch64_feature_detected!("lut"));

`

``

70

`+

println!("mops: {}", is_aarch64_feature_detected!("mops"));

`

54

71

`println!("mte: {}", is_aarch64_feature_detected!("mte"));

`

55

72

`println!("neon: {}", is_aarch64_feature_detected!("neon"));

`

56

73

`println!("paca: {}", is_aarch64_feature_detected!("paca"));

`

57

74

`println!("pacg: {}", is_aarch64_feature_detected!("pacg"));

`

58

75

`println!("pmull: {}", is_aarch64_feature_detected!("pmull"));

`

59

76

`println!("rand: {}", is_aarch64_feature_detected!("rand"));

`

60

77

`println!("rcpc2: {}", is_aarch64_feature_detected!("rcpc2"));

`

``

78

`+

println!("rcpc3: {}", is_aarch64_feature_detected!("rcpc3"));

`

61

79

`println!("rcpc: {}", is_aarch64_feature_detected!("rcpc"));

`

62

80

`println!("rdm: {}", is_aarch64_feature_detected!("rdm"));

`

63

81

`println!("sb: {}", is_aarch64_feature_detected!("sb"));

`

64

82

`println!("sha2: {}", is_aarch64_feature_detected!("sha2"));

`

65

83

`println!("sha3: {}", is_aarch64_feature_detected!("sha3"));

`

66

84

`println!("sm4: {}", is_aarch64_feature_detected!("sm4"));

`

``

85

`+

println!("sme-f16f16: {}", is_aarch64_feature_detected!("sme-f16f16"));

`

``

86

`+

println!("sme-f64f64: {}", is_aarch64_feature_detected!("sme-f64f64"));

`

``

87

`+

println!("sme-f8f16: {}", is_aarch64_feature_detected!("sme-f8f16"));

`

``

88

`+

println!("sme-f8f32: {}", is_aarch64_feature_detected!("sme-f8f32"));

`

``

89

`+

println!("sme-fa64: {}", is_aarch64_feature_detected!("sme-fa64"));

`

``

90

`+

println!("sme-i16i64: {}", is_aarch64_feature_detected!("sme-i16i64"));

`

``

91

`+

println!("sme-lutv2: {}", is_aarch64_feature_detected!("sme-lutv2"));

`

``

92

`+

println!("sme2: {}", is_aarch64_feature_detected!("sme2"));

`

``

93

`+

println!("sme2p1: {}", is_aarch64_feature_detected!("sme2p1"));

`

``

94

`+

println!("sme: {}", is_aarch64_feature_detected!("sme"));

`

67

95

`println!("ssbs: {}", is_aarch64_feature_detected!("ssbs"));

`

``

96

`+

println!("ssve-fp8dot2: {}", is_aarch64_feature_detected!("ssve-fp8dot2"));

`

``

97

`+

println!("ssve-fp8dot4: {}", is_aarch64_feature_detected!("ssve-fp8dot4"));

`

``

98

`+

println!("ssve-fp8fma: {}", is_aarch64_feature_detected!("ssve-fp8fma"));

`

``

99

`+

println!("sve-b16b16: {}", is_aarch64_feature_detected!("sve-b16b16"));

`

68

100

`println!("sve2-aes: {}", is_aarch64_feature_detected!("sve2-aes"));

`

69

101

`println!("sve2-bitperm: {}", is_aarch64_feature_detected!("sve2-bitperm"));

`

70

102

`println!("sve2-sha3: {}", is_aarch64_feature_detected!("sve2-sha3"));

`

71

103

`println!("sve2-sm4: {}", is_aarch64_feature_detected!("sve2-sm4"));

`

72

104

`println!("sve2: {}", is_aarch64_feature_detected!("sve2"));

`

``

105

`+

println!("sve2p1: {}", is_aarch64_feature_detected!("sve2p1"));

`

73

106

`println!("sve: {}", is_aarch64_feature_detected!("sve"));

`

74

107

`println!("tme: {}", is_aarch64_feature_detected!("tme"));

`

``

108

`+

println!("wfxt: {}", is_aarch64_feature_detected!("wfxt"));

`

75

109

`// tidy-alphabetical-end

`

76

110

`}

`

77

111

``