@@ -80,10 +80,10 @@ pub unsafe fn qsub(a: i32, b: i32) -> i32 {
80
80
///
81
81
/// Returns the 8-bit signed equivalent of
82
82
///
83
- /// res[0 ] = a[0 ] + b[0 ]
84
- /// res[1 ] = a[1 ] + b[1 ]
85
- /// res[2 ] = a[2 ] + b[2 ]
86
- /// res[3 ] = a[3 ] + b[3 ]
83
+ /// res\[0\ ] = a\[0\ ] + b\[0\ ]
84
+ /// res\[1\ ] = a\[1\ ] + b\[1\ ]
85
+ /// res\[2\ ] = a\[2\ ] + b\[2\ ]
86
+ /// res\[3\ ] = a\[3\ ] + b\[3\ ]
87
87
#[ inline]
88
88
#[ cfg_attr( test, assert_instr( qadd8) ) ]
89
89
pub unsafe fn qadd8 ( a : int8x4_t , b : int8x4_t ) -> int8x4_t {
@@ -94,10 +94,10 @@ pub unsafe fn qadd8(a: int8x4_t, b: int8x4_t) -> int8x4_t {
94
94
///
95
95
/// Returns the 8-bit signed equivalent of
96
96
///
97
- /// res[0 ] = a[0 ] - b[0 ]
98
- /// res[1 ] = a[1 ] - b[1 ]
99
- /// res[2 ] = a[2 ] - b[2 ]
100
- /// res[3 ] = a[3 ] - b[3 ]
97
+ /// res\[0\ ] = a\[0\ ] - b\[0\ ]
98
+ /// res\[1\ ] = a\[1\ ] - b\[1\ ]
99
+ /// res\[2\ ] = a\[2\ ] - b\[2\ ]
100
+ /// res\[3\ ] = a\[3\ ] - b\[3\ ]
101
101
#[ inline]
102
102
#[ cfg_attr( test, assert_instr( qsub8) ) ]
103
103
pub unsafe fn qsub8 ( a : int8x4_t , b : int8x4_t ) -> int8x4_t {
@@ -108,8 +108,8 @@ pub unsafe fn qsub8(a: int8x4_t, b: int8x4_t) -> int8x4_t {
108
108
///
109
109
/// Returns the 16-bit signed equivalent of
110
110
///
111
- /// res[0 ] = a[0 ] - b[0 ]
112
- /// res[1 ] = a[1 ] - b[1 ]
111
+ /// res\[0\ ] = a\[0\ ] - b\[0\ ]
112
+ /// res\[1\ ] = a\[1\ ] - b\[1\ ]
113
113
#[ inline]
114
114
#[ cfg_attr( test, assert_instr( qsub16) ) ]
115
115
pub unsafe fn qsub16 ( a : int16x2_t , b : int16x2_t ) -> int16x2_t {
@@ -120,8 +120,8 @@ pub unsafe fn qsub16(a: int16x2_t, b: int16x2_t) -> int16x2_t {
120
120
///
121
121
/// Returns the 16-bit signed equivalent of
122
122
///
123
- /// res[0 ] = a[0 ] + b[0 ]
124
- /// res[1 ] = a[1 ] + b[1 ]
123
+ /// res\[0\ ] = a\[0\ ] + b\[0\ ]
124
+ /// res\[1\ ] = a\[1\ ] + b\[1\ ]
125
125
#[ inline]
126
126
#[ cfg_attr( test, assert_instr( qadd16) ) ]
127
127
pub unsafe fn qadd16 ( a : int16x2_t , b : int16x2_t ) -> int16x2_t {
@@ -130,8 +130,8 @@ pub unsafe fn qadd16(a: int16x2_t, b: int16x2_t) -> int16x2_t {
130
130
131
131
/// Returns the 16-bit signed saturated equivalent of
132
132
///
133
- /// res[0 ] = a[0 ] - b[1 ]
134
- /// res[1 ] = a[1 ] + b[0 ]
133
+ /// res\[0\ ] = a\[0\ ] - b\[1\ ]
134
+ /// res\[1\ ] = a\[1\ ] + b\[0\ ]
135
135
#[ inline]
136
136
#[ cfg_attr( test, assert_instr( qasx) ) ]
137
137
pub unsafe fn qasx ( a : int16x2_t , b : int16x2_t ) -> int16x2_t {
@@ -140,8 +140,8 @@ pub unsafe fn qasx(a: int16x2_t, b: int16x2_t) -> int16x2_t {
140
140
141
141
/// Returns the 16-bit signed saturated equivalent of
142
142
///
143
- /// res[0 ] = a[0 ] + b[1 ]
144
- /// res[1 ] = a[1 ] - b[0 ]
143
+ /// res\[0\ ] = a\[0\ ] + b\[1\ ]
144
+ /// res\[1\ ] = a\[1\ ] - b\[0\ ]
145
145
#[ inline]
146
146
#[ cfg_attr( test, assert_instr( qsax) ) ]
147
147
pub unsafe fn qsax ( a : int16x2_t , b : int16x2_t ) -> int16x2_t {
@@ -150,8 +150,8 @@ pub unsafe fn qsax(a: int16x2_t, b: int16x2_t) -> int16x2_t {
150
150
151
151
/// Returns the 16-bit signed saturated equivalent of
152
152
///
153
- /// res[0 ] = a[0 ] + b[1 ]
154
- /// res[1 ] = a[1 ] + b[0 ]
153
+ /// res\[0\ ] = a\[0\ ] + b\[1\ ]
154
+ /// res\[1\ ] = a\[1\ ] + b\[0\ ]
155
155
///
156
156
/// and the GE bits of the APSR are set.
157
157
#[ inline]
@@ -162,10 +162,10 @@ pub unsafe fn sadd16(a: int16x2_t, b: int16x2_t) -> int16x2_t {
162
162
163
163
/// Returns the 8-bit signed saturated equivalent of
164
164
///
165
- /// res[0 ] = a[0 ] + b[1 ]
166
- /// res[1 ] = a[1 ] + b[0 ]
167
- /// res[2 ] = a[2 ] + b[2 ]
168
- /// res[3 ] = a[3 ] + b[3 ]
165
+ /// res\[0\ ] = a\[0\ ] + b\[1\ ]
166
+ /// res\[1\ ] = a\[1\ ] + b\[0\ ]
167
+ /// res\[2\ ] = a\[2\ ] + b\[2\ ]
168
+ /// res\[3\ ] = a\[3\ ] + b\[3\ ]
169
169
///
170
170
/// and the GE bits of the APSR are set.
171
171
#[ inline]
@@ -176,8 +176,8 @@ pub unsafe fn sadd8(a: int8x4_t, b: int8x4_t) -> int8x4_t {
176
176
177
177
/// Returns the 16-bit signed equivalent of
178
178
///
179
- /// res[0 ] = a[0 ] - b[1 ]
180
- /// res[1 ] = a[1 ] + b[0 ]
179
+ /// res\[0\ ] = a\[0\ ] - b\[1\ ]
180
+ /// res\[1\ ] = a\[1\ ] + b\[0\ ]
181
181
///
182
182
/// and the GE bits of the APSR are set.
183
183
#[ inline]
@@ -188,10 +188,10 @@ pub unsafe fn sasx(a: int16x2_t, b: int16x2_t) -> int16x2_t {
188
188
189
189
/// Returns the equivalent of
190
190
///
191
- /// res[0 ] = GE[0 ] ? a[0 ] : b[0 ]
192
- /// res[1 ] = GE[1 ] ? a[1 ] : b[1 ]
193
- /// res[2 ] = GE[2 ] ? a[2 ] : b[2 ]
194
- /// res[3 ] = GE[3 ] ? a[3 ] : b[3 ]
191
+ /// res\[0\ ] = GE\[0\ ] ? a\[0\ ] : b\[0\ ]
192
+ /// res\[1\ ] = GE\[1\ ] ? a\[1\ ] : b\[1\ ]
193
+ /// res\[2\ ] = GE\[2\ ] ? a\[2\ ] : b\[2\ ]
194
+ /// res\[3\ ] = GE\[3\ ] ? a\[3\ ] : b\[3\ ]
195
195
///
196
196
/// where GE are bits of APSR
197
197
#[ inline]
0 commit comments