rustc_target: Add various aarch64 features · patricklam/verify-rust-std@012bb44 (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,59 @@ 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"));

`

67

85

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

`

``

86

`+

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

`

68

87

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

`

69

88

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

`

70

89

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

`

71

90

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

`

72

91

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

`

``

92

`+

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

`

73

93

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

`

74

94

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

`

``

95

`+

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

`

75

96

`// tidy-alphabetical-end

`

76

97

`}

`

77

98

``