@@ -17,106 +17,61 @@ pub(crate) type p64 = u64;
17
17
pub ( crate ) type p128 = u128 ;
18
18
19
19
types ! {
20
+ #![ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
21
+ #![ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
22
+
20
23
/// ARM-specific 64-bit wide vector of eight packed `i8`.
21
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
22
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
23
24
pub struct int8x8_t( 8 x pub ( crate ) i8 ) ;
24
25
/// ARM-specific 64-bit wide vector of eight packed `u8`.
25
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
26
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
27
26
pub struct uint8x8_t( 8 x pub ( crate ) u8 ) ;
28
27
/// ARM-specific 64-bit wide polynomial vector of eight packed `p8`.
29
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
30
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
31
28
pub struct poly8x8_t( 8 x pub ( crate ) p8) ;
32
29
/// ARM-specific 64-bit wide vector of four packed `i16`.
33
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
34
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
35
30
pub struct int16x4_t( 4 x pub ( crate ) i16 ) ;
36
31
/// ARM-specific 64-bit wide vector of four packed `u16`.
37
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
38
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
39
32
pub struct uint16x4_t( 4 x pub ( crate ) u16 ) ;
40
33
// FIXME: ARM-specific 64-bit wide vector of four packed `f16`.
41
34
// pub struct float16x4_t(f16, f16, f16, f16);
42
35
/// ARM-specific 64-bit wide vector of four packed `p16`.
43
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
44
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
45
36
pub struct poly16x4_t( 4 x pub ( crate ) p16) ;
46
37
/// ARM-specific 64-bit wide vector of two packed `i32`.
47
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
48
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
49
38
pub struct int32x2_t( 2 x pub ( crate ) i32 ) ;
50
39
/// ARM-specific 64-bit wide vector of two packed `u32`.
51
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
52
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
53
40
pub struct uint32x2_t( 2 x pub ( crate ) u32 ) ;
54
41
/// ARM-specific 64-bit wide vector of two packed `f32`.
55
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
56
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
57
42
pub struct float32x2_t( 2 x pub ( crate ) f32 ) ;
58
43
/// ARM-specific 64-bit wide vector of one packed `i64`.
59
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
60
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
61
44
pub struct int64x1_t( 1 x pub ( crate ) i64 ) ;
62
45
/// ARM-specific 64-bit wide vector of one packed `u64`.
63
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
64
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
65
46
pub struct uint64x1_t( 1 x pub ( crate ) u64 ) ;
66
47
/// ARM-specific 64-bit wide vector of one packed `p64`.
67
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
68
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
69
48
pub struct poly64x1_t( 1 x pub ( crate ) p64) ;
70
49
71
50
/// ARM-specific 128-bit wide vector of sixteen packed `i8`.
72
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
73
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
74
51
pub struct int8x16_t( 16 x pub ( crate ) i8 ) ;
75
52
/// ARM-specific 128-bit wide vector of sixteen packed `u8`.
76
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
77
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
78
53
pub struct uint8x16_t( 16 x pub ( crate ) u8 ) ;
79
54
/// ARM-specific 128-bit wide vector of sixteen packed `p8`.
80
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
81
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
82
55
pub struct poly8x16_t( 16 x pub ( crate ) p8) ;
83
56
/// ARM-specific 128-bit wide vector of eight packed `i16`.
84
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
85
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
86
57
pub struct int16x8_t( 8 x pub ( crate ) i16 ) ;
87
58
/// ARM-specific 128-bit wide vector of eight packed `u16`.
88
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
89
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
90
59
pub struct uint16x8_t( 8 x pub ( crate ) u16 ) ;
91
60
// FIXME: ARM-specific 128-bit wide vector of eight packed `f16`.
92
61
// pub struct float16x8_t(f16, f16, f16, f16, f16, f16, f16);
93
62
/// ARM-specific 128-bit wide vector of eight packed `p16`.
94
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
95
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
96
63
pub struct poly16x8_t( 8 x pub ( crate ) p16) ;
97
64
/// ARM-specific 128-bit wide vector of four packed `i32`.
98
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
99
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
100
65
pub struct int32x4_t( 4 x pub ( crate ) i32 ) ;
101
66
/// ARM-specific 128-bit wide vector of four packed `u32`.
102
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
103
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
104
67
pub struct uint32x4_t( 4 x pub ( crate ) u32 ) ;
105
68
/// ARM-specific 128-bit wide vector of four packed `f32`.
106
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
107
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
108
69
pub struct float32x4_t( 4 x pub ( crate ) f32 ) ;
109
70
/// ARM-specific 128-bit wide vector of two packed `i64`.
110
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
111
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
112
71
pub struct int64x2_t( 2 x pub ( crate ) i64 ) ;
113
72
/// ARM-specific 128-bit wide vector of two packed `u64`.
114
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
115
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
116
73
pub struct uint64x2_t( 2 x pub ( crate ) u64 ) ;
117
74
/// ARM-specific 128-bit wide vector of two packed `p64`.
118
- #[ cfg_attr( not( target_arch = "arm" ) , stable( feature = "neon_intrinsics" , since = "1.59.0" ) ) ]
119
- #[ cfg_attr( target_arch = "arm" , unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" ) ) ]
120
75
pub struct poly64x2_t( 2 x pub ( crate ) p64) ;
121
76
}
122
77
0 commit comments