1#![allow(improper_ctypes)]
9
10#[cfg(test)]
11use stdarch_test::assert_instr;
12
13use super::*;
14
15#[doc = "CRC32-C single round checksum for quad words (64 bits)."]
16#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32cd)"]
17#[inline]
18#[target_feature(enable = "crc")]
19#[cfg_attr(test, assert_instr(crc32cx))]
20#[stable(feature = "stdarch_aarch64_crc32", since = "1.80.0")]
21pub fn __crc32cd(crc: u32, data: u64) -> u32 {
22 unsafe extern "unadjusted" {
23 #[cfg_attr(
24 any(target_arch = "aarch64", target_arch = "arm64ec"),
25 link_name = "llvm.aarch64.crc32cx"
26 )]
27 fn ___crc32cd(crc: u32, data: u64) -> u32;
28 }
29 unsafe { ___crc32cd(crc, data) }
30}
31#[doc = "CRC32 single round checksum for quad words (64 bits)."]
32#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32d)"]
33#[inline]
34#[target_feature(enable = "crc")]
35#[cfg_attr(test, assert_instr(crc32x))]
36#[stable(feature = "stdarch_aarch64_crc32", since = "1.80.0")]
37pub fn __crc32d(crc: u32, data: u64) -> u32 {
38 unsafe extern "unadjusted" {
39 #[cfg_attr(
40 any(target_arch = "aarch64", target_arch = "arm64ec"),
41 link_name = "llvm.aarch64.crc32x"
42 )]
43 fn ___crc32d(crc: u32, data: u64) -> u32;
44 }
45 unsafe { ___crc32d(crc, data) }
46}
47#[doc = "Floating-point JavaScript convert to signed fixed-point, rounding toward zero"]
48#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__jcvt)"]
49#[inline]
50#[target_feature(enable = "jsconv")]
51#[cfg_attr(test, assert_instr(fjcvtzs))]
52#[stable(feature = "stdarch_aarch64_jscvt", since = "1.95.0")]
53pub fn __jcvt(a: f64) -> i32 {
54 unsafe extern "unadjusted" {
55 #[cfg_attr(
56 any(target_arch = "aarch64", target_arch = "arm64ec"),
57 link_name = "llvm.aarch64.fjcvtzs"
58 )]
59 fn ___jcvt(a: f64) -> i32;
60 }
61 unsafe { ___jcvt(a) }
62}
63#[doc = "Signed Absolute difference and Accumulate Long"]
64#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabal_high_s8)"]
65#[inline]
66#[target_feature(enable = "neon")]
67#[stable(feature = "neon_intrinsics", since = "1.59.0")]
68#[cfg_attr(
69 all(test, not(target_env = "msvc"), target_endian = "little"),
70 assert_instr(sabal2)
71)]
72pub fn vabal_high_s8(a: int16x8_t, b: int8x16_t, c: int8x16_t) -> int16x8_t {
73 let d = vget_high_s8(b);
74 let e = vget_high_s8(c);
75 let f = vabd_s8(d, e);
76 unsafe {
77 let f: uint8x8_t = simd_cast(f);
78 simd_add(a, simd_cast(f))
79 }
80}
81#[doc = "Signed Absolute difference and Accumulate Long"]
82#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabal_high_s16)"]
83#[inline]
84#[target_feature(enable = "neon")]
85#[stable(feature = "neon_intrinsics", since = "1.59.0")]
86#[cfg_attr(
87 all(test, not(target_env = "msvc"), target_endian = "little"),
88 assert_instr(sabal2)
89)]
90pub fn vabal_high_s16(a: int32x4_t, b: int16x8_t, c: int16x8_t) -> int32x4_t {
91 let d = vget_high_s16(b);
92 let e = vget_high_s16(c);
93 let f = vabd_s16(d, e);
94 unsafe {
95 let f: uint16x4_t = simd_cast(f);
96 simd_add(a, simd_cast(f))
97 }
98}
99#[doc = "Signed Absolute difference and Accumulate Long"]
100#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabal_high_s32)"]
101#[inline]
102#[target_feature(enable = "neon")]
103#[stable(feature = "neon_intrinsics", since = "1.59.0")]
104#[cfg_attr(
105 all(test, not(target_env = "msvc"), target_endian = "little"),
106 assert_instr(sabal2)
107)]
108pub fn vabal_high_s32(a: int64x2_t, b: int32x4_t, c: int32x4_t) -> int64x2_t {
109 let d = vget_high_s32(b);
110 let e = vget_high_s32(c);
111 let f = vabd_s32(d, e);
112 unsafe {
113 let f: uint32x2_t = simd_cast(f);
114 simd_add(a, simd_cast(f))
115 }
116}
117#[doc = "Unsigned Absolute difference and Accumulate Long"]
118#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabal_high_u8)"]
119#[inline]
120#[target_feature(enable = "neon")]
121#[stable(feature = "neon_intrinsics", since = "1.59.0")]
122#[cfg_attr(
123 all(test, not(target_env = "msvc"), target_endian = "little"),
124 assert_instr(uabal2)
125)]
126pub fn vabal_high_u8(a: uint16x8_t, b: uint8x16_t, c: uint8x16_t) -> uint16x8_t {
127 let d = vget_high_u8(b);
128 let e = vget_high_u8(c);
129 let f = vabd_u8(d, e);
130 unsafe { simd_add(a, simd_cast(f)) }
131}
132#[doc = "Unsigned Absolute difference and Accumulate Long"]
133#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabal_high_u16)"]
134#[inline]
135#[target_feature(enable = "neon")]
136#[stable(feature = "neon_intrinsics", since = "1.59.0")]
137#[cfg_attr(
138 all(test, not(target_env = "msvc"), target_endian = "little"),
139 assert_instr(uabal2)
140)]
141pub fn vabal_high_u16(a: uint32x4_t, b: uint16x8_t, c: uint16x8_t) -> uint32x4_t {
142 let d = vget_high_u16(b);
143 let e = vget_high_u16(c);
144 let f = vabd_u16(d, e);
145 unsafe { simd_add(a, simd_cast(f)) }
146}
147#[doc = "Unsigned Absolute difference and Accumulate Long"]
148#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabal_high_u32)"]
149#[inline]
150#[target_feature(enable = "neon")]
151#[stable(feature = "neon_intrinsics", since = "1.59.0")]
152#[cfg_attr(
153 all(test, not(target_env = "msvc"), target_endian = "little"),
154 assert_instr(uabal2)
155)]
156pub fn vabal_high_u32(a: uint64x2_t, b: uint32x4_t, c: uint32x4_t) -> uint64x2_t {
157 let d = vget_high_u32(b);
158 let e = vget_high_u32(c);
159 let f = vabd_u32(d, e);
160 unsafe { simd_add(a, simd_cast(f)) }
161}
162#[doc = "Absolute difference between the arguments of Floating"]
163#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabd_f64)"]
164#[inline]
165#[target_feature(enable = "neon")]
166#[stable(feature = "neon_intrinsics", since = "1.59.0")]
167#[cfg_attr(test, assert_instr(fabd))]
168pub fn vabd_f64(a: float64x1_t, b: float64x1_t) -> float64x1_t {
169 unsafe extern "unadjusted" {
170 #[cfg_attr(
171 any(target_arch = "aarch64", target_arch = "arm64ec"),
172 link_name = "llvm.aarch64.neon.fabd.v1f64"
173 )]
174 fn _vabd_f64(a: float64x1_t, b: float64x1_t) -> float64x1_t;
175 }
176 unsafe { _vabd_f64(a, b) }
177}
178#[doc = "Absolute difference between the arguments of Floating"]
179#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdq_f64)"]
180#[inline]
181#[target_feature(enable = "neon")]
182#[stable(feature = "neon_intrinsics", since = "1.59.0")]
183#[cfg_attr(test, assert_instr(fabd))]
184pub fn vabdq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
185 unsafe extern "unadjusted" {
186 #[cfg_attr(
187 any(target_arch = "aarch64", target_arch = "arm64ec"),
188 link_name = "llvm.aarch64.neon.fabd.v2f64"
189 )]
190 fn _vabdq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
191 }
192 unsafe { _vabdq_f64(a, b) }
193}
194#[doc = "Floating-point absolute difference"]
195#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdd_f64)"]
196#[inline]
197#[target_feature(enable = "neon")]
198#[stable(feature = "neon_intrinsics", since = "1.59.0")]
199#[cfg_attr(test, assert_instr(fabd))]
200pub fn vabdd_f64(a: f64, b: f64) -> f64 {
201 vget_lane_f64::<0>(vabd_f64(vdup_n_f64(a), vdup_n_f64(b)))
202}
203#[doc = "Floating-point absolute difference"]
204#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabds_f32)"]
205#[inline]
206#[target_feature(enable = "neon")]
207#[stable(feature = "neon_intrinsics", since = "1.59.0")]
208#[cfg_attr(test, assert_instr(fabd))]
209pub fn vabds_f32(a: f32, b: f32) -> f32 {
210 vget_lane_f32::<0>(vabd_f32(vdup_n_f32(a), vdup_n_f32(b)))
211}
212#[doc = "Floating-point absolute difference"]
213#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdh_f16)"]
214#[inline]
215#[target_feature(enable = "neon,fp16")]
216#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
217#[cfg(not(target_arch = "arm64ec"))]
218#[cfg_attr(test, assert_instr(fabd))]
219pub fn vabdh_f16(a: f16, b: f16) -> f16 {
220 vget_lane_f16::<0>(vabd_f16(vdup_n_f16(a), vdup_n_f16(b)))
221}
222#[doc = "Signed Absolute difference Long"]
223#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdl_high_s8)"]
224#[inline]
225#[target_feature(enable = "neon")]
226#[stable(feature = "neon_intrinsics", since = "1.59.0")]
227#[cfg_attr(all(test, target_endian = "little"), assert_instr(sabdl2))]
228pub fn vabdl_high_s8(a: int8x16_t, b: int8x16_t) -> int16x8_t {
229 let c = vget_high_s8(a);
230 let d = vget_high_s8(b);
231 unsafe {
232 let e: uint8x8_t = simd_cast(vabd_s8(c, d));
233 simd_cast(e)
234 }
235}
236#[doc = "Signed Absolute difference Long"]
237#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdl_high_s16)"]
238#[inline]
239#[target_feature(enable = "neon")]
240#[stable(feature = "neon_intrinsics", since = "1.59.0")]
241#[cfg_attr(all(test, target_endian = "little"), assert_instr(sabdl2))]
242pub fn vabdl_high_s16(a: int16x8_t, b: int16x8_t) -> int32x4_t {
243 let c = vget_high_s16(a);
244 let d = vget_high_s16(b);
245 unsafe {
246 let e: uint16x4_t = simd_cast(vabd_s16(c, d));
247 simd_cast(e)
248 }
249}
250#[doc = "Signed Absolute difference Long"]
251#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdl_high_s32)"]
252#[inline]
253#[target_feature(enable = "neon")]
254#[stable(feature = "neon_intrinsics", since = "1.59.0")]
255#[cfg_attr(all(test, target_endian = "little"), assert_instr(sabdl2))]
256pub fn vabdl_high_s32(a: int32x4_t, b: int32x4_t) -> int64x2_t {
257 let c = vget_high_s32(a);
258 let d = vget_high_s32(b);
259 unsafe {
260 let e: uint32x2_t = simd_cast(vabd_s32(c, d));
261 simd_cast(e)
262 }
263}
264#[doc = "Unsigned Absolute difference Long"]
265#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdl_high_u8)"]
266#[inline]
267#[target_feature(enable = "neon")]
268#[stable(feature = "neon_intrinsics", since = "1.59.0")]
269#[cfg_attr(all(test, target_endian = "little"), assert_instr(uabdl2))]
270pub fn vabdl_high_u8(a: uint8x16_t, b: uint8x16_t) -> uint16x8_t {
271 let c = vget_high_u8(a);
272 let d = vget_high_u8(b);
273 unsafe { simd_cast(vabd_u8(c, d)) }
274}
275#[doc = "Unsigned Absolute difference Long"]
276#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdl_high_u16)"]
277#[inline]
278#[target_feature(enable = "neon")]
279#[stable(feature = "neon_intrinsics", since = "1.59.0")]
280#[cfg_attr(all(test, target_endian = "little"), assert_instr(uabdl2))]
281pub fn vabdl_high_u16(a: uint16x8_t, b: uint16x8_t) -> uint32x4_t {
282 let c = vget_high_u16(a);
283 let d = vget_high_u16(b);
284 unsafe { simd_cast(vabd_u16(c, d)) }
285}
286#[doc = "Unsigned Absolute difference Long"]
287#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabdl_high_u32)"]
288#[inline]
289#[target_feature(enable = "neon")]
290#[stable(feature = "neon_intrinsics", since = "1.59.0")]
291#[cfg_attr(all(test, target_endian = "little"), assert_instr(uabdl2))]
292pub fn vabdl_high_u32(a: uint32x4_t, b: uint32x4_t) -> uint64x2_t {
293 let c = vget_high_u32(a);
294 let d = vget_high_u32(b);
295 unsafe { simd_cast(vabd_u32(c, d)) }
296}
297#[doc = "Floating-point absolute value"]
298#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabs_f64)"]
299#[inline]
300#[target_feature(enable = "neon")]
301#[cfg_attr(test, assert_instr(fabs))]
302#[stable(feature = "neon_intrinsics", since = "1.59.0")]
303pub fn vabs_f64(a: float64x1_t) -> float64x1_t {
304 unsafe { simd_fabs(a) }
305}
306#[doc = "Floating-point absolute value"]
307#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabsq_f64)"]
308#[inline]
309#[target_feature(enable = "neon")]
310#[cfg_attr(test, assert_instr(fabs))]
311#[stable(feature = "neon_intrinsics", since = "1.59.0")]
312pub fn vabsq_f64(a: float64x2_t) -> float64x2_t {
313 unsafe { simd_fabs(a) }
314}
315#[doc = "Absolute Value (wrapping)."]
316#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabs_s64)"]
317#[inline]
318#[target_feature(enable = "neon")]
319#[stable(feature = "neon_intrinsics", since = "1.59.0")]
320#[cfg_attr(test, assert_instr(abs))]
321pub fn vabs_s64(a: int64x1_t) -> int64x1_t {
322 unsafe {
323 let neg: int64x1_t = simd_neg(a);
324 let mask: int64x1_t = simd_ge(a, neg);
325 simd_select(mask, a, neg)
326 }
327}
328#[doc = "Absolute Value (wrapping)."]
329#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabsq_s64)"]
330#[inline]
331#[target_feature(enable = "neon")]
332#[stable(feature = "neon_intrinsics", since = "1.59.0")]
333#[cfg_attr(test, assert_instr(abs))]
334pub fn vabsq_s64(a: int64x2_t) -> int64x2_t {
335 unsafe {
336 let neg: int64x2_t = simd_neg(a);
337 let mask: int64x2_t = simd_ge(a, neg);
338 simd_select(mask, a, neg)
339 }
340}
341#[doc = "Absolute Value (wrapping)."]
342#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vabsd_s64)"]
343#[inline]
344#[target_feature(enable = "neon")]
345#[stable(feature = "neon_intrinsics", since = "1.59.0")]
346#[cfg_attr(test, assert_instr(abs))]
347pub fn vabsd_s64(a: i64) -> i64 {
348 unsafe extern "unadjusted" {
349 #[cfg_attr(
350 any(target_arch = "aarch64", target_arch = "arm64ec"),
351 link_name = "llvm.aarch64.neon.abs.i64"
352 )]
353 fn _vabsd_s64(a: i64) -> i64;
354 }
355 unsafe { _vabsd_s64(a) }
356}
357#[doc = "Add"]
358#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddd_s64)"]
359#[inline]
360#[target_feature(enable = "neon")]
361#[stable(feature = "neon_intrinsics", since = "1.59.0")]
362#[cfg_attr(test, assert_instr(nop))]
363pub fn vaddd_s64(a: i64, b: i64) -> i64 {
364 a.wrapping_add(b)
365}
366#[doc = "Add"]
367#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddd_u64)"]
368#[inline]
369#[target_feature(enable = "neon")]
370#[stable(feature = "neon_intrinsics", since = "1.59.0")]
371#[cfg_attr(test, assert_instr(nop))]
372pub fn vaddd_u64(a: u64, b: u64) -> u64 {
373 a.wrapping_add(b)
374}
375#[doc = "Signed Add Long across Vector"]
376#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlv_s16)"]
377#[inline]
378#[target_feature(enable = "neon")]
379#[stable(feature = "neon_intrinsics", since = "1.59.0")]
380#[cfg_attr(test, assert_instr(saddlv))]
381pub fn vaddlv_s16(a: int16x4_t) -> i32 {
382 unsafe extern "unadjusted" {
383 #[cfg_attr(
384 any(target_arch = "aarch64", target_arch = "arm64ec"),
385 link_name = "llvm.aarch64.neon.saddlv.i32.v4i16"
386 )]
387 fn _vaddlv_s16(a: int16x4_t) -> i32;
388 }
389 unsafe { _vaddlv_s16(a) }
390}
391#[doc = "Signed Add Long across Vector"]
392#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlvq_s16)"]
393#[inline]
394#[target_feature(enable = "neon")]
395#[stable(feature = "neon_intrinsics", since = "1.59.0")]
396#[cfg_attr(test, assert_instr(saddlv))]
397pub fn vaddlvq_s16(a: int16x8_t) -> i32 {
398 unsafe extern "unadjusted" {
399 #[cfg_attr(
400 any(target_arch = "aarch64", target_arch = "arm64ec"),
401 link_name = "llvm.aarch64.neon.saddlv.i32.v8i16"
402 )]
403 fn _vaddlvq_s16(a: int16x8_t) -> i32;
404 }
405 unsafe { _vaddlvq_s16(a) }
406}
407#[doc = "Signed Add Long across Vector"]
408#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlvq_s32)"]
409#[inline]
410#[target_feature(enable = "neon")]
411#[stable(feature = "neon_intrinsics", since = "1.59.0")]
412#[cfg_attr(test, assert_instr(saddlv))]
413pub fn vaddlvq_s32(a: int32x4_t) -> i64 {
414 unsafe extern "unadjusted" {
415 #[cfg_attr(
416 any(target_arch = "aarch64", target_arch = "arm64ec"),
417 link_name = "llvm.aarch64.neon.saddlv.i64.v4i32"
418 )]
419 fn _vaddlvq_s32(a: int32x4_t) -> i64;
420 }
421 unsafe { _vaddlvq_s32(a) }
422}
423#[doc = "Signed Add Long across Vector"]
424#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlv_s32)"]
425#[inline]
426#[target_feature(enable = "neon")]
427#[stable(feature = "neon_intrinsics", since = "1.59.0")]
428#[cfg_attr(test, assert_instr(saddlp))]
429pub fn vaddlv_s32(a: int32x2_t) -> i64 {
430 unsafe extern "unadjusted" {
431 #[cfg_attr(
432 any(target_arch = "aarch64", target_arch = "arm64ec"),
433 link_name = "llvm.aarch64.neon.saddlv.i64.v2i32"
434 )]
435 fn _vaddlv_s32(a: int32x2_t) -> i64;
436 }
437 unsafe { _vaddlv_s32(a) }
438}
439#[doc = "Signed Add Long across Vector"]
440#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlv_s8)"]
441#[inline]
442#[target_feature(enable = "neon")]
443#[stable(feature = "neon_intrinsics", since = "1.59.0")]
444#[cfg_attr(test, assert_instr(saddlv))]
445pub fn vaddlv_s8(a: int8x8_t) -> i16 {
446 unsafe extern "unadjusted" {
447 #[cfg_attr(
448 any(target_arch = "aarch64", target_arch = "arm64ec"),
449 link_name = "llvm.aarch64.neon.saddlv.i32.v8i8"
450 )]
451 fn _vaddlv_s8(a: int8x8_t) -> i32;
452 }
453 unsafe { _vaddlv_s8(a) as i16 }
454}
455#[doc = "Signed Add Long across Vector"]
456#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlvq_s8)"]
457#[inline]
458#[target_feature(enable = "neon")]
459#[stable(feature = "neon_intrinsics", since = "1.59.0")]
460#[cfg_attr(test, assert_instr(saddlv))]
461pub fn vaddlvq_s8(a: int8x16_t) -> i16 {
462 unsafe extern "unadjusted" {
463 #[cfg_attr(
464 any(target_arch = "aarch64", target_arch = "arm64ec"),
465 link_name = "llvm.aarch64.neon.saddlv.i32.v16i8"
466 )]
467 fn _vaddlvq_s8(a: int8x16_t) -> i32;
468 }
469 unsafe { _vaddlvq_s8(a) as i16 }
470}
471#[doc = "Unsigned Add Long across Vector"]
472#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlv_u16)"]
473#[inline]
474#[target_feature(enable = "neon")]
475#[stable(feature = "neon_intrinsics", since = "1.59.0")]
476#[cfg_attr(test, assert_instr(uaddlv))]
477pub fn vaddlv_u16(a: uint16x4_t) -> u32 {
478 unsafe extern "unadjusted" {
479 #[cfg_attr(
480 any(target_arch = "aarch64", target_arch = "arm64ec"),
481 link_name = "llvm.aarch64.neon.uaddlv.i32.v4i16"
482 )]
483 fn _vaddlv_u16(a: uint16x4_t) -> u32;
484 }
485 unsafe { _vaddlv_u16(a) }
486}
487#[doc = "Unsigned Add Long across Vector"]
488#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlvq_u16)"]
489#[inline]
490#[target_feature(enable = "neon")]
491#[stable(feature = "neon_intrinsics", since = "1.59.0")]
492#[cfg_attr(test, assert_instr(uaddlv))]
493pub fn vaddlvq_u16(a: uint16x8_t) -> u32 {
494 unsafe extern "unadjusted" {
495 #[cfg_attr(
496 any(target_arch = "aarch64", target_arch = "arm64ec"),
497 link_name = "llvm.aarch64.neon.uaddlv.i32.v8i16"
498 )]
499 fn _vaddlvq_u16(a: uint16x8_t) -> u32;
500 }
501 unsafe { _vaddlvq_u16(a) }
502}
503#[doc = "Unsigned Add Long across Vector"]
504#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlvq_u32)"]
505#[inline]
506#[target_feature(enable = "neon")]
507#[stable(feature = "neon_intrinsics", since = "1.59.0")]
508#[cfg_attr(test, assert_instr(uaddlv))]
509pub fn vaddlvq_u32(a: uint32x4_t) -> u64 {
510 unsafe extern "unadjusted" {
511 #[cfg_attr(
512 any(target_arch = "aarch64", target_arch = "arm64ec"),
513 link_name = "llvm.aarch64.neon.uaddlv.i64.v4i32"
514 )]
515 fn _vaddlvq_u32(a: uint32x4_t) -> u64;
516 }
517 unsafe { _vaddlvq_u32(a) }
518}
519#[doc = "Unsigned Add Long across Vector"]
520#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlv_u32)"]
521#[inline]
522#[target_feature(enable = "neon")]
523#[stable(feature = "neon_intrinsics", since = "1.59.0")]
524#[cfg_attr(test, assert_instr(uaddlp))]
525pub fn vaddlv_u32(a: uint32x2_t) -> u64 {
526 unsafe extern "unadjusted" {
527 #[cfg_attr(
528 any(target_arch = "aarch64", target_arch = "arm64ec"),
529 link_name = "llvm.aarch64.neon.uaddlv.i64.v2i32"
530 )]
531 fn _vaddlv_u32(a: uint32x2_t) -> u64;
532 }
533 unsafe { _vaddlv_u32(a) }
534}
535#[doc = "Unsigned Add Long across Vector"]
536#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlv_u8)"]
537#[inline]
538#[target_feature(enable = "neon")]
539#[stable(feature = "neon_intrinsics", since = "1.59.0")]
540#[cfg_attr(test, assert_instr(uaddlv))]
541pub fn vaddlv_u8(a: uint8x8_t) -> u16 {
542 unsafe extern "unadjusted" {
543 #[cfg_attr(
544 any(target_arch = "aarch64", target_arch = "arm64ec"),
545 link_name = "llvm.aarch64.neon.uaddlv.i32.v8i8"
546 )]
547 fn _vaddlv_u8(a: uint8x8_t) -> i32;
548 }
549 unsafe { _vaddlv_u8(a) as u16 }
550}
551#[doc = "Unsigned Add Long across Vector"]
552#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddlvq_u8)"]
553#[inline]
554#[target_feature(enable = "neon")]
555#[stable(feature = "neon_intrinsics", since = "1.59.0")]
556#[cfg_attr(test, assert_instr(uaddlv))]
557pub fn vaddlvq_u8(a: uint8x16_t) -> u16 {
558 unsafe extern "unadjusted" {
559 #[cfg_attr(
560 any(target_arch = "aarch64", target_arch = "arm64ec"),
561 link_name = "llvm.aarch64.neon.uaddlv.i32.v16i8"
562 )]
563 fn _vaddlvq_u8(a: uint8x16_t) -> i32;
564 }
565 unsafe { _vaddlvq_u8(a) as u16 }
566}
567#[doc = "Floating-point add across vector"]
568#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_f32)"]
569#[inline]
570#[target_feature(enable = "neon")]
571#[stable(feature = "neon_intrinsics", since = "1.59.0")]
572#[cfg_attr(test, assert_instr(faddp))]
573pub fn vaddv_f32(a: float32x2_t) -> f32 {
574 unsafe extern "unadjusted" {
575 #[cfg_attr(
576 any(target_arch = "aarch64", target_arch = "arm64ec"),
577 link_name = "llvm.aarch64.neon.faddv.f32.v2f32"
578 )]
579 fn _vaddv_f32(a: float32x2_t) -> f32;
580 }
581 unsafe { _vaddv_f32(a) }
582}
583#[doc = "Floating-point add across vector"]
584#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_f32)"]
585#[inline]
586#[target_feature(enable = "neon")]
587#[stable(feature = "neon_intrinsics", since = "1.59.0")]
588#[cfg_attr(test, assert_instr(faddp))]
589pub fn vaddvq_f32(a: float32x4_t) -> f32 {
590 unsafe extern "unadjusted" {
591 #[cfg_attr(
592 any(target_arch = "aarch64", target_arch = "arm64ec"),
593 link_name = "llvm.aarch64.neon.faddv.f32.v4f32"
594 )]
595 fn _vaddvq_f32(a: float32x4_t) -> f32;
596 }
597 unsafe { _vaddvq_f32(a) }
598}
599#[doc = "Floating-point add across vector"]
600#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_f64)"]
601#[inline]
602#[target_feature(enable = "neon")]
603#[stable(feature = "neon_intrinsics", since = "1.59.0")]
604#[cfg_attr(test, assert_instr(faddp))]
605pub fn vaddvq_f64(a: float64x2_t) -> f64 {
606 unsafe extern "unadjusted" {
607 #[cfg_attr(
608 any(target_arch = "aarch64", target_arch = "arm64ec"),
609 link_name = "llvm.aarch64.neon.faddv.f64.v2f64"
610 )]
611 fn _vaddvq_f64(a: float64x2_t) -> f64;
612 }
613 unsafe { _vaddvq_f64(a) }
614}
615#[doc = "Add across vector"]
616#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_s32)"]
617#[inline]
618#[target_feature(enable = "neon")]
619#[stable(feature = "neon_intrinsics", since = "1.59.0")]
620#[cfg_attr(test, assert_instr(addp))]
621pub fn vaddv_s32(a: int32x2_t) -> i32 {
622 unsafe { simd_reduce_add_ordered(a, 0) }
623}
624#[doc = "Add across vector"]
625#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_s8)"]
626#[inline]
627#[target_feature(enable = "neon")]
628#[stable(feature = "neon_intrinsics", since = "1.59.0")]
629#[cfg_attr(test, assert_instr(addv))]
630pub fn vaddv_s8(a: int8x8_t) -> i8 {
631 unsafe { simd_reduce_add_ordered(a, 0) }
632}
633#[doc = "Add across vector"]
634#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_s8)"]
635#[inline]
636#[target_feature(enable = "neon")]
637#[stable(feature = "neon_intrinsics", since = "1.59.0")]
638#[cfg_attr(test, assert_instr(addv))]
639pub fn vaddvq_s8(a: int8x16_t) -> i8 {
640 unsafe { simd_reduce_add_ordered(a, 0) }
641}
642#[doc = "Add across vector"]
643#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_s16)"]
644#[inline]
645#[target_feature(enable = "neon")]
646#[stable(feature = "neon_intrinsics", since = "1.59.0")]
647#[cfg_attr(test, assert_instr(addv))]
648pub fn vaddv_s16(a: int16x4_t) -> i16 {
649 unsafe { simd_reduce_add_ordered(a, 0) }
650}
651#[doc = "Add across vector"]
652#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_s16)"]
653#[inline]
654#[target_feature(enable = "neon")]
655#[stable(feature = "neon_intrinsics", since = "1.59.0")]
656#[cfg_attr(test, assert_instr(addv))]
657pub fn vaddvq_s16(a: int16x8_t) -> i16 {
658 unsafe { simd_reduce_add_ordered(a, 0) }
659}
660#[doc = "Add across vector"]
661#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_s32)"]
662#[inline]
663#[target_feature(enable = "neon")]
664#[stable(feature = "neon_intrinsics", since = "1.59.0")]
665#[cfg_attr(test, assert_instr(addv))]
666pub fn vaddvq_s32(a: int32x4_t) -> i32 {
667 unsafe { simd_reduce_add_ordered(a, 0) }
668}
669#[doc = "Add across vector"]
670#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_u32)"]
671#[inline]
672#[target_feature(enable = "neon")]
673#[stable(feature = "neon_intrinsics", since = "1.59.0")]
674#[cfg_attr(test, assert_instr(addp))]
675pub fn vaddv_u32(a: uint32x2_t) -> u32 {
676 unsafe { simd_reduce_add_ordered(a, 0) }
677}
678#[doc = "Add across vector"]
679#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_u8)"]
680#[inline]
681#[target_feature(enable = "neon")]
682#[stable(feature = "neon_intrinsics", since = "1.59.0")]
683#[cfg_attr(test, assert_instr(addv))]
684pub fn vaddv_u8(a: uint8x8_t) -> u8 {
685 unsafe { simd_reduce_add_ordered(a, 0) }
686}
687#[doc = "Add across vector"]
688#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_u8)"]
689#[inline]
690#[target_feature(enable = "neon")]
691#[stable(feature = "neon_intrinsics", since = "1.59.0")]
692#[cfg_attr(test, assert_instr(addv))]
693pub fn vaddvq_u8(a: uint8x16_t) -> u8 {
694 unsafe { simd_reduce_add_ordered(a, 0) }
695}
696#[doc = "Add across vector"]
697#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_u16)"]
698#[inline]
699#[target_feature(enable = "neon")]
700#[stable(feature = "neon_intrinsics", since = "1.59.0")]
701#[cfg_attr(test, assert_instr(addv))]
702pub fn vaddv_u16(a: uint16x4_t) -> u16 {
703 unsafe { simd_reduce_add_ordered(a, 0) }
704}
705#[doc = "Add across vector"]
706#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_u16)"]
707#[inline]
708#[target_feature(enable = "neon")]
709#[stable(feature = "neon_intrinsics", since = "1.59.0")]
710#[cfg_attr(test, assert_instr(addv))]
711pub fn vaddvq_u16(a: uint16x8_t) -> u16 {
712 unsafe { simd_reduce_add_ordered(a, 0) }
713}
714#[doc = "Add across vector"]
715#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_u32)"]
716#[inline]
717#[target_feature(enable = "neon")]
718#[stable(feature = "neon_intrinsics", since = "1.59.0")]
719#[cfg_attr(test, assert_instr(addv))]
720pub fn vaddvq_u32(a: uint32x4_t) -> u32 {
721 unsafe { simd_reduce_add_ordered(a, 0) }
722}
723#[doc = "Add across vector"]
724#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_s64)"]
725#[inline]
726#[target_feature(enable = "neon")]
727#[stable(feature = "neon_intrinsics", since = "1.59.0")]
728#[cfg_attr(test, assert_instr(addp))]
729pub fn vaddvq_s64(a: int64x2_t) -> i64 {
730 unsafe { simd_reduce_add_ordered(a, 0) }
731}
732#[doc = "Add across vector"]
733#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddvq_u64)"]
734#[inline]
735#[target_feature(enable = "neon")]
736#[stable(feature = "neon_intrinsics", since = "1.59.0")]
737#[cfg_attr(test, assert_instr(addp))]
738pub fn vaddvq_u64(a: uint64x2_t) -> u64 {
739 unsafe { simd_reduce_add_ordered(a, 0) }
740}
741#[doc = "Multi-vector floating-point absolute maximum"]
742#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamax_f16)"]
743#[inline]
744#[target_feature(enable = "neon,faminmax")]
745#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famax))]
746#[unstable(feature = "faminmax", issue = "137933")]
747pub fn vamax_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t {
748 unsafe extern "unadjusted" {
749 #[cfg_attr(
750 any(target_arch = "aarch64", target_arch = "arm64ec"),
751 link_name = "llvm.aarch64.neon.famax.v4f16"
752 )]
753 fn _vamax_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t;
754 }
755 unsafe { _vamax_f16(a, b) }
756}
757#[doc = "Multi-vector floating-point absolute maximum"]
758#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamaxq_f16)"]
759#[inline]
760#[target_feature(enable = "neon,faminmax")]
761#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famax))]
762#[unstable(feature = "faminmax", issue = "137933")]
763pub fn vamaxq_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t {
764 unsafe extern "unadjusted" {
765 #[cfg_attr(
766 any(target_arch = "aarch64", target_arch = "arm64ec"),
767 link_name = "llvm.aarch64.neon.famax.v8f16"
768 )]
769 fn _vamaxq_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t;
770 }
771 unsafe { _vamaxq_f16(a, b) }
772}
773#[doc = "Multi-vector floating-point absolute maximum"]
774#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamax_f32)"]
775#[inline]
776#[target_feature(enable = "neon,faminmax")]
777#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famax))]
778#[unstable(feature = "faminmax", issue = "137933")]
779pub fn vamax_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
780 unsafe extern "unadjusted" {
781 #[cfg_attr(
782 any(target_arch = "aarch64", target_arch = "arm64ec"),
783 link_name = "llvm.aarch64.neon.famax.v2f32"
784 )]
785 fn _vamax_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
786 }
787 unsafe { _vamax_f32(a, b) }
788}
789#[doc = "Multi-vector floating-point absolute maximum"]
790#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamaxq_f32)"]
791#[inline]
792#[target_feature(enable = "neon,faminmax")]
793#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famax))]
794#[unstable(feature = "faminmax", issue = "137933")]
795pub fn vamaxq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
796 unsafe extern "unadjusted" {
797 #[cfg_attr(
798 any(target_arch = "aarch64", target_arch = "arm64ec"),
799 link_name = "llvm.aarch64.neon.famax.v4f32"
800 )]
801 fn _vamaxq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
802 }
803 unsafe { _vamaxq_f32(a, b) }
804}
805#[doc = "Multi-vector floating-point absolute maximum"]
806#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamaxq_f64)"]
807#[inline]
808#[target_feature(enable = "neon,faminmax")]
809#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famax))]
810#[unstable(feature = "faminmax", issue = "137933")]
811pub fn vamaxq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
812 unsafe extern "unadjusted" {
813 #[cfg_attr(
814 any(target_arch = "aarch64", target_arch = "arm64ec"),
815 link_name = "llvm.aarch64.neon.famax.v2f64"
816 )]
817 fn _vamaxq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
818 }
819 unsafe { _vamaxq_f64(a, b) }
820}
821#[doc = "Multi-vector floating-point absolute minimum"]
822#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamin_f16)"]
823#[inline]
824#[target_feature(enable = "neon,faminmax")]
825#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famin))]
826#[unstable(feature = "faminmax", issue = "137933")]
827pub fn vamin_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t {
828 unsafe extern "unadjusted" {
829 #[cfg_attr(
830 any(target_arch = "aarch64", target_arch = "arm64ec"),
831 link_name = "llvm.aarch64.neon.famin.v4f16"
832 )]
833 fn _vamin_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t;
834 }
835 unsafe { _vamin_f16(a, b) }
836}
837#[doc = "Multi-vector floating-point absolute minimum"]
838#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaminq_f16)"]
839#[inline]
840#[target_feature(enable = "neon,faminmax")]
841#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famin))]
842#[unstable(feature = "faminmax", issue = "137933")]
843pub fn vaminq_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t {
844 unsafe extern "unadjusted" {
845 #[cfg_attr(
846 any(target_arch = "aarch64", target_arch = "arm64ec"),
847 link_name = "llvm.aarch64.neon.famin.v8f16"
848 )]
849 fn _vaminq_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t;
850 }
851 unsafe { _vaminq_f16(a, b) }
852}
853#[doc = "Multi-vector floating-point absolute minimum"]
854#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamin_f32)"]
855#[inline]
856#[target_feature(enable = "neon,faminmax")]
857#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famin))]
858#[unstable(feature = "faminmax", issue = "137933")]
859pub fn vamin_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
860 unsafe extern "unadjusted" {
861 #[cfg_attr(
862 any(target_arch = "aarch64", target_arch = "arm64ec"),
863 link_name = "llvm.aarch64.neon.famin.v2f32"
864 )]
865 fn _vamin_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
866 }
867 unsafe { _vamin_f32(a, b) }
868}
869#[doc = "Multi-vector floating-point absolute minimum"]
870#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaminq_f32)"]
871#[inline]
872#[target_feature(enable = "neon,faminmax")]
873#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famin))]
874#[unstable(feature = "faminmax", issue = "137933")]
875pub fn vaminq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
876 unsafe extern "unadjusted" {
877 #[cfg_attr(
878 any(target_arch = "aarch64", target_arch = "arm64ec"),
879 link_name = "llvm.aarch64.neon.famin.v4f32"
880 )]
881 fn _vaminq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
882 }
883 unsafe { _vaminq_f32(a, b) }
884}
885#[doc = "Multi-vector floating-point absolute minimum"]
886#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaminq_f64)"]
887#[inline]
888#[target_feature(enable = "neon,faminmax")]
889#[cfg_attr(all(test, not(target_env = "msvc")), assert_instr(famin))]
890#[unstable(feature = "faminmax", issue = "137933")]
891pub fn vaminq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
892 unsafe extern "unadjusted" {
893 #[cfg_attr(
894 any(target_arch = "aarch64", target_arch = "arm64ec"),
895 link_name = "llvm.aarch64.neon.famin.v2f64"
896 )]
897 fn _vaminq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
898 }
899 unsafe { _vaminq_f64(a, b) }
900}
901#[doc = "Bit clear and exclusive OR"]
902#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_s8)"]
903#[inline]
904#[target_feature(enable = "neon,sha3")]
905#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
906#[cfg_attr(test, assert_instr(bcax))]
907pub fn vbcaxq_s8(a: int8x16_t, b: int8x16_t, c: int8x16_t) -> int8x16_t {
908 unsafe extern "unadjusted" {
909 #[cfg_attr(
910 any(target_arch = "aarch64", target_arch = "arm64ec"),
911 link_name = "llvm.aarch64.crypto.bcaxs.v16i8"
912 )]
913 fn _vbcaxq_s8(a: int8x16_t, b: int8x16_t, c: int8x16_t) -> int8x16_t;
914 }
915 unsafe { _vbcaxq_s8(a, b, c) }
916}
917#[doc = "Bit clear and exclusive OR"]
918#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_s16)"]
919#[inline]
920#[target_feature(enable = "neon,sha3")]
921#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
922#[cfg_attr(test, assert_instr(bcax))]
923pub fn vbcaxq_s16(a: int16x8_t, b: int16x8_t, c: int16x8_t) -> int16x8_t {
924 unsafe extern "unadjusted" {
925 #[cfg_attr(
926 any(target_arch = "aarch64", target_arch = "arm64ec"),
927 link_name = "llvm.aarch64.crypto.bcaxs.v8i16"
928 )]
929 fn _vbcaxq_s16(a: int16x8_t, b: int16x8_t, c: int16x8_t) -> int16x8_t;
930 }
931 unsafe { _vbcaxq_s16(a, b, c) }
932}
933#[doc = "Bit clear and exclusive OR"]
934#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_s32)"]
935#[inline]
936#[target_feature(enable = "neon,sha3")]
937#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
938#[cfg_attr(test, assert_instr(bcax))]
939pub fn vbcaxq_s32(a: int32x4_t, b: int32x4_t, c: int32x4_t) -> int32x4_t {
940 unsafe extern "unadjusted" {
941 #[cfg_attr(
942 any(target_arch = "aarch64", target_arch = "arm64ec"),
943 link_name = "llvm.aarch64.crypto.bcaxs.v4i32"
944 )]
945 fn _vbcaxq_s32(a: int32x4_t, b: int32x4_t, c: int32x4_t) -> int32x4_t;
946 }
947 unsafe { _vbcaxq_s32(a, b, c) }
948}
949#[doc = "Bit clear and exclusive OR"]
950#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_s64)"]
951#[inline]
952#[target_feature(enable = "neon,sha3")]
953#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
954#[cfg_attr(test, assert_instr(bcax))]
955pub fn vbcaxq_s64(a: int64x2_t, b: int64x2_t, c: int64x2_t) -> int64x2_t {
956 unsafe extern "unadjusted" {
957 #[cfg_attr(
958 any(target_arch = "aarch64", target_arch = "arm64ec"),
959 link_name = "llvm.aarch64.crypto.bcaxs.v2i64"
960 )]
961 fn _vbcaxq_s64(a: int64x2_t, b: int64x2_t, c: int64x2_t) -> int64x2_t;
962 }
963 unsafe { _vbcaxq_s64(a, b, c) }
964}
965#[doc = "Bit clear and exclusive OR"]
966#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_u8)"]
967#[inline]
968#[target_feature(enable = "neon,sha3")]
969#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
970#[cfg_attr(test, assert_instr(bcax))]
971pub fn vbcaxq_u8(a: uint8x16_t, b: uint8x16_t, c: uint8x16_t) -> uint8x16_t {
972 unsafe extern "unadjusted" {
973 #[cfg_attr(
974 any(target_arch = "aarch64", target_arch = "arm64ec"),
975 link_name = "llvm.aarch64.crypto.bcaxu.v16i8"
976 )]
977 fn _vbcaxq_u8(a: uint8x16_t, b: uint8x16_t, c: uint8x16_t) -> uint8x16_t;
978 }
979 unsafe { _vbcaxq_u8(a, b, c) }
980}
981#[doc = "Bit clear and exclusive OR"]
982#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_u16)"]
983#[inline]
984#[target_feature(enable = "neon,sha3")]
985#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
986#[cfg_attr(test, assert_instr(bcax))]
987pub fn vbcaxq_u16(a: uint16x8_t, b: uint16x8_t, c: uint16x8_t) -> uint16x8_t {
988 unsafe extern "unadjusted" {
989 #[cfg_attr(
990 any(target_arch = "aarch64", target_arch = "arm64ec"),
991 link_name = "llvm.aarch64.crypto.bcaxu.v8i16"
992 )]
993 fn _vbcaxq_u16(a: uint16x8_t, b: uint16x8_t, c: uint16x8_t) -> uint16x8_t;
994 }
995 unsafe { _vbcaxq_u16(a, b, c) }
996}
997#[doc = "Bit clear and exclusive OR"]
998#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_u32)"]
999#[inline]
1000#[target_feature(enable = "neon,sha3")]
1001#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
1002#[cfg_attr(test, assert_instr(bcax))]
1003pub fn vbcaxq_u32(a: uint32x4_t, b: uint32x4_t, c: uint32x4_t) -> uint32x4_t {
1004 unsafe extern "unadjusted" {
1005 #[cfg_attr(
1006 any(target_arch = "aarch64", target_arch = "arm64ec"),
1007 link_name = "llvm.aarch64.crypto.bcaxu.v4i32"
1008 )]
1009 fn _vbcaxq_u32(a: uint32x4_t, b: uint32x4_t, c: uint32x4_t) -> uint32x4_t;
1010 }
1011 unsafe { _vbcaxq_u32(a, b, c) }
1012}
1013#[doc = "Bit clear and exclusive OR"]
1014#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_u64)"]
1015#[inline]
1016#[target_feature(enable = "neon,sha3")]
1017#[stable(feature = "stdarch_neon_sha3", since = "1.79.0")]
1018#[cfg_attr(test, assert_instr(bcax))]
1019pub fn vbcaxq_u64(a: uint64x2_t, b: uint64x2_t, c: uint64x2_t) -> uint64x2_t {
1020 unsafe extern "unadjusted" {
1021 #[cfg_attr(
1022 any(target_arch = "aarch64", target_arch = "arm64ec"),
1023 link_name = "llvm.aarch64.crypto.bcaxu.v2i64"
1024 )]
1025 fn _vbcaxq_u64(a: uint64x2_t, b: uint64x2_t, c: uint64x2_t) -> uint64x2_t;
1026 }
1027 unsafe { _vbcaxq_u64(a, b, c) }
1028}
1029#[doc = "Floating-point complex add"]
1030#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot270_f16)"]
1031#[inline]
1032#[cfg(target_endian = "little")]
1033#[target_feature(enable = "neon,fp16")]
1034#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1035#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1036#[cfg(not(target_arch = "arm64ec"))]
1037#[cfg_attr(test, assert_instr(fcadd))]
1038pub fn vcadd_rot270_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t {
1039 unsafe extern "unadjusted" {
1040 #[cfg_attr(
1041 any(target_arch = "aarch64", target_arch = "arm64ec"),
1042 link_name = "llvm.aarch64.neon.vcadd.rot270.v4f16"
1043 )]
1044 fn _vcadd_rot270_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t;
1045 }
1046 unsafe { _vcadd_rot270_f16(a, b) }
1047}
1048#[doc = "Floating-point complex add"]
1049#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot270_f16)"]
1050#[inline]
1051#[cfg(target_endian = "big")]
1052#[target_feature(enable = "neon,fp16")]
1053#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1054#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1055#[cfg(not(target_arch = "arm64ec"))]
1056#[cfg_attr(test, assert_instr(fcadd))]
1057pub fn vcadd_rot270_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t {
1058 unsafe extern "unadjusted" {
1059 #[cfg_attr(
1060 any(target_arch = "aarch64", target_arch = "arm64ec"),
1061 link_name = "llvm.aarch64.neon.vcadd.rot270.v4f16"
1062 )]
1063 fn _vcadd_rot270_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t;
1064 }
1065 unsafe {
1066 let a: float16x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
1067 let b: float16x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
1068 let ret_val: float16x4_t = _vcadd_rot270_f16(a, b);
1069 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
1070 }
1071}
1072#[doc = "Floating-point complex add"]
1073#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot270_f16)"]
1074#[inline]
1075#[cfg(target_endian = "little")]
1076#[target_feature(enable = "neon,fp16")]
1077#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1078#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1079#[cfg(not(target_arch = "arm64ec"))]
1080#[cfg_attr(test, assert_instr(fcadd))]
1081pub fn vcaddq_rot270_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t {
1082 unsafe extern "unadjusted" {
1083 #[cfg_attr(
1084 any(target_arch = "aarch64", target_arch = "arm64ec"),
1085 link_name = "llvm.aarch64.neon.vcadd.rot270.v8f16"
1086 )]
1087 fn _vcaddq_rot270_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t;
1088 }
1089 unsafe { _vcaddq_rot270_f16(a, b) }
1090}
1091#[doc = "Floating-point complex add"]
1092#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot270_f16)"]
1093#[inline]
1094#[cfg(target_endian = "big")]
1095#[target_feature(enable = "neon,fp16")]
1096#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1097#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1098#[cfg(not(target_arch = "arm64ec"))]
1099#[cfg_attr(test, assert_instr(fcadd))]
1100pub fn vcaddq_rot270_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t {
1101 unsafe extern "unadjusted" {
1102 #[cfg_attr(
1103 any(target_arch = "aarch64", target_arch = "arm64ec"),
1104 link_name = "llvm.aarch64.neon.vcadd.rot270.v8f16"
1105 )]
1106 fn _vcaddq_rot270_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t;
1107 }
1108 unsafe {
1109 let a: float16x8_t = simd_shuffle!(a, a, [7, 6, 5, 4, 3, 2, 1, 0]);
1110 let b: float16x8_t = simd_shuffle!(b, b, [7, 6, 5, 4, 3, 2, 1, 0]);
1111 let ret_val: float16x8_t = _vcaddq_rot270_f16(a, b);
1112 simd_shuffle!(ret_val, ret_val, [7, 6, 5, 4, 3, 2, 1, 0])
1113 }
1114}
1115#[doc = "Floating-point complex add"]
1116#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot270_f32)"]
1117#[inline]
1118#[cfg(target_endian = "little")]
1119#[target_feature(enable = "neon,fcma")]
1120#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1121#[cfg_attr(test, assert_instr(fcadd))]
1122pub fn vcadd_rot270_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
1123 unsafe extern "unadjusted" {
1124 #[cfg_attr(
1125 any(target_arch = "aarch64", target_arch = "arm64ec"),
1126 link_name = "llvm.aarch64.neon.vcadd.rot270.v2f32"
1127 )]
1128 fn _vcadd_rot270_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
1129 }
1130 unsafe { _vcadd_rot270_f32(a, b) }
1131}
1132#[doc = "Floating-point complex add"]
1133#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot270_f32)"]
1134#[inline]
1135#[cfg(target_endian = "big")]
1136#[target_feature(enable = "neon,fcma")]
1137#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1138#[cfg_attr(test, assert_instr(fcadd))]
1139pub fn vcadd_rot270_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
1140 unsafe extern "unadjusted" {
1141 #[cfg_attr(
1142 any(target_arch = "aarch64", target_arch = "arm64ec"),
1143 link_name = "llvm.aarch64.neon.vcadd.rot270.v2f32"
1144 )]
1145 fn _vcadd_rot270_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
1146 }
1147 unsafe {
1148 let a: float32x2_t = simd_shuffle!(a, a, [1, 0]);
1149 let b: float32x2_t = simd_shuffle!(b, b, [1, 0]);
1150 let ret_val: float32x2_t = _vcadd_rot270_f32(a, b);
1151 simd_shuffle!(ret_val, ret_val, [1, 0])
1152 }
1153}
1154#[doc = "Floating-point complex add"]
1155#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot270_f32)"]
1156#[inline]
1157#[cfg(target_endian = "little")]
1158#[target_feature(enable = "neon,fcma")]
1159#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1160#[cfg_attr(test, assert_instr(fcadd))]
1161pub fn vcaddq_rot270_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
1162 unsafe extern "unadjusted" {
1163 #[cfg_attr(
1164 any(target_arch = "aarch64", target_arch = "arm64ec"),
1165 link_name = "llvm.aarch64.neon.vcadd.rot270.v4f32"
1166 )]
1167 fn _vcaddq_rot270_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
1168 }
1169 unsafe { _vcaddq_rot270_f32(a, b) }
1170}
1171#[doc = "Floating-point complex add"]
1172#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot270_f32)"]
1173#[inline]
1174#[cfg(target_endian = "big")]
1175#[target_feature(enable = "neon,fcma")]
1176#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1177#[cfg_attr(test, assert_instr(fcadd))]
1178pub fn vcaddq_rot270_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
1179 unsafe extern "unadjusted" {
1180 #[cfg_attr(
1181 any(target_arch = "aarch64", target_arch = "arm64ec"),
1182 link_name = "llvm.aarch64.neon.vcadd.rot270.v4f32"
1183 )]
1184 fn _vcaddq_rot270_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
1185 }
1186 unsafe {
1187 let a: float32x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
1188 let b: float32x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
1189 let ret_val: float32x4_t = _vcaddq_rot270_f32(a, b);
1190 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
1191 }
1192}
1193#[doc = "Floating-point complex add"]
1194#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot270_f64)"]
1195#[inline]
1196#[cfg(target_endian = "little")]
1197#[target_feature(enable = "neon,fcma")]
1198#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1199#[cfg_attr(test, assert_instr(fcadd))]
1200pub fn vcaddq_rot270_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
1201 unsafe extern "unadjusted" {
1202 #[cfg_attr(
1203 any(target_arch = "aarch64", target_arch = "arm64ec"),
1204 link_name = "llvm.aarch64.neon.vcadd.rot270.v2f64"
1205 )]
1206 fn _vcaddq_rot270_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
1207 }
1208 unsafe { _vcaddq_rot270_f64(a, b) }
1209}
1210#[doc = "Floating-point complex add"]
1211#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot270_f64)"]
1212#[inline]
1213#[cfg(target_endian = "big")]
1214#[target_feature(enable = "neon,fcma")]
1215#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1216#[cfg_attr(test, assert_instr(fcadd))]
1217pub fn vcaddq_rot270_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
1218 unsafe extern "unadjusted" {
1219 #[cfg_attr(
1220 any(target_arch = "aarch64", target_arch = "arm64ec"),
1221 link_name = "llvm.aarch64.neon.vcadd.rot270.v2f64"
1222 )]
1223 fn _vcaddq_rot270_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
1224 }
1225 unsafe {
1226 let a: float64x2_t = simd_shuffle!(a, a, [1, 0]);
1227 let b: float64x2_t = simd_shuffle!(b, b, [1, 0]);
1228 let ret_val: float64x2_t = _vcaddq_rot270_f64(a, b);
1229 simd_shuffle!(ret_val, ret_val, [1, 0])
1230 }
1231}
1232#[doc = "Floating-point complex add"]
1233#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot90_f16)"]
1234#[inline]
1235#[cfg(target_endian = "little")]
1236#[target_feature(enable = "neon,fp16")]
1237#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1238#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1239#[cfg(not(target_arch = "arm64ec"))]
1240#[cfg_attr(test, assert_instr(fcadd))]
1241pub fn vcadd_rot90_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t {
1242 unsafe extern "unadjusted" {
1243 #[cfg_attr(
1244 any(target_arch = "aarch64", target_arch = "arm64ec"),
1245 link_name = "llvm.aarch64.neon.vcadd.rot90.v4f16"
1246 )]
1247 fn _vcadd_rot90_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t;
1248 }
1249 unsafe { _vcadd_rot90_f16(a, b) }
1250}
1251#[doc = "Floating-point complex add"]
1252#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot90_f16)"]
1253#[inline]
1254#[cfg(target_endian = "big")]
1255#[target_feature(enable = "neon,fp16")]
1256#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1257#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1258#[cfg(not(target_arch = "arm64ec"))]
1259#[cfg_attr(test, assert_instr(fcadd))]
1260pub fn vcadd_rot90_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t {
1261 unsafe extern "unadjusted" {
1262 #[cfg_attr(
1263 any(target_arch = "aarch64", target_arch = "arm64ec"),
1264 link_name = "llvm.aarch64.neon.vcadd.rot90.v4f16"
1265 )]
1266 fn _vcadd_rot90_f16(a: float16x4_t, b: float16x4_t) -> float16x4_t;
1267 }
1268 unsafe {
1269 let a: float16x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
1270 let b: float16x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
1271 let ret_val: float16x4_t = _vcadd_rot90_f16(a, b);
1272 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
1273 }
1274}
1275#[doc = "Floating-point complex add"]
1276#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot90_f16)"]
1277#[inline]
1278#[cfg(target_endian = "little")]
1279#[target_feature(enable = "neon,fp16")]
1280#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1281#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1282#[cfg(not(target_arch = "arm64ec"))]
1283#[cfg_attr(test, assert_instr(fcadd))]
1284pub fn vcaddq_rot90_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t {
1285 unsafe extern "unadjusted" {
1286 #[cfg_attr(
1287 any(target_arch = "aarch64", target_arch = "arm64ec"),
1288 link_name = "llvm.aarch64.neon.vcadd.rot90.v8f16"
1289 )]
1290 fn _vcaddq_rot90_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t;
1291 }
1292 unsafe { _vcaddq_rot90_f16(a, b) }
1293}
1294#[doc = "Floating-point complex add"]
1295#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot90_f16)"]
1296#[inline]
1297#[cfg(target_endian = "big")]
1298#[target_feature(enable = "neon,fp16")]
1299#[cfg_attr(not(target_arch = "arm"), target_feature(enable = "fcma"))]
1300#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1301#[cfg(not(target_arch = "arm64ec"))]
1302#[cfg_attr(test, assert_instr(fcadd))]
1303pub fn vcaddq_rot90_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t {
1304 unsafe extern "unadjusted" {
1305 #[cfg_attr(
1306 any(target_arch = "aarch64", target_arch = "arm64ec"),
1307 link_name = "llvm.aarch64.neon.vcadd.rot90.v8f16"
1308 )]
1309 fn _vcaddq_rot90_f16(a: float16x8_t, b: float16x8_t) -> float16x8_t;
1310 }
1311 unsafe {
1312 let a: float16x8_t = simd_shuffle!(a, a, [7, 6, 5, 4, 3, 2, 1, 0]);
1313 let b: float16x8_t = simd_shuffle!(b, b, [7, 6, 5, 4, 3, 2, 1, 0]);
1314 let ret_val: float16x8_t = _vcaddq_rot90_f16(a, b);
1315 simd_shuffle!(ret_val, ret_val, [7, 6, 5, 4, 3, 2, 1, 0])
1316 }
1317}
1318#[doc = "Floating-point complex add"]
1319#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot90_f32)"]
1320#[inline]
1321#[cfg(target_endian = "little")]
1322#[target_feature(enable = "neon,fcma")]
1323#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1324#[cfg_attr(test, assert_instr(fcadd))]
1325pub fn vcadd_rot90_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
1326 unsafe extern "unadjusted" {
1327 #[cfg_attr(
1328 any(target_arch = "aarch64", target_arch = "arm64ec"),
1329 link_name = "llvm.aarch64.neon.vcadd.rot90.v2f32"
1330 )]
1331 fn _vcadd_rot90_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
1332 }
1333 unsafe { _vcadd_rot90_f32(a, b) }
1334}
1335#[doc = "Floating-point complex add"]
1336#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcadd_rot90_f32)"]
1337#[inline]
1338#[cfg(target_endian = "big")]
1339#[target_feature(enable = "neon,fcma")]
1340#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1341#[cfg_attr(test, assert_instr(fcadd))]
1342pub fn vcadd_rot90_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
1343 unsafe extern "unadjusted" {
1344 #[cfg_attr(
1345 any(target_arch = "aarch64", target_arch = "arm64ec"),
1346 link_name = "llvm.aarch64.neon.vcadd.rot90.v2f32"
1347 )]
1348 fn _vcadd_rot90_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
1349 }
1350 unsafe {
1351 let a: float32x2_t = simd_shuffle!(a, a, [1, 0]);
1352 let b: float32x2_t = simd_shuffle!(b, b, [1, 0]);
1353 let ret_val: float32x2_t = _vcadd_rot90_f32(a, b);
1354 simd_shuffle!(ret_val, ret_val, [1, 0])
1355 }
1356}
1357#[doc = "Floating-point complex add"]
1358#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot90_f32)"]
1359#[inline]
1360#[cfg(target_endian = "little")]
1361#[target_feature(enable = "neon,fcma")]
1362#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1363#[cfg_attr(test, assert_instr(fcadd))]
1364pub fn vcaddq_rot90_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
1365 unsafe extern "unadjusted" {
1366 #[cfg_attr(
1367 any(target_arch = "aarch64", target_arch = "arm64ec"),
1368 link_name = "llvm.aarch64.neon.vcadd.rot90.v4f32"
1369 )]
1370 fn _vcaddq_rot90_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
1371 }
1372 unsafe { _vcaddq_rot90_f32(a, b) }
1373}
1374#[doc = "Floating-point complex add"]
1375#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot90_f32)"]
1376#[inline]
1377#[cfg(target_endian = "big")]
1378#[target_feature(enable = "neon,fcma")]
1379#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1380#[cfg_attr(test, assert_instr(fcadd))]
1381pub fn vcaddq_rot90_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
1382 unsafe extern "unadjusted" {
1383 #[cfg_attr(
1384 any(target_arch = "aarch64", target_arch = "arm64ec"),
1385 link_name = "llvm.aarch64.neon.vcadd.rot90.v4f32"
1386 )]
1387 fn _vcaddq_rot90_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
1388 }
1389 unsafe {
1390 let a: float32x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
1391 let b: float32x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
1392 let ret_val: float32x4_t = _vcaddq_rot90_f32(a, b);
1393 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
1394 }
1395}
1396#[doc = "Floating-point complex add"]
1397#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot90_f64)"]
1398#[inline]
1399#[cfg(target_endian = "little")]
1400#[target_feature(enable = "neon,fcma")]
1401#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1402#[cfg_attr(test, assert_instr(fcadd))]
1403pub fn vcaddq_rot90_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
1404 unsafe extern "unadjusted" {
1405 #[cfg_attr(
1406 any(target_arch = "aarch64", target_arch = "arm64ec"),
1407 link_name = "llvm.aarch64.neon.vcadd.rot90.v2f64"
1408 )]
1409 fn _vcaddq_rot90_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
1410 }
1411 unsafe { _vcaddq_rot90_f64(a, b) }
1412}
1413#[doc = "Floating-point complex add"]
1414#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaddq_rot90_f64)"]
1415#[inline]
1416#[cfg(target_endian = "big")]
1417#[target_feature(enable = "neon,fcma")]
1418#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
1419#[cfg_attr(test, assert_instr(fcadd))]
1420pub fn vcaddq_rot90_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
1421 unsafe extern "unadjusted" {
1422 #[cfg_attr(
1423 any(target_arch = "aarch64", target_arch = "arm64ec"),
1424 link_name = "llvm.aarch64.neon.vcadd.rot90.v2f64"
1425 )]
1426 fn _vcaddq_rot90_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
1427 }
1428 unsafe {
1429 let a: float64x2_t = simd_shuffle!(a, a, [1, 0]);
1430 let b: float64x2_t = simd_shuffle!(b, b, [1, 0]);
1431 let ret_val: float64x2_t = _vcaddq_rot90_f64(a, b);
1432 simd_shuffle!(ret_val, ret_val, [1, 0])
1433 }
1434}
1435#[doc = "Floating-point absolute compare greater than or equal"]
1436#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcage_f64)"]
1437#[inline]
1438#[target_feature(enable = "neon")]
1439#[cfg_attr(test, assert_instr(facge))]
1440#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1441pub fn vcage_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
1442 unsafe extern "unadjusted" {
1443 #[cfg_attr(
1444 any(target_arch = "aarch64", target_arch = "arm64ec"),
1445 link_name = "llvm.aarch64.neon.facge.v1i64.v1f64"
1446 )]
1447 fn _vcage_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t;
1448 }
1449 unsafe { _vcage_f64(a, b) }
1450}
1451#[doc = "Floating-point absolute compare greater than or equal"]
1452#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcageq_f64)"]
1453#[inline]
1454#[target_feature(enable = "neon")]
1455#[cfg_attr(test, assert_instr(facge))]
1456#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1457pub fn vcageq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
1458 unsafe extern "unadjusted" {
1459 #[cfg_attr(
1460 any(target_arch = "aarch64", target_arch = "arm64ec"),
1461 link_name = "llvm.aarch64.neon.facge.v2i64.v2f64"
1462 )]
1463 fn _vcageq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t;
1464 }
1465 unsafe { _vcageq_f64(a, b) }
1466}
1467#[doc = "Floating-point absolute compare greater than or equal"]
1468#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaged_f64)"]
1469#[inline]
1470#[target_feature(enable = "neon")]
1471#[cfg_attr(test, assert_instr(facge))]
1472#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1473pub fn vcaged_f64(a: f64, b: f64) -> u64 {
1474 unsafe extern "unadjusted" {
1475 #[cfg_attr(
1476 any(target_arch = "aarch64", target_arch = "arm64ec"),
1477 link_name = "llvm.aarch64.neon.facge.i64.f64"
1478 )]
1479 fn _vcaged_f64(a: f64, b: f64) -> u64;
1480 }
1481 unsafe { _vcaged_f64(a, b) }
1482}
1483#[doc = "Floating-point absolute compare greater than or equal"]
1484#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcages_f32)"]
1485#[inline]
1486#[target_feature(enable = "neon")]
1487#[cfg_attr(test, assert_instr(facge))]
1488#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1489pub fn vcages_f32(a: f32, b: f32) -> u32 {
1490 unsafe extern "unadjusted" {
1491 #[cfg_attr(
1492 any(target_arch = "aarch64", target_arch = "arm64ec"),
1493 link_name = "llvm.aarch64.neon.facge.i32.f32"
1494 )]
1495 fn _vcages_f32(a: f32, b: f32) -> u32;
1496 }
1497 unsafe { _vcages_f32(a, b) }
1498}
1499#[doc = "Floating-point absolute compare greater than or equal"]
1500#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcageh_f16)"]
1501#[inline]
1502#[cfg_attr(test, assert_instr(facge))]
1503#[target_feature(enable = "neon,fp16")]
1504#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
1505#[cfg(not(target_arch = "arm64ec"))]
1506pub fn vcageh_f16(a: f16, b: f16) -> u16 {
1507 unsafe extern "unadjusted" {
1508 #[cfg_attr(
1509 any(target_arch = "aarch64", target_arch = "arm64ec"),
1510 link_name = "llvm.aarch64.neon.facge.i32.f16"
1511 )]
1512 fn _vcageh_f16(a: f16, b: f16) -> i32;
1513 }
1514 unsafe { _vcageh_f16(a, b) as u16 }
1515}
1516#[doc = "Floating-point absolute compare greater than"]
1517#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcagt_f64)"]
1518#[inline]
1519#[target_feature(enable = "neon")]
1520#[cfg_attr(test, assert_instr(facgt))]
1521#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1522pub fn vcagt_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
1523 unsafe extern "unadjusted" {
1524 #[cfg_attr(
1525 any(target_arch = "aarch64", target_arch = "arm64ec"),
1526 link_name = "llvm.aarch64.neon.facgt.v1i64.v1f64"
1527 )]
1528 fn _vcagt_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t;
1529 }
1530 unsafe { _vcagt_f64(a, b) }
1531}
1532#[doc = "Floating-point absolute compare greater than"]
1533#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcagtq_f64)"]
1534#[inline]
1535#[target_feature(enable = "neon")]
1536#[cfg_attr(test, assert_instr(facgt))]
1537#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1538pub fn vcagtq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
1539 unsafe extern "unadjusted" {
1540 #[cfg_attr(
1541 any(target_arch = "aarch64", target_arch = "arm64ec"),
1542 link_name = "llvm.aarch64.neon.facgt.v2i64.v2f64"
1543 )]
1544 fn _vcagtq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t;
1545 }
1546 unsafe { _vcagtq_f64(a, b) }
1547}
1548#[doc = "Floating-point absolute compare greater than"]
1549#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcagtd_f64)"]
1550#[inline]
1551#[target_feature(enable = "neon")]
1552#[cfg_attr(test, assert_instr(facgt))]
1553#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1554pub fn vcagtd_f64(a: f64, b: f64) -> u64 {
1555 unsafe extern "unadjusted" {
1556 #[cfg_attr(
1557 any(target_arch = "aarch64", target_arch = "arm64ec"),
1558 link_name = "llvm.aarch64.neon.facgt.i64.f64"
1559 )]
1560 fn _vcagtd_f64(a: f64, b: f64) -> u64;
1561 }
1562 unsafe { _vcagtd_f64(a, b) }
1563}
1564#[doc = "Floating-point absolute compare greater than"]
1565#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcagts_f32)"]
1566#[inline]
1567#[target_feature(enable = "neon")]
1568#[cfg_attr(test, assert_instr(facgt))]
1569#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1570pub fn vcagts_f32(a: f32, b: f32) -> u32 {
1571 unsafe extern "unadjusted" {
1572 #[cfg_attr(
1573 any(target_arch = "aarch64", target_arch = "arm64ec"),
1574 link_name = "llvm.aarch64.neon.facgt.i32.f32"
1575 )]
1576 fn _vcagts_f32(a: f32, b: f32) -> u32;
1577 }
1578 unsafe { _vcagts_f32(a, b) }
1579}
1580#[doc = "Floating-point absolute compare greater than"]
1581#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcagth_f16)"]
1582#[inline]
1583#[cfg_attr(test, assert_instr(facgt))]
1584#[target_feature(enable = "neon,fp16")]
1585#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
1586#[cfg(not(target_arch = "arm64ec"))]
1587pub fn vcagth_f16(a: f16, b: f16) -> u16 {
1588 unsafe extern "unadjusted" {
1589 #[cfg_attr(
1590 any(target_arch = "aarch64", target_arch = "arm64ec"),
1591 link_name = "llvm.aarch64.neon.facgt.i32.f16"
1592 )]
1593 fn _vcagth_f16(a: f16, b: f16) -> i32;
1594 }
1595 unsafe { _vcagth_f16(a, b) as u16 }
1596}
1597#[doc = "Floating-point absolute compare less than or equal"]
1598#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcale_f64)"]
1599#[inline]
1600#[target_feature(enable = "neon")]
1601#[cfg_attr(test, assert_instr(facge))]
1602#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1603pub fn vcale_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
1604 vcage_f64(b, a)
1605}
1606#[doc = "Floating-point absolute compare less than or equal"]
1607#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaleq_f64)"]
1608#[inline]
1609#[target_feature(enable = "neon")]
1610#[cfg_attr(test, assert_instr(facge))]
1611#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1612pub fn vcaleq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
1613 vcageq_f64(b, a)
1614}
1615#[doc = "Floating-point absolute compare less than or equal"]
1616#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaled_f64)"]
1617#[inline]
1618#[target_feature(enable = "neon")]
1619#[cfg_attr(test, assert_instr(facge))]
1620#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1621pub fn vcaled_f64(a: f64, b: f64) -> u64 {
1622 vcaged_f64(b, a)
1623}
1624#[doc = "Floating-point absolute compare less than or equal"]
1625#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcales_f32)"]
1626#[inline]
1627#[target_feature(enable = "neon")]
1628#[cfg_attr(test, assert_instr(facge))]
1629#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1630pub fn vcales_f32(a: f32, b: f32) -> u32 {
1631 vcages_f32(b, a)
1632}
1633#[doc = "Floating-point absolute compare less than or equal"]
1634#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaleh_f16)"]
1635#[inline]
1636#[cfg_attr(test, assert_instr(facge))]
1637#[target_feature(enable = "neon,fp16")]
1638#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
1639#[cfg(not(target_arch = "arm64ec"))]
1640pub fn vcaleh_f16(a: f16, b: f16) -> u16 {
1641 vcageh_f16(b, a)
1642}
1643#[doc = "Floating-point absolute compare less than"]
1644#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcalt_f64)"]
1645#[inline]
1646#[target_feature(enable = "neon")]
1647#[cfg_attr(test, assert_instr(facgt))]
1648#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1649pub fn vcalt_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
1650 vcagt_f64(b, a)
1651}
1652#[doc = "Floating-point absolute compare less than"]
1653#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaltq_f64)"]
1654#[inline]
1655#[target_feature(enable = "neon")]
1656#[cfg_attr(test, assert_instr(facgt))]
1657#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1658pub fn vcaltq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
1659 vcagtq_f64(b, a)
1660}
1661#[doc = "Floating-point absolute compare less than"]
1662#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcaltd_f64)"]
1663#[inline]
1664#[target_feature(enable = "neon")]
1665#[cfg_attr(test, assert_instr(facgt))]
1666#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1667pub fn vcaltd_f64(a: f64, b: f64) -> u64 {
1668 vcagtd_f64(b, a)
1669}
1670#[doc = "Floating-point absolute compare less than"]
1671#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcalts_f32)"]
1672#[inline]
1673#[target_feature(enable = "neon")]
1674#[cfg_attr(test, assert_instr(facgt))]
1675#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1676pub fn vcalts_f32(a: f32, b: f32) -> u32 {
1677 vcagts_f32(b, a)
1678}
1679#[doc = "Floating-point absolute compare less than"]
1680#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcalth_f16)"]
1681#[inline]
1682#[cfg_attr(test, assert_instr(facgt))]
1683#[target_feature(enable = "neon,fp16")]
1684#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
1685#[cfg(not(target_arch = "arm64ec"))]
1686pub fn vcalth_f16(a: f16, b: f16) -> u16 {
1687 vcagth_f16(b, a)
1688}
1689#[doc = "Floating-point compare equal"]
1690#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceq_f64)"]
1691#[inline]
1692#[target_feature(enable = "neon")]
1693#[cfg_attr(test, assert_instr(fcmeq))]
1694#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1695pub fn vceq_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
1696 unsafe { simd_eq(a, b) }
1697}
1698#[doc = "Floating-point compare equal"]
1699#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqq_f64)"]
1700#[inline]
1701#[target_feature(enable = "neon")]
1702#[cfg_attr(test, assert_instr(fcmeq))]
1703#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1704pub fn vceqq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
1705 unsafe { simd_eq(a, b) }
1706}
1707#[doc = "Compare bitwise Equal (vector)"]
1708#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceq_s64)"]
1709#[inline]
1710#[target_feature(enable = "neon")]
1711#[cfg_attr(test, assert_instr(cmeq))]
1712#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1713pub fn vceq_s64(a: int64x1_t, b: int64x1_t) -> uint64x1_t {
1714 unsafe { simd_eq(a, b) }
1715}
1716#[doc = "Compare bitwise Equal (vector)"]
1717#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqq_s64)"]
1718#[inline]
1719#[target_feature(enable = "neon")]
1720#[cfg_attr(test, assert_instr(cmeq))]
1721#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1722pub fn vceqq_s64(a: int64x2_t, b: int64x2_t) -> uint64x2_t {
1723 unsafe { simd_eq(a, b) }
1724}
1725#[doc = "Compare bitwise Equal (vector)"]
1726#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceq_u64)"]
1727#[inline]
1728#[target_feature(enable = "neon")]
1729#[cfg_attr(test, assert_instr(cmeq))]
1730#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1731pub fn vceq_u64(a: uint64x1_t, b: uint64x1_t) -> uint64x1_t {
1732 unsafe { simd_eq(a, b) }
1733}
1734#[doc = "Compare bitwise Equal (vector)"]
1735#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqq_u64)"]
1736#[inline]
1737#[target_feature(enable = "neon")]
1738#[cfg_attr(test, assert_instr(cmeq))]
1739#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1740pub fn vceqq_u64(a: uint64x2_t, b: uint64x2_t) -> uint64x2_t {
1741 unsafe { simd_eq(a, b) }
1742}
1743#[doc = "Compare bitwise Equal (vector)"]
1744#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceq_p64)"]
1745#[inline]
1746#[target_feature(enable = "neon")]
1747#[cfg_attr(test, assert_instr(cmeq))]
1748#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1749pub fn vceq_p64(a: poly64x1_t, b: poly64x1_t) -> uint64x1_t {
1750 unsafe { simd_eq(a, b) }
1751}
1752#[doc = "Compare bitwise Equal (vector)"]
1753#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqq_p64)"]
1754#[inline]
1755#[target_feature(enable = "neon")]
1756#[cfg_attr(test, assert_instr(cmeq))]
1757#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1758pub fn vceqq_p64(a: poly64x2_t, b: poly64x2_t) -> uint64x2_t {
1759 unsafe { simd_eq(a, b) }
1760}
1761#[doc = "Floating-point compare equal"]
1762#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqd_f64)"]
1763#[inline]
1764#[target_feature(enable = "neon")]
1765#[cfg_attr(test, assert_instr(fcmp))]
1766#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1767pub fn vceqd_f64(a: f64, b: f64) -> u64 {
1768 vget_lane_u64::<0>(vceq_f64(vdup_n_f64(a), vdup_n_f64(b)))
1769}
1770#[doc = "Floating-point compare equal"]
1771#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqs_f32)"]
1772#[inline]
1773#[target_feature(enable = "neon")]
1774#[cfg_attr(test, assert_instr(fcmp))]
1775#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1776pub fn vceqs_f32(a: f32, b: f32) -> u32 {
1777 vget_lane_u32::<0>(vceq_f32(vdup_n_f32(a), vdup_n_f32(b)))
1778}
1779#[doc = "Compare bitwise equal"]
1780#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqd_s64)"]
1781#[inline]
1782#[target_feature(enable = "neon")]
1783#[cfg_attr(test, assert_instr(cmp))]
1784#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1785pub fn vceqd_s64(a: i64, b: i64) -> u64 {
1786 unsafe { transmute(vceq_s64(transmute(a), transmute(b))) }
1787}
1788#[doc = "Compare bitwise equal"]
1789#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqd_u64)"]
1790#[inline]
1791#[target_feature(enable = "neon")]
1792#[cfg_attr(test, assert_instr(cmp))]
1793#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1794pub fn vceqd_u64(a: u64, b: u64) -> u64 {
1795 unsafe { transmute(vceq_u64(transmute(a), transmute(b))) }
1796}
1797#[doc = "Floating-point compare equal"]
1798#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqh_f16)"]
1799#[inline]
1800#[cfg_attr(test, assert_instr(fcmp))]
1801#[target_feature(enable = "neon,fp16")]
1802#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
1803#[cfg(not(target_arch = "arm64ec"))]
1804pub fn vceqh_f16(a: f16, b: f16) -> u16 {
1805 vget_lane_u16::<0>(vceq_f16(vdup_n_f16(a), vdup_n_f16(b)))
1806}
1807#[doc = "Floating-point compare bitwise equal to zero"]
1808#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_f16)"]
1809#[inline]
1810#[cfg_attr(test, assert_instr(fcmeq))]
1811#[target_feature(enable = "neon,fp16")]
1812#[stable(feature = "stdarch_neon_fp16", since = "1.94.0")]
1813#[cfg(not(target_arch = "arm64ec"))]
1814pub fn vceqz_f16(a: float16x4_t) -> uint16x4_t {
1815 let b: f16x4 = f16x4::new(0.0, 0.0, 0.0, 0.0);
1816 unsafe { simd_eq(a, transmute(b)) }
1817}
1818#[doc = "Floating-point compare bitwise equal to zero"]
1819#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_f16)"]
1820#[inline]
1821#[cfg_attr(test, assert_instr(fcmeq))]
1822#[target_feature(enable = "neon,fp16")]
1823#[stable(feature = "stdarch_neon_fp16", since = "1.94.0")]
1824#[cfg(not(target_arch = "arm64ec"))]
1825pub fn vceqzq_f16(a: float16x8_t) -> uint16x8_t {
1826 let b: f16x8 = f16x8::new(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
1827 unsafe { simd_eq(a, transmute(b)) }
1828}
1829#[doc = "Floating-point compare bitwise equal to zero"]
1830#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_f32)"]
1831#[inline]
1832#[target_feature(enable = "neon")]
1833#[cfg_attr(test, assert_instr(fcmeq))]
1834#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1835pub fn vceqz_f32(a: float32x2_t) -> uint32x2_t {
1836 let b: f32x2 = f32x2::new(0.0, 0.0);
1837 unsafe { simd_eq(a, transmute(b)) }
1838}
1839#[doc = "Floating-point compare bitwise equal to zero"]
1840#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_f32)"]
1841#[inline]
1842#[target_feature(enable = "neon")]
1843#[cfg_attr(test, assert_instr(fcmeq))]
1844#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1845pub fn vceqzq_f32(a: float32x4_t) -> uint32x4_t {
1846 let b: f32x4 = f32x4::new(0.0, 0.0, 0.0, 0.0);
1847 unsafe { simd_eq(a, transmute(b)) }
1848}
1849#[doc = "Floating-point compare bitwise equal to zero"]
1850#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_f64)"]
1851#[inline]
1852#[target_feature(enable = "neon")]
1853#[cfg_attr(test, assert_instr(fcmeq))]
1854#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1855pub fn vceqz_f64(a: float64x1_t) -> uint64x1_t {
1856 let b: f64 = 0.0;
1857 unsafe { simd_eq(a, transmute(b)) }
1858}
1859#[doc = "Floating-point compare bitwise equal to zero"]
1860#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_f64)"]
1861#[inline]
1862#[target_feature(enable = "neon")]
1863#[cfg_attr(test, assert_instr(fcmeq))]
1864#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1865pub fn vceqzq_f64(a: float64x2_t) -> uint64x2_t {
1866 let b: f64x2 = f64x2::new(0.0, 0.0);
1867 unsafe { simd_eq(a, transmute(b)) }
1868}
1869#[doc = "Signed compare bitwise equal to zero"]
1870#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_s8)"]
1871#[inline]
1872#[target_feature(enable = "neon")]
1873#[cfg_attr(test, assert_instr(cmeq))]
1874#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1875pub fn vceqz_s8(a: int8x8_t) -> uint8x8_t {
1876 let b: i8x8 = i8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
1877 unsafe { simd_eq(a, transmute(b)) }
1878}
1879#[doc = "Signed compare bitwise equal to zero"]
1880#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_s8)"]
1881#[inline]
1882#[target_feature(enable = "neon")]
1883#[cfg_attr(test, assert_instr(cmeq))]
1884#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1885pub fn vceqzq_s8(a: int8x16_t) -> uint8x16_t {
1886 let b: i8x16 = i8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
1887 unsafe { simd_eq(a, transmute(b)) }
1888}
1889#[doc = "Signed compare bitwise equal to zero"]
1890#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_s16)"]
1891#[inline]
1892#[target_feature(enable = "neon")]
1893#[cfg_attr(test, assert_instr(cmeq))]
1894#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1895pub fn vceqz_s16(a: int16x4_t) -> uint16x4_t {
1896 let b: i16x4 = i16x4::new(0, 0, 0, 0);
1897 unsafe { simd_eq(a, transmute(b)) }
1898}
1899#[doc = "Signed compare bitwise equal to zero"]
1900#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_s16)"]
1901#[inline]
1902#[target_feature(enable = "neon")]
1903#[cfg_attr(test, assert_instr(cmeq))]
1904#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1905pub fn vceqzq_s16(a: int16x8_t) -> uint16x8_t {
1906 let b: i16x8 = i16x8::new(0, 0, 0, 0, 0, 0, 0, 0);
1907 unsafe { simd_eq(a, transmute(b)) }
1908}
1909#[doc = "Signed compare bitwise equal to zero"]
1910#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_s32)"]
1911#[inline]
1912#[target_feature(enable = "neon")]
1913#[cfg_attr(test, assert_instr(cmeq))]
1914#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1915pub fn vceqz_s32(a: int32x2_t) -> uint32x2_t {
1916 let b: i32x2 = i32x2::new(0, 0);
1917 unsafe { simd_eq(a, transmute(b)) }
1918}
1919#[doc = "Signed compare bitwise equal to zero"]
1920#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_s32)"]
1921#[inline]
1922#[target_feature(enable = "neon")]
1923#[cfg_attr(test, assert_instr(cmeq))]
1924#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1925pub fn vceqzq_s32(a: int32x4_t) -> uint32x4_t {
1926 let b: i32x4 = i32x4::new(0, 0, 0, 0);
1927 unsafe { simd_eq(a, transmute(b)) }
1928}
1929#[doc = "Signed compare bitwise equal to zero"]
1930#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_s64)"]
1931#[inline]
1932#[target_feature(enable = "neon")]
1933#[cfg_attr(test, assert_instr(cmeq))]
1934#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1935pub fn vceqz_s64(a: int64x1_t) -> uint64x1_t {
1936 let b: i64x1 = i64x1::new(0);
1937 unsafe { simd_eq(a, transmute(b)) }
1938}
1939#[doc = "Signed compare bitwise equal to zero"]
1940#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_s64)"]
1941#[inline]
1942#[target_feature(enable = "neon")]
1943#[cfg_attr(test, assert_instr(cmeq))]
1944#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1945pub fn vceqzq_s64(a: int64x2_t) -> uint64x2_t {
1946 let b: i64x2 = i64x2::new(0, 0);
1947 unsafe { simd_eq(a, transmute(b)) }
1948}
1949#[doc = "Signed compare bitwise equal to zero"]
1950#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_p8)"]
1951#[inline]
1952#[target_feature(enable = "neon")]
1953#[cfg_attr(test, assert_instr(cmeq))]
1954#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1955pub fn vceqz_p8(a: poly8x8_t) -> uint8x8_t {
1956 let b: i8x8 = i8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
1957 unsafe { simd_eq(a, transmute(b)) }
1958}
1959#[doc = "Signed compare bitwise equal to zero"]
1960#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_p8)"]
1961#[inline]
1962#[target_feature(enable = "neon")]
1963#[cfg_attr(test, assert_instr(cmeq))]
1964#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1965pub fn vceqzq_p8(a: poly8x16_t) -> uint8x16_t {
1966 let b: i8x16 = i8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
1967 unsafe { simd_eq(a, transmute(b)) }
1968}
1969#[doc = "Signed compare bitwise equal to zero"]
1970#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_p64)"]
1971#[inline]
1972#[target_feature(enable = "neon")]
1973#[cfg_attr(test, assert_instr(cmeq))]
1974#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1975pub fn vceqz_p64(a: poly64x1_t) -> uint64x1_t {
1976 let b: i64x1 = i64x1::new(0);
1977 unsafe { simd_eq(a, transmute(b)) }
1978}
1979#[doc = "Signed compare bitwise equal to zero"]
1980#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_p64)"]
1981#[inline]
1982#[target_feature(enable = "neon")]
1983#[cfg_attr(test, assert_instr(cmeq))]
1984#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1985pub fn vceqzq_p64(a: poly64x2_t) -> uint64x2_t {
1986 let b: i64x2 = i64x2::new(0, 0);
1987 unsafe { simd_eq(a, transmute(b)) }
1988}
1989#[doc = "Unsigned compare bitwise equal to zero"]
1990#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_u8)"]
1991#[inline]
1992#[target_feature(enable = "neon")]
1993#[cfg_attr(test, assert_instr(cmeq))]
1994#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1995pub fn vceqz_u8(a: uint8x8_t) -> uint8x8_t {
1996 let b: u8x8 = u8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
1997 unsafe { simd_eq(a, transmute(b)) }
1998}
1999#[doc = "Unsigned compare bitwise equal to zero"]
2000#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_u8)"]
2001#[inline]
2002#[target_feature(enable = "neon")]
2003#[cfg_attr(test, assert_instr(cmeq))]
2004#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2005pub fn vceqzq_u8(a: uint8x16_t) -> uint8x16_t {
2006 let b: u8x16 = u8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
2007 unsafe { simd_eq(a, transmute(b)) }
2008}
2009#[doc = "Unsigned compare bitwise equal to zero"]
2010#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_u16)"]
2011#[inline]
2012#[target_feature(enable = "neon")]
2013#[cfg_attr(test, assert_instr(cmeq))]
2014#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2015pub fn vceqz_u16(a: uint16x4_t) -> uint16x4_t {
2016 let b: u16x4 = u16x4::new(0, 0, 0, 0);
2017 unsafe { simd_eq(a, transmute(b)) }
2018}
2019#[doc = "Unsigned compare bitwise equal to zero"]
2020#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_u16)"]
2021#[inline]
2022#[target_feature(enable = "neon")]
2023#[cfg_attr(test, assert_instr(cmeq))]
2024#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2025pub fn vceqzq_u16(a: uint16x8_t) -> uint16x8_t {
2026 let b: u16x8 = u16x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2027 unsafe { simd_eq(a, transmute(b)) }
2028}
2029#[doc = "Unsigned compare bitwise equal to zero"]
2030#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_u32)"]
2031#[inline]
2032#[target_feature(enable = "neon")]
2033#[cfg_attr(test, assert_instr(cmeq))]
2034#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2035pub fn vceqz_u32(a: uint32x2_t) -> uint32x2_t {
2036 let b: u32x2 = u32x2::new(0, 0);
2037 unsafe { simd_eq(a, transmute(b)) }
2038}
2039#[doc = "Unsigned compare bitwise equal to zero"]
2040#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_u32)"]
2041#[inline]
2042#[target_feature(enable = "neon")]
2043#[cfg_attr(test, assert_instr(cmeq))]
2044#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2045pub fn vceqzq_u32(a: uint32x4_t) -> uint32x4_t {
2046 let b: u32x4 = u32x4::new(0, 0, 0, 0);
2047 unsafe { simd_eq(a, transmute(b)) }
2048}
2049#[doc = "Unsigned compare bitwise equal to zero"]
2050#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqz_u64)"]
2051#[inline]
2052#[target_feature(enable = "neon")]
2053#[cfg_attr(test, assert_instr(cmeq))]
2054#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2055pub fn vceqz_u64(a: uint64x1_t) -> uint64x1_t {
2056 let b: u64x1 = u64x1::new(0);
2057 unsafe { simd_eq(a, transmute(b)) }
2058}
2059#[doc = "Unsigned compare bitwise equal to zero"]
2060#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzq_u64)"]
2061#[inline]
2062#[target_feature(enable = "neon")]
2063#[cfg_attr(test, assert_instr(cmeq))]
2064#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2065pub fn vceqzq_u64(a: uint64x2_t) -> uint64x2_t {
2066 let b: u64x2 = u64x2::new(0, 0);
2067 unsafe { simd_eq(a, transmute(b)) }
2068}
2069#[doc = "Compare bitwise equal to zero"]
2070#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzd_s64)"]
2071#[inline]
2072#[target_feature(enable = "neon")]
2073#[cfg_attr(test, assert_instr(cmp))]
2074#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2075pub fn vceqzd_s64(a: i64) -> u64 {
2076 unsafe { transmute(vceqz_s64(transmute(a))) }
2077}
2078#[doc = "Compare bitwise equal to zero"]
2079#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzd_u64)"]
2080#[inline]
2081#[target_feature(enable = "neon")]
2082#[cfg_attr(test, assert_instr(cmp))]
2083#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2084pub fn vceqzd_u64(a: u64) -> u64 {
2085 unsafe { transmute(vceqz_u64(transmute(a))) }
2086}
2087#[doc = "Floating-point compare bitwise equal to zero"]
2088#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzh_f16)"]
2089#[inline]
2090#[cfg_attr(test, assert_instr(fcmp))]
2091#[target_feature(enable = "neon,fp16")]
2092#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2093#[cfg(not(target_arch = "arm64ec"))]
2094pub fn vceqzh_f16(a: f16) -> u16 {
2095 vget_lane_u16::<0>(vceqz_f16(vdup_n_f16(a)))
2096}
2097#[doc = "Floating-point compare bitwise equal to zero"]
2098#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzs_f32)"]
2099#[inline]
2100#[target_feature(enable = "neon")]
2101#[cfg_attr(test, assert_instr(fcmp))]
2102#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2103pub fn vceqzs_f32(a: f32) -> u32 {
2104 vget_lane_u32::<0>(vceqz_f32(vdup_n_f32(a)))
2105}
2106#[doc = "Floating-point compare bitwise equal to zero"]
2107#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vceqzd_f64)"]
2108#[inline]
2109#[target_feature(enable = "neon")]
2110#[cfg_attr(test, assert_instr(fcmp))]
2111#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2112pub fn vceqzd_f64(a: f64) -> u64 {
2113 vget_lane_u64::<0>(vceqz_f64(vdup_n_f64(a)))
2114}
2115#[doc = "Floating-point compare greater than or equal"]
2116#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcge_f64)"]
2117#[inline]
2118#[target_feature(enable = "neon")]
2119#[cfg_attr(test, assert_instr(fcmge))]
2120#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2121pub fn vcge_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
2122 unsafe { simd_ge(a, b) }
2123}
2124#[doc = "Floating-point compare greater than or equal"]
2125#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgeq_f64)"]
2126#[inline]
2127#[target_feature(enable = "neon")]
2128#[cfg_attr(test, assert_instr(fcmge))]
2129#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2130pub fn vcgeq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
2131 unsafe { simd_ge(a, b) }
2132}
2133#[doc = "Compare signed greater than or equal"]
2134#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcge_s64)"]
2135#[inline]
2136#[target_feature(enable = "neon")]
2137#[cfg_attr(test, assert_instr(cmge))]
2138#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2139pub fn vcge_s64(a: int64x1_t, b: int64x1_t) -> uint64x1_t {
2140 unsafe { simd_ge(a, b) }
2141}
2142#[doc = "Compare signed greater than or equal"]
2143#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgeq_s64)"]
2144#[inline]
2145#[target_feature(enable = "neon")]
2146#[cfg_attr(test, assert_instr(cmge))]
2147#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2148pub fn vcgeq_s64(a: int64x2_t, b: int64x2_t) -> uint64x2_t {
2149 unsafe { simd_ge(a, b) }
2150}
2151#[doc = "Compare unsigned greater than or equal"]
2152#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcge_u64)"]
2153#[inline]
2154#[target_feature(enable = "neon")]
2155#[cfg_attr(test, assert_instr(cmhs))]
2156#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2157pub fn vcge_u64(a: uint64x1_t, b: uint64x1_t) -> uint64x1_t {
2158 unsafe { simd_ge(a, b) }
2159}
2160#[doc = "Compare unsigned greater than or equal"]
2161#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgeq_u64)"]
2162#[inline]
2163#[target_feature(enable = "neon")]
2164#[cfg_attr(test, assert_instr(cmhs))]
2165#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2166pub fn vcgeq_u64(a: uint64x2_t, b: uint64x2_t) -> uint64x2_t {
2167 unsafe { simd_ge(a, b) }
2168}
2169#[doc = "Floating-point compare greater than or equal"]
2170#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcged_f64)"]
2171#[inline]
2172#[target_feature(enable = "neon")]
2173#[cfg_attr(test, assert_instr(fcmp))]
2174#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2175pub fn vcged_f64(a: f64, b: f64) -> u64 {
2176 vget_lane_u64::<0>(vcge_f64(vdup_n_f64(a), vdup_n_f64(b)))
2177}
2178#[doc = "Floating-point compare greater than or equal"]
2179#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcges_f32)"]
2180#[inline]
2181#[target_feature(enable = "neon")]
2182#[cfg_attr(test, assert_instr(fcmp))]
2183#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2184pub fn vcges_f32(a: f32, b: f32) -> u32 {
2185 vget_lane_u32::<0>(vcge_f32(vdup_n_f32(a), vdup_n_f32(b)))
2186}
2187#[doc = "Compare greater than or equal"]
2188#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcged_s64)"]
2189#[inline]
2190#[target_feature(enable = "neon")]
2191#[cfg_attr(test, assert_instr(cmp))]
2192#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2193pub fn vcged_s64(a: i64, b: i64) -> u64 {
2194 unsafe { transmute(vcge_s64(transmute(a), transmute(b))) }
2195}
2196#[doc = "Compare greater than or equal"]
2197#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcged_u64)"]
2198#[inline]
2199#[target_feature(enable = "neon")]
2200#[cfg_attr(test, assert_instr(cmp))]
2201#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2202pub fn vcged_u64(a: u64, b: u64) -> u64 {
2203 unsafe { transmute(vcge_u64(transmute(a), transmute(b))) }
2204}
2205#[doc = "Floating-point compare greater than or equal"]
2206#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgeh_f16)"]
2207#[inline]
2208#[cfg_attr(test, assert_instr(fcmp))]
2209#[target_feature(enable = "neon,fp16")]
2210#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2211#[cfg(not(target_arch = "arm64ec"))]
2212pub fn vcgeh_f16(a: f16, b: f16) -> u16 {
2213 vget_lane_u16::<0>(vcge_f16(vdup_n_f16(a), vdup_n_f16(b)))
2214}
2215#[doc = "Floating-point compare greater than or equal to zero"]
2216#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgez_f32)"]
2217#[inline]
2218#[target_feature(enable = "neon")]
2219#[cfg_attr(test, assert_instr(fcmge))]
2220#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2221pub fn vcgez_f32(a: float32x2_t) -> uint32x2_t {
2222 let b: f32x2 = f32x2::new(0.0, 0.0);
2223 unsafe { simd_ge(a, transmute(b)) }
2224}
2225#[doc = "Floating-point compare greater than or equal to zero"]
2226#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezq_f32)"]
2227#[inline]
2228#[target_feature(enable = "neon")]
2229#[cfg_attr(test, assert_instr(fcmge))]
2230#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2231pub fn vcgezq_f32(a: float32x4_t) -> uint32x4_t {
2232 let b: f32x4 = f32x4::new(0.0, 0.0, 0.0, 0.0);
2233 unsafe { simd_ge(a, transmute(b)) }
2234}
2235#[doc = "Floating-point compare greater than or equal to zero"]
2236#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgez_f64)"]
2237#[inline]
2238#[target_feature(enable = "neon")]
2239#[cfg_attr(test, assert_instr(fcmge))]
2240#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2241pub fn vcgez_f64(a: float64x1_t) -> uint64x1_t {
2242 let b: f64 = 0.0;
2243 unsafe { simd_ge(a, transmute(b)) }
2244}
2245#[doc = "Floating-point compare greater than or equal to zero"]
2246#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezq_f64)"]
2247#[inline]
2248#[target_feature(enable = "neon")]
2249#[cfg_attr(test, assert_instr(fcmge))]
2250#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2251pub fn vcgezq_f64(a: float64x2_t) -> uint64x2_t {
2252 let b: f64x2 = f64x2::new(0.0, 0.0);
2253 unsafe { simd_ge(a, transmute(b)) }
2254}
2255#[doc = "Compare signed greater than or equal to zero"]
2256#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgez_s8)"]
2257#[inline]
2258#[target_feature(enable = "neon")]
2259#[cfg_attr(test, assert_instr(cmge))]
2260#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2261pub fn vcgez_s8(a: int8x8_t) -> uint8x8_t {
2262 let b: i8x8 = i8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2263 unsafe { simd_ge(a, transmute(b)) }
2264}
2265#[doc = "Compare signed greater than or equal to zero"]
2266#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezq_s8)"]
2267#[inline]
2268#[target_feature(enable = "neon")]
2269#[cfg_attr(test, assert_instr(cmge))]
2270#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2271pub fn vcgezq_s8(a: int8x16_t) -> uint8x16_t {
2272 let b: i8x16 = i8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
2273 unsafe { simd_ge(a, transmute(b)) }
2274}
2275#[doc = "Compare signed greater than or equal to zero"]
2276#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgez_s16)"]
2277#[inline]
2278#[target_feature(enable = "neon")]
2279#[cfg_attr(test, assert_instr(cmge))]
2280#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2281pub fn vcgez_s16(a: int16x4_t) -> uint16x4_t {
2282 let b: i16x4 = i16x4::new(0, 0, 0, 0);
2283 unsafe { simd_ge(a, transmute(b)) }
2284}
2285#[doc = "Compare signed greater than or equal to zero"]
2286#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezq_s16)"]
2287#[inline]
2288#[target_feature(enable = "neon")]
2289#[cfg_attr(test, assert_instr(cmge))]
2290#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2291pub fn vcgezq_s16(a: int16x8_t) -> uint16x8_t {
2292 let b: i16x8 = i16x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2293 unsafe { simd_ge(a, transmute(b)) }
2294}
2295#[doc = "Compare signed greater than or equal to zero"]
2296#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgez_s32)"]
2297#[inline]
2298#[target_feature(enable = "neon")]
2299#[cfg_attr(test, assert_instr(cmge))]
2300#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2301pub fn vcgez_s32(a: int32x2_t) -> uint32x2_t {
2302 let b: i32x2 = i32x2::new(0, 0);
2303 unsafe { simd_ge(a, transmute(b)) }
2304}
2305#[doc = "Compare signed greater than or equal to zero"]
2306#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezq_s32)"]
2307#[inline]
2308#[target_feature(enable = "neon")]
2309#[cfg_attr(test, assert_instr(cmge))]
2310#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2311pub fn vcgezq_s32(a: int32x4_t) -> uint32x4_t {
2312 let b: i32x4 = i32x4::new(0, 0, 0, 0);
2313 unsafe { simd_ge(a, transmute(b)) }
2314}
2315#[doc = "Compare signed greater than or equal to zero"]
2316#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgez_s64)"]
2317#[inline]
2318#[target_feature(enable = "neon")]
2319#[cfg_attr(test, assert_instr(cmge))]
2320#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2321pub fn vcgez_s64(a: int64x1_t) -> uint64x1_t {
2322 let b: i64x1 = i64x1::new(0);
2323 unsafe { simd_ge(a, transmute(b)) }
2324}
2325#[doc = "Compare signed greater than or equal to zero"]
2326#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezq_s64)"]
2327#[inline]
2328#[target_feature(enable = "neon")]
2329#[cfg_attr(test, assert_instr(cmge))]
2330#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2331pub fn vcgezq_s64(a: int64x2_t) -> uint64x2_t {
2332 let b: i64x2 = i64x2::new(0, 0);
2333 unsafe { simd_ge(a, transmute(b)) }
2334}
2335#[doc = "Floating-point compare greater than or equal to zero"]
2336#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezd_f64)"]
2337#[inline]
2338#[target_feature(enable = "neon")]
2339#[cfg_attr(test, assert_instr(fcmp))]
2340#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2341pub fn vcgezd_f64(a: f64) -> u64 {
2342 vget_lane_u64::<0>(vcgez_f64(vdup_n_f64(a)))
2343}
2344#[doc = "Floating-point compare greater than or equal to zero"]
2345#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezs_f32)"]
2346#[inline]
2347#[target_feature(enable = "neon")]
2348#[cfg_attr(test, assert_instr(fcmp))]
2349#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2350pub fn vcgezs_f32(a: f32) -> u32 {
2351 vget_lane_u32::<0>(vcgez_f32(vdup_n_f32(a)))
2352}
2353#[doc = "Compare signed greater than or equal to zero"]
2354#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezd_s64)"]
2355#[inline]
2356#[target_feature(enable = "neon")]
2357#[cfg_attr(test, assert_instr(nop))]
2358#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2359pub fn vcgezd_s64(a: i64) -> u64 {
2360 unsafe { transmute(vcgez_s64(transmute(a))) }
2361}
2362#[doc = "Floating-point compare greater than or equal to zero"]
2363#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgezh_f16)"]
2364#[inline]
2365#[cfg_attr(test, assert_instr(fcmp))]
2366#[target_feature(enable = "neon,fp16")]
2367#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2368#[cfg(not(target_arch = "arm64ec"))]
2369pub fn vcgezh_f16(a: f16) -> u16 {
2370 vget_lane_u16::<0>(vcgez_f16(vdup_n_f16(a)))
2371}
2372#[doc = "Floating-point compare greater than"]
2373#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_f64)"]
2374#[inline]
2375#[target_feature(enable = "neon")]
2376#[cfg_attr(test, assert_instr(fcmgt))]
2377#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2378pub fn vcgt_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
2379 unsafe { simd_gt(a, b) }
2380}
2381#[doc = "Floating-point compare greater than"]
2382#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_f64)"]
2383#[inline]
2384#[target_feature(enable = "neon")]
2385#[cfg_attr(test, assert_instr(fcmgt))]
2386#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2387pub fn vcgtq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
2388 unsafe { simd_gt(a, b) }
2389}
2390#[doc = "Compare signed greater than"]
2391#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_s64)"]
2392#[inline]
2393#[target_feature(enable = "neon")]
2394#[cfg_attr(test, assert_instr(cmgt))]
2395#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2396pub fn vcgt_s64(a: int64x1_t, b: int64x1_t) -> uint64x1_t {
2397 unsafe { simd_gt(a, b) }
2398}
2399#[doc = "Compare signed greater than"]
2400#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_s64)"]
2401#[inline]
2402#[target_feature(enable = "neon")]
2403#[cfg_attr(test, assert_instr(cmgt))]
2404#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2405pub fn vcgtq_s64(a: int64x2_t, b: int64x2_t) -> uint64x2_t {
2406 unsafe { simd_gt(a, b) }
2407}
2408#[doc = "Compare unsigned greater than"]
2409#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_u64)"]
2410#[inline]
2411#[target_feature(enable = "neon")]
2412#[cfg_attr(test, assert_instr(cmhi))]
2413#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2414pub fn vcgt_u64(a: uint64x1_t, b: uint64x1_t) -> uint64x1_t {
2415 unsafe { simd_gt(a, b) }
2416}
2417#[doc = "Compare unsigned greater than"]
2418#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_u64)"]
2419#[inline]
2420#[target_feature(enable = "neon")]
2421#[cfg_attr(test, assert_instr(cmhi))]
2422#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2423pub fn vcgtq_u64(a: uint64x2_t, b: uint64x2_t) -> uint64x2_t {
2424 unsafe { simd_gt(a, b) }
2425}
2426#[doc = "Floating-point compare greater than"]
2427#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtd_f64)"]
2428#[inline]
2429#[target_feature(enable = "neon")]
2430#[cfg_attr(test, assert_instr(fcmp))]
2431#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2432pub fn vcgtd_f64(a: f64, b: f64) -> u64 {
2433 vget_lane_u64::<0>(vcgt_f64(vdup_n_f64(a), vdup_n_f64(b)))
2434}
2435#[doc = "Floating-point compare greater than"]
2436#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgts_f32)"]
2437#[inline]
2438#[target_feature(enable = "neon")]
2439#[cfg_attr(test, assert_instr(fcmp))]
2440#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2441pub fn vcgts_f32(a: f32, b: f32) -> u32 {
2442 vget_lane_u32::<0>(vcgt_f32(vdup_n_f32(a), vdup_n_f32(b)))
2443}
2444#[doc = "Compare greater than"]
2445#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtd_s64)"]
2446#[inline]
2447#[target_feature(enable = "neon")]
2448#[cfg_attr(test, assert_instr(cmp))]
2449#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2450pub fn vcgtd_s64(a: i64, b: i64) -> u64 {
2451 unsafe { transmute(vcgt_s64(transmute(a), transmute(b))) }
2452}
2453#[doc = "Compare greater than"]
2454#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtd_u64)"]
2455#[inline]
2456#[target_feature(enable = "neon")]
2457#[cfg_attr(test, assert_instr(cmp))]
2458#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2459pub fn vcgtd_u64(a: u64, b: u64) -> u64 {
2460 unsafe { transmute(vcgt_u64(transmute(a), transmute(b))) }
2461}
2462#[doc = "Floating-point compare greater than"]
2463#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgth_f16)"]
2464#[inline]
2465#[cfg_attr(test, assert_instr(fcmp))]
2466#[target_feature(enable = "neon,fp16")]
2467#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2468#[cfg(not(target_arch = "arm64ec"))]
2469pub fn vcgth_f16(a: f16, b: f16) -> u16 {
2470 vget_lane_u16::<0>(vcgt_f16(vdup_n_f16(a), vdup_n_f16(b)))
2471}
2472#[doc = "Floating-point compare greater than zero"]
2473#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtz_f32)"]
2474#[inline]
2475#[target_feature(enable = "neon")]
2476#[cfg_attr(test, assert_instr(fcmgt))]
2477#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2478pub fn vcgtz_f32(a: float32x2_t) -> uint32x2_t {
2479 let b: f32x2 = f32x2::new(0.0, 0.0);
2480 unsafe { simd_gt(a, transmute(b)) }
2481}
2482#[doc = "Floating-point compare greater than zero"]
2483#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzq_f32)"]
2484#[inline]
2485#[target_feature(enable = "neon")]
2486#[cfg_attr(test, assert_instr(fcmgt))]
2487#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2488pub fn vcgtzq_f32(a: float32x4_t) -> uint32x4_t {
2489 let b: f32x4 = f32x4::new(0.0, 0.0, 0.0, 0.0);
2490 unsafe { simd_gt(a, transmute(b)) }
2491}
2492#[doc = "Floating-point compare greater than zero"]
2493#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtz_f64)"]
2494#[inline]
2495#[target_feature(enable = "neon")]
2496#[cfg_attr(test, assert_instr(fcmgt))]
2497#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2498pub fn vcgtz_f64(a: float64x1_t) -> uint64x1_t {
2499 let b: f64 = 0.0;
2500 unsafe { simd_gt(a, transmute(b)) }
2501}
2502#[doc = "Floating-point compare greater than zero"]
2503#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzq_f64)"]
2504#[inline]
2505#[target_feature(enable = "neon")]
2506#[cfg_attr(test, assert_instr(fcmgt))]
2507#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2508pub fn vcgtzq_f64(a: float64x2_t) -> uint64x2_t {
2509 let b: f64x2 = f64x2::new(0.0, 0.0);
2510 unsafe { simd_gt(a, transmute(b)) }
2511}
2512#[doc = "Compare signed greater than zero"]
2513#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtz_s8)"]
2514#[inline]
2515#[target_feature(enable = "neon")]
2516#[cfg_attr(test, assert_instr(cmgt))]
2517#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2518pub fn vcgtz_s8(a: int8x8_t) -> uint8x8_t {
2519 let b: i8x8 = i8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2520 unsafe { simd_gt(a, transmute(b)) }
2521}
2522#[doc = "Compare signed greater than zero"]
2523#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzq_s8)"]
2524#[inline]
2525#[target_feature(enable = "neon")]
2526#[cfg_attr(test, assert_instr(cmgt))]
2527#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2528pub fn vcgtzq_s8(a: int8x16_t) -> uint8x16_t {
2529 let b: i8x16 = i8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
2530 unsafe { simd_gt(a, transmute(b)) }
2531}
2532#[doc = "Compare signed greater than zero"]
2533#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtz_s16)"]
2534#[inline]
2535#[target_feature(enable = "neon")]
2536#[cfg_attr(test, assert_instr(cmgt))]
2537#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2538pub fn vcgtz_s16(a: int16x4_t) -> uint16x4_t {
2539 let b: i16x4 = i16x4::new(0, 0, 0, 0);
2540 unsafe { simd_gt(a, transmute(b)) }
2541}
2542#[doc = "Compare signed greater than zero"]
2543#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzq_s16)"]
2544#[inline]
2545#[target_feature(enable = "neon")]
2546#[cfg_attr(test, assert_instr(cmgt))]
2547#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2548pub fn vcgtzq_s16(a: int16x8_t) -> uint16x8_t {
2549 let b: i16x8 = i16x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2550 unsafe { simd_gt(a, transmute(b)) }
2551}
2552#[doc = "Compare signed greater than zero"]
2553#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtz_s32)"]
2554#[inline]
2555#[target_feature(enable = "neon")]
2556#[cfg_attr(test, assert_instr(cmgt))]
2557#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2558pub fn vcgtz_s32(a: int32x2_t) -> uint32x2_t {
2559 let b: i32x2 = i32x2::new(0, 0);
2560 unsafe { simd_gt(a, transmute(b)) }
2561}
2562#[doc = "Compare signed greater than zero"]
2563#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzq_s32)"]
2564#[inline]
2565#[target_feature(enable = "neon")]
2566#[cfg_attr(test, assert_instr(cmgt))]
2567#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2568pub fn vcgtzq_s32(a: int32x4_t) -> uint32x4_t {
2569 let b: i32x4 = i32x4::new(0, 0, 0, 0);
2570 unsafe { simd_gt(a, transmute(b)) }
2571}
2572#[doc = "Compare signed greater than zero"]
2573#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtz_s64)"]
2574#[inline]
2575#[target_feature(enable = "neon")]
2576#[cfg_attr(test, assert_instr(cmgt))]
2577#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2578pub fn vcgtz_s64(a: int64x1_t) -> uint64x1_t {
2579 let b: i64x1 = i64x1::new(0);
2580 unsafe { simd_gt(a, transmute(b)) }
2581}
2582#[doc = "Compare signed greater than zero"]
2583#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzq_s64)"]
2584#[inline]
2585#[target_feature(enable = "neon")]
2586#[cfg_attr(test, assert_instr(cmgt))]
2587#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2588pub fn vcgtzq_s64(a: int64x2_t) -> uint64x2_t {
2589 let b: i64x2 = i64x2::new(0, 0);
2590 unsafe { simd_gt(a, transmute(b)) }
2591}
2592#[doc = "Floating-point compare greater than zero"]
2593#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzd_f64)"]
2594#[inline]
2595#[target_feature(enable = "neon")]
2596#[cfg_attr(test, assert_instr(fcmp))]
2597#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2598pub fn vcgtzd_f64(a: f64) -> u64 {
2599 vget_lane_u64::<0>(vcgtz_f64(vdup_n_f64(a)))
2600}
2601#[doc = "Floating-point compare greater than zero"]
2602#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzs_f32)"]
2603#[inline]
2604#[target_feature(enable = "neon")]
2605#[cfg_attr(test, assert_instr(fcmp))]
2606#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2607pub fn vcgtzs_f32(a: f32) -> u32 {
2608 vget_lane_u32::<0>(vcgtz_f32(vdup_n_f32(a)))
2609}
2610#[doc = "Compare signed greater than zero"]
2611#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzd_s64)"]
2612#[inline]
2613#[target_feature(enable = "neon")]
2614#[cfg_attr(test, assert_instr(cmp))]
2615#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2616pub fn vcgtzd_s64(a: i64) -> u64 {
2617 unsafe { transmute(vcgtz_s64(transmute(a))) }
2618}
2619#[doc = "Floating-point compare greater than zero"]
2620#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtzh_f16)"]
2621#[inline]
2622#[cfg_attr(test, assert_instr(fcmp))]
2623#[target_feature(enable = "neon,fp16")]
2624#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2625#[cfg(not(target_arch = "arm64ec"))]
2626pub fn vcgtzh_f16(a: f16) -> u16 {
2627 vget_lane_u16::<0>(vcgtz_f16(vdup_n_f16(a)))
2628}
2629#[doc = "Floating-point compare less than or equal"]
2630#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcle_f64)"]
2631#[inline]
2632#[target_feature(enable = "neon")]
2633#[cfg_attr(test, assert_instr(fcmge))]
2634#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2635pub fn vcle_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
2636 unsafe { simd_le(a, b) }
2637}
2638#[doc = "Floating-point compare less than or equal"]
2639#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcleq_f64)"]
2640#[inline]
2641#[target_feature(enable = "neon")]
2642#[cfg_attr(test, assert_instr(fcmge))]
2643#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2644pub fn vcleq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
2645 unsafe { simd_le(a, b) }
2646}
2647#[doc = "Compare signed less than or equal"]
2648#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcle_s64)"]
2649#[inline]
2650#[target_feature(enable = "neon")]
2651#[cfg_attr(test, assert_instr(cmge))]
2652#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2653pub fn vcle_s64(a: int64x1_t, b: int64x1_t) -> uint64x1_t {
2654 unsafe { simd_le(a, b) }
2655}
2656#[doc = "Compare signed less than or equal"]
2657#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcleq_s64)"]
2658#[inline]
2659#[target_feature(enable = "neon")]
2660#[cfg_attr(test, assert_instr(cmge))]
2661#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2662pub fn vcleq_s64(a: int64x2_t, b: int64x2_t) -> uint64x2_t {
2663 unsafe { simd_le(a, b) }
2664}
2665#[doc = "Compare unsigned less than or equal"]
2666#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcle_u64)"]
2667#[inline]
2668#[target_feature(enable = "neon")]
2669#[cfg_attr(test, assert_instr(cmhs))]
2670#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2671pub fn vcle_u64(a: uint64x1_t, b: uint64x1_t) -> uint64x1_t {
2672 unsafe { simd_le(a, b) }
2673}
2674#[doc = "Compare unsigned less than or equal"]
2675#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcleq_u64)"]
2676#[inline]
2677#[target_feature(enable = "neon")]
2678#[cfg_attr(test, assert_instr(cmhs))]
2679#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2680pub fn vcleq_u64(a: uint64x2_t, b: uint64x2_t) -> uint64x2_t {
2681 unsafe { simd_le(a, b) }
2682}
2683#[doc = "Floating-point compare less than or equal"]
2684#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcled_f64)"]
2685#[inline]
2686#[target_feature(enable = "neon")]
2687#[cfg_attr(test, assert_instr(fcmp))]
2688#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2689pub fn vcled_f64(a: f64, b: f64) -> u64 {
2690 vget_lane_u64::<0>(vcle_f64(vdup_n_f64(a), vdup_n_f64(b)))
2691}
2692#[doc = "Floating-point compare less than or equal"]
2693#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcles_f32)"]
2694#[inline]
2695#[target_feature(enable = "neon")]
2696#[cfg_attr(test, assert_instr(fcmp))]
2697#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2698pub fn vcles_f32(a: f32, b: f32) -> u32 {
2699 vget_lane_u32::<0>(vcle_f32(vdup_n_f32(a), vdup_n_f32(b)))
2700}
2701#[doc = "Compare less than or equal"]
2702#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcled_u64)"]
2703#[inline]
2704#[target_feature(enable = "neon")]
2705#[cfg_attr(test, assert_instr(cmp))]
2706#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2707pub fn vcled_u64(a: u64, b: u64) -> u64 {
2708 unsafe { transmute(vcle_u64(transmute(a), transmute(b))) }
2709}
2710#[doc = "Compare less than or equal"]
2711#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcled_s64)"]
2712#[inline]
2713#[target_feature(enable = "neon")]
2714#[cfg_attr(test, assert_instr(cmp))]
2715#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2716pub fn vcled_s64(a: i64, b: i64) -> u64 {
2717 unsafe { transmute(vcle_s64(transmute(a), transmute(b))) }
2718}
2719#[doc = "Floating-point compare less than or equal"]
2720#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcleh_f16)"]
2721#[inline]
2722#[cfg_attr(test, assert_instr(fcmp))]
2723#[target_feature(enable = "neon,fp16")]
2724#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2725#[cfg(not(target_arch = "arm64ec"))]
2726pub fn vcleh_f16(a: f16, b: f16) -> u16 {
2727 vget_lane_u16::<0>(vcle_f16(vdup_n_f16(a), vdup_n_f16(b)))
2728}
2729#[doc = "Floating-point compare less than or equal to zero"]
2730#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclez_f32)"]
2731#[inline]
2732#[target_feature(enable = "neon")]
2733#[cfg_attr(test, assert_instr(fcmle))]
2734#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2735pub fn vclez_f32(a: float32x2_t) -> uint32x2_t {
2736 let b: f32x2 = f32x2::new(0.0, 0.0);
2737 unsafe { simd_le(a, transmute(b)) }
2738}
2739#[doc = "Floating-point compare less than or equal to zero"]
2740#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezq_f32)"]
2741#[inline]
2742#[target_feature(enable = "neon")]
2743#[cfg_attr(test, assert_instr(fcmle))]
2744#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2745pub fn vclezq_f32(a: float32x4_t) -> uint32x4_t {
2746 let b: f32x4 = f32x4::new(0.0, 0.0, 0.0, 0.0);
2747 unsafe { simd_le(a, transmute(b)) }
2748}
2749#[doc = "Floating-point compare less than or equal to zero"]
2750#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclez_f64)"]
2751#[inline]
2752#[target_feature(enable = "neon")]
2753#[cfg_attr(test, assert_instr(fcmle))]
2754#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2755pub fn vclez_f64(a: float64x1_t) -> uint64x1_t {
2756 let b: f64 = 0.0;
2757 unsafe { simd_le(a, transmute(b)) }
2758}
2759#[doc = "Floating-point compare less than or equal to zero"]
2760#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezq_f64)"]
2761#[inline]
2762#[target_feature(enable = "neon")]
2763#[cfg_attr(test, assert_instr(fcmle))]
2764#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2765pub fn vclezq_f64(a: float64x2_t) -> uint64x2_t {
2766 let b: f64x2 = f64x2::new(0.0, 0.0);
2767 unsafe { simd_le(a, transmute(b)) }
2768}
2769#[doc = "Compare signed less than or equal to zero"]
2770#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclez_s8)"]
2771#[inline]
2772#[target_feature(enable = "neon")]
2773#[cfg_attr(test, assert_instr(cmle))]
2774#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2775pub fn vclez_s8(a: int8x8_t) -> uint8x8_t {
2776 let b: i8x8 = i8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2777 unsafe { simd_le(a, transmute(b)) }
2778}
2779#[doc = "Compare signed less than or equal to zero"]
2780#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezq_s8)"]
2781#[inline]
2782#[target_feature(enable = "neon")]
2783#[cfg_attr(test, assert_instr(cmle))]
2784#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2785pub fn vclezq_s8(a: int8x16_t) -> uint8x16_t {
2786 let b: i8x16 = i8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
2787 unsafe { simd_le(a, transmute(b)) }
2788}
2789#[doc = "Compare signed less than or equal to zero"]
2790#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclez_s16)"]
2791#[inline]
2792#[target_feature(enable = "neon")]
2793#[cfg_attr(test, assert_instr(cmle))]
2794#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2795pub fn vclez_s16(a: int16x4_t) -> uint16x4_t {
2796 let b: i16x4 = i16x4::new(0, 0, 0, 0);
2797 unsafe { simd_le(a, transmute(b)) }
2798}
2799#[doc = "Compare signed less than or equal to zero"]
2800#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezq_s16)"]
2801#[inline]
2802#[target_feature(enable = "neon")]
2803#[cfg_attr(test, assert_instr(cmle))]
2804#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2805pub fn vclezq_s16(a: int16x8_t) -> uint16x8_t {
2806 let b: i16x8 = i16x8::new(0, 0, 0, 0, 0, 0, 0, 0);
2807 unsafe { simd_le(a, transmute(b)) }
2808}
2809#[doc = "Compare signed less than or equal to zero"]
2810#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclez_s32)"]
2811#[inline]
2812#[target_feature(enable = "neon")]
2813#[cfg_attr(test, assert_instr(cmle))]
2814#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2815pub fn vclez_s32(a: int32x2_t) -> uint32x2_t {
2816 let b: i32x2 = i32x2::new(0, 0);
2817 unsafe { simd_le(a, transmute(b)) }
2818}
2819#[doc = "Compare signed less than or equal to zero"]
2820#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezq_s32)"]
2821#[inline]
2822#[target_feature(enable = "neon")]
2823#[cfg_attr(test, assert_instr(cmle))]
2824#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2825pub fn vclezq_s32(a: int32x4_t) -> uint32x4_t {
2826 let b: i32x4 = i32x4::new(0, 0, 0, 0);
2827 unsafe { simd_le(a, transmute(b)) }
2828}
2829#[doc = "Compare signed less than or equal to zero"]
2830#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclez_s64)"]
2831#[inline]
2832#[target_feature(enable = "neon")]
2833#[cfg_attr(test, assert_instr(cmle))]
2834#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2835pub fn vclez_s64(a: int64x1_t) -> uint64x1_t {
2836 let b: i64x1 = i64x1::new(0);
2837 unsafe { simd_le(a, transmute(b)) }
2838}
2839#[doc = "Compare signed less than or equal to zero"]
2840#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezq_s64)"]
2841#[inline]
2842#[target_feature(enable = "neon")]
2843#[cfg_attr(test, assert_instr(cmle))]
2844#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2845pub fn vclezq_s64(a: int64x2_t) -> uint64x2_t {
2846 let b: i64x2 = i64x2::new(0, 0);
2847 unsafe { simd_le(a, transmute(b)) }
2848}
2849#[doc = "Floating-point compare less than or equal to zero"]
2850#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezd_f64)"]
2851#[inline]
2852#[target_feature(enable = "neon")]
2853#[cfg_attr(test, assert_instr(fcmp))]
2854#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2855pub fn vclezd_f64(a: f64) -> u64 {
2856 vget_lane_u64::<0>(vclez_f64(vdup_n_f64(a)))
2857}
2858#[doc = "Floating-point compare less than or equal to zero"]
2859#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezs_f32)"]
2860#[inline]
2861#[target_feature(enable = "neon")]
2862#[cfg_attr(test, assert_instr(fcmp))]
2863#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2864pub fn vclezs_f32(a: f32) -> u32 {
2865 vget_lane_u32::<0>(vclez_f32(vdup_n_f32(a)))
2866}
2867#[doc = "Compare less than or equal to zero"]
2868#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezd_s64)"]
2869#[inline]
2870#[target_feature(enable = "neon")]
2871#[cfg_attr(test, assert_instr(cmp))]
2872#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2873pub fn vclezd_s64(a: i64) -> u64 {
2874 unsafe { transmute(vclez_s64(transmute(a))) }
2875}
2876#[doc = "Floating-point compare less than or equal to zero"]
2877#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclezh_f16)"]
2878#[inline]
2879#[cfg_attr(test, assert_instr(fcmp))]
2880#[target_feature(enable = "neon,fp16")]
2881#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2882#[cfg(not(target_arch = "arm64ec"))]
2883pub fn vclezh_f16(a: f16) -> u16 {
2884 vget_lane_u16::<0>(vclez_f16(vdup_n_f16(a)))
2885}
2886#[doc = "Floating-point compare less than"]
2887#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclt_f64)"]
2888#[inline]
2889#[target_feature(enable = "neon")]
2890#[cfg_attr(test, assert_instr(fcmgt))]
2891#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2892pub fn vclt_f64(a: float64x1_t, b: float64x1_t) -> uint64x1_t {
2893 unsafe { simd_lt(a, b) }
2894}
2895#[doc = "Floating-point compare less than"]
2896#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltq_f64)"]
2897#[inline]
2898#[target_feature(enable = "neon")]
2899#[cfg_attr(test, assert_instr(fcmgt))]
2900#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2901pub fn vcltq_f64(a: float64x2_t, b: float64x2_t) -> uint64x2_t {
2902 unsafe { simd_lt(a, b) }
2903}
2904#[doc = "Compare signed less than"]
2905#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclt_s64)"]
2906#[inline]
2907#[target_feature(enable = "neon")]
2908#[cfg_attr(test, assert_instr(cmgt))]
2909#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2910pub fn vclt_s64(a: int64x1_t, b: int64x1_t) -> uint64x1_t {
2911 unsafe { simd_lt(a, b) }
2912}
2913#[doc = "Compare signed less than"]
2914#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltq_s64)"]
2915#[inline]
2916#[target_feature(enable = "neon")]
2917#[cfg_attr(test, assert_instr(cmgt))]
2918#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2919pub fn vcltq_s64(a: int64x2_t, b: int64x2_t) -> uint64x2_t {
2920 unsafe { simd_lt(a, b) }
2921}
2922#[doc = "Compare unsigned less than"]
2923#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclt_u64)"]
2924#[inline]
2925#[target_feature(enable = "neon")]
2926#[cfg_attr(test, assert_instr(cmhi))]
2927#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2928pub fn vclt_u64(a: uint64x1_t, b: uint64x1_t) -> uint64x1_t {
2929 unsafe { simd_lt(a, b) }
2930}
2931#[doc = "Compare unsigned less than"]
2932#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltq_u64)"]
2933#[inline]
2934#[target_feature(enable = "neon")]
2935#[cfg_attr(test, assert_instr(cmhi))]
2936#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2937pub fn vcltq_u64(a: uint64x2_t, b: uint64x2_t) -> uint64x2_t {
2938 unsafe { simd_lt(a, b) }
2939}
2940#[doc = "Compare less than"]
2941#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltd_u64)"]
2942#[inline]
2943#[target_feature(enable = "neon")]
2944#[cfg_attr(test, assert_instr(cmp))]
2945#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2946pub fn vcltd_u64(a: u64, b: u64) -> u64 {
2947 unsafe { transmute(vclt_u64(transmute(a), transmute(b))) }
2948}
2949#[doc = "Compare less than"]
2950#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltd_s64)"]
2951#[inline]
2952#[target_feature(enable = "neon")]
2953#[cfg_attr(test, assert_instr(cmp))]
2954#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2955pub fn vcltd_s64(a: i64, b: i64) -> u64 {
2956 unsafe { transmute(vclt_s64(transmute(a), transmute(b))) }
2957}
2958#[doc = "Floating-point compare less than"]
2959#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclth_f16)"]
2960#[inline]
2961#[cfg_attr(test, assert_instr(fcmp))]
2962#[target_feature(enable = "neon,fp16")]
2963#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
2964#[cfg(not(target_arch = "arm64ec"))]
2965pub fn vclth_f16(a: f16, b: f16) -> u16 {
2966 vget_lane_u16::<0>(vclt_f16(vdup_n_f16(a), vdup_n_f16(b)))
2967}
2968#[doc = "Floating-point compare less than"]
2969#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vclts_f32)"]
2970#[inline]
2971#[target_feature(enable = "neon")]
2972#[cfg_attr(test, assert_instr(fcmp))]
2973#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2974pub fn vclts_f32(a: f32, b: f32) -> u32 {
2975 vget_lane_u32::<0>(vclt_f32(vdup_n_f32(a), vdup_n_f32(b)))
2976}
2977#[doc = "Floating-point compare less than"]
2978#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltd_f64)"]
2979#[inline]
2980#[target_feature(enable = "neon")]
2981#[cfg_attr(test, assert_instr(fcmp))]
2982#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2983pub fn vcltd_f64(a: f64, b: f64) -> u64 {
2984 vget_lane_u64::<0>(vclt_f64(vdup_n_f64(a), vdup_n_f64(b)))
2985}
2986#[doc = "Floating-point compare less than zero"]
2987#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltz_f32)"]
2988#[inline]
2989#[target_feature(enable = "neon")]
2990#[cfg_attr(test, assert_instr(fcmlt))]
2991#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2992pub fn vcltz_f32(a: float32x2_t) -> uint32x2_t {
2993 let b: f32x2 = f32x2::new(0.0, 0.0);
2994 unsafe { simd_lt(a, transmute(b)) }
2995}
2996#[doc = "Floating-point compare less than zero"]
2997#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzq_f32)"]
2998#[inline]
2999#[target_feature(enable = "neon")]
3000#[cfg_attr(test, assert_instr(fcmlt))]
3001#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3002pub fn vcltzq_f32(a: float32x4_t) -> uint32x4_t {
3003 let b: f32x4 = f32x4::new(0.0, 0.0, 0.0, 0.0);
3004 unsafe { simd_lt(a, transmute(b)) }
3005}
3006#[doc = "Floating-point compare less than zero"]
3007#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltz_f64)"]
3008#[inline]
3009#[target_feature(enable = "neon")]
3010#[cfg_attr(test, assert_instr(fcmlt))]
3011#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3012pub fn vcltz_f64(a: float64x1_t) -> uint64x1_t {
3013 let b: f64 = 0.0;
3014 unsafe { simd_lt(a, transmute(b)) }
3015}
3016#[doc = "Floating-point compare less than zero"]
3017#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzq_f64)"]
3018#[inline]
3019#[target_feature(enable = "neon")]
3020#[cfg_attr(test, assert_instr(fcmlt))]
3021#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3022pub fn vcltzq_f64(a: float64x2_t) -> uint64x2_t {
3023 let b: f64x2 = f64x2::new(0.0, 0.0);
3024 unsafe { simd_lt(a, transmute(b)) }
3025}
3026#[doc = "Compare signed less than zero"]
3027#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltz_s8)"]
3028#[inline]
3029#[target_feature(enable = "neon")]
3030#[cfg_attr(test, assert_instr(cmlt))]
3031#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3032pub fn vcltz_s8(a: int8x8_t) -> uint8x8_t {
3033 let b: i8x8 = i8x8::new(0, 0, 0, 0, 0, 0, 0, 0);
3034 unsafe { simd_lt(a, transmute(b)) }
3035}
3036#[doc = "Compare signed less than zero"]
3037#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzq_s8)"]
3038#[inline]
3039#[target_feature(enable = "neon")]
3040#[cfg_attr(test, assert_instr(cmlt))]
3041#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3042pub fn vcltzq_s8(a: int8x16_t) -> uint8x16_t {
3043 let b: i8x16 = i8x16::new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
3044 unsafe { simd_lt(a, transmute(b)) }
3045}
3046#[doc = "Compare signed less than zero"]
3047#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltz_s16)"]
3048#[inline]
3049#[target_feature(enable = "neon")]
3050#[cfg_attr(test, assert_instr(cmlt))]
3051#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3052pub fn vcltz_s16(a: int16x4_t) -> uint16x4_t {
3053 let b: i16x4 = i16x4::new(0, 0, 0, 0);
3054 unsafe { simd_lt(a, transmute(b)) }
3055}
3056#[doc = "Compare signed less than zero"]
3057#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzq_s16)"]
3058#[inline]
3059#[target_feature(enable = "neon")]
3060#[cfg_attr(test, assert_instr(cmlt))]
3061#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3062pub fn vcltzq_s16(a: int16x8_t) -> uint16x8_t {
3063 let b: i16x8 = i16x8::new(0, 0, 0, 0, 0, 0, 0, 0);
3064 unsafe { simd_lt(a, transmute(b)) }
3065}
3066#[doc = "Compare signed less than zero"]
3067#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltz_s32)"]
3068#[inline]
3069#[target_feature(enable = "neon")]
3070#[cfg_attr(test, assert_instr(cmlt))]
3071#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3072pub fn vcltz_s32(a: int32x2_t) -> uint32x2_t {
3073 let b: i32x2 = i32x2::new(0, 0);
3074 unsafe { simd_lt(a, transmute(b)) }
3075}
3076#[doc = "Compare signed less than zero"]
3077#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzq_s32)"]
3078#[inline]
3079#[target_feature(enable = "neon")]
3080#[cfg_attr(test, assert_instr(cmlt))]
3081#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3082pub fn vcltzq_s32(a: int32x4_t) -> uint32x4_t {
3083 let b: i32x4 = i32x4::new(0, 0, 0, 0);
3084 unsafe { simd_lt(a, transmute(b)) }
3085}
3086#[doc = "Compare signed less than zero"]
3087#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltz_s64)"]
3088#[inline]
3089#[target_feature(enable = "neon")]
3090#[cfg_attr(test, assert_instr(cmlt))]
3091#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3092pub fn vcltz_s64(a: int64x1_t) -> uint64x1_t {
3093 let b: i64x1 = i64x1::new(0);
3094 unsafe { simd_lt(a, transmute(b)) }
3095}
3096#[doc = "Compare signed less than zero"]
3097#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzq_s64)"]
3098#[inline]
3099#[target_feature(enable = "neon")]
3100#[cfg_attr(test, assert_instr(cmlt))]
3101#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3102pub fn vcltzq_s64(a: int64x2_t) -> uint64x2_t {
3103 let b: i64x2 = i64x2::new(0, 0);
3104 unsafe { simd_lt(a, transmute(b)) }
3105}
3106#[doc = "Floating-point compare less than zero"]
3107#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzd_f64)"]
3108#[inline]
3109#[target_feature(enable = "neon")]
3110#[cfg_attr(test, assert_instr(fcmp))]
3111#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3112pub fn vcltzd_f64(a: f64) -> u64 {
3113 vget_lane_u64::<0>(vcltz_f64(vdup_n_f64(a)))
3114}
3115#[doc = "Floating-point compare less than zero"]
3116#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzs_f32)"]
3117#[inline]
3118#[target_feature(enable = "neon")]
3119#[cfg_attr(test, assert_instr(fcmp))]
3120#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3121pub fn vcltzs_f32(a: f32) -> u32 {
3122 vget_lane_u32::<0>(vcltz_f32(vdup_n_f32(a)))
3123}
3124#[doc = "Compare less than zero"]
3125#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzd_s64)"]
3126#[inline]
3127#[target_feature(enable = "neon")]
3128#[cfg_attr(test, assert_instr(asr))]
3129#[stable(feature = "neon_intrinsics", since = "1.59.0")]
3130pub fn vcltzd_s64(a: i64) -> u64 {
3131 unsafe { transmute(vcltz_s64(transmute(a))) }
3132}
3133#[doc = "Floating-point compare less than zero"]
3134#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcltzh_f16)"]
3135#[inline]
3136#[cfg_attr(test, assert_instr(fcmp))]
3137#[target_feature(enable = "neon,fp16")]
3138#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
3139#[cfg(not(target_arch = "arm64ec"))]
3140pub fn vcltzh_f16(a: f16) -> u16 {
3141 vget_lane_u16::<0>(vcltz_f16(vdup_n_f16(a)))
3142}
3143#[doc = "Floating-point complex multiply accumulate"]
3144#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_f16)"]
3145#[inline]
3146#[cfg(target_endian = "little")]
3147#[target_feature(enable = "neon,fcma")]
3148#[target_feature(enable = "neon,fp16")]
3149#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3150#[cfg(not(target_arch = "arm64ec"))]
3151#[cfg_attr(test, assert_instr(fcmla))]
3152pub fn vcmla_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
3153 unsafe extern "unadjusted" {
3154 #[cfg_attr(
3155 any(target_arch = "aarch64", target_arch = "arm64ec"),
3156 link_name = "llvm.aarch64.neon.vcmla.rot0.v4f16"
3157 )]
3158 fn _vcmla_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
3159 }
3160 unsafe { _vcmla_f16(a, b, c) }
3161}
3162#[doc = "Floating-point complex multiply accumulate"]
3163#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_f16)"]
3164#[inline]
3165#[cfg(target_endian = "big")]
3166#[target_feature(enable = "neon,fcma")]
3167#[target_feature(enable = "neon,fp16")]
3168#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3169#[cfg(not(target_arch = "arm64ec"))]
3170#[cfg_attr(test, assert_instr(fcmla))]
3171pub fn vcmla_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
3172 unsafe extern "unadjusted" {
3173 #[cfg_attr(
3174 any(target_arch = "aarch64", target_arch = "arm64ec"),
3175 link_name = "llvm.aarch64.neon.vcmla.rot0.v4f16"
3176 )]
3177 fn _vcmla_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
3178 }
3179 unsafe {
3180 let a: float16x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
3181 let b: float16x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
3182 let c: float16x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
3183 let ret_val: float16x4_t = _vcmla_f16(a, b, c);
3184 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
3185 }
3186}
3187#[doc = "Floating-point complex multiply accumulate"]
3188#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_f16)"]
3189#[inline]
3190#[cfg(target_endian = "little")]
3191#[target_feature(enable = "neon,fcma")]
3192#[target_feature(enable = "neon,fp16")]
3193#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3194#[cfg(not(target_arch = "arm64ec"))]
3195#[cfg_attr(test, assert_instr(fcmla))]
3196pub fn vcmlaq_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
3197 unsafe extern "unadjusted" {
3198 #[cfg_attr(
3199 any(target_arch = "aarch64", target_arch = "arm64ec"),
3200 link_name = "llvm.aarch64.neon.vcmla.rot0.v8f16"
3201 )]
3202 fn _vcmlaq_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
3203 }
3204 unsafe { _vcmlaq_f16(a, b, c) }
3205}
3206#[doc = "Floating-point complex multiply accumulate"]
3207#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_f16)"]
3208#[inline]
3209#[cfg(target_endian = "big")]
3210#[target_feature(enable = "neon,fcma")]
3211#[target_feature(enable = "neon,fp16")]
3212#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3213#[cfg(not(target_arch = "arm64ec"))]
3214#[cfg_attr(test, assert_instr(fcmla))]
3215pub fn vcmlaq_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
3216 unsafe extern "unadjusted" {
3217 #[cfg_attr(
3218 any(target_arch = "aarch64", target_arch = "arm64ec"),
3219 link_name = "llvm.aarch64.neon.vcmla.rot0.v8f16"
3220 )]
3221 fn _vcmlaq_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
3222 }
3223 unsafe {
3224 let a: float16x8_t = simd_shuffle!(a, a, [7, 6, 5, 4, 3, 2, 1, 0]);
3225 let b: float16x8_t = simd_shuffle!(b, b, [7, 6, 5, 4, 3, 2, 1, 0]);
3226 let c: float16x8_t = simd_shuffle!(c, c, [7, 6, 5, 4, 3, 2, 1, 0]);
3227 let ret_val: float16x8_t = _vcmlaq_f16(a, b, c);
3228 simd_shuffle!(ret_val, ret_val, [7, 6, 5, 4, 3, 2, 1, 0])
3229 }
3230}
3231#[doc = "Floating-point complex multiply accumulate"]
3232#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_f32)"]
3233#[inline]
3234#[cfg(target_endian = "little")]
3235#[target_feature(enable = "neon,fcma")]
3236#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3237#[cfg_attr(test, assert_instr(fcmla))]
3238pub fn vcmla_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
3239 unsafe extern "unadjusted" {
3240 #[cfg_attr(
3241 any(target_arch = "aarch64", target_arch = "arm64ec"),
3242 link_name = "llvm.aarch64.neon.vcmla.rot0.v2f32"
3243 )]
3244 fn _vcmla_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
3245 }
3246 unsafe { _vcmla_f32(a, b, c) }
3247}
3248#[doc = "Floating-point complex multiply accumulate"]
3249#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_f32)"]
3250#[inline]
3251#[cfg(target_endian = "big")]
3252#[target_feature(enable = "neon,fcma")]
3253#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3254#[cfg_attr(test, assert_instr(fcmla))]
3255pub fn vcmla_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
3256 unsafe extern "unadjusted" {
3257 #[cfg_attr(
3258 any(target_arch = "aarch64", target_arch = "arm64ec"),
3259 link_name = "llvm.aarch64.neon.vcmla.rot0.v2f32"
3260 )]
3261 fn _vcmla_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
3262 }
3263 unsafe {
3264 let a: float32x2_t = simd_shuffle!(a, a, [1, 0]);
3265 let b: float32x2_t = simd_shuffle!(b, b, [1, 0]);
3266 let c: float32x2_t = simd_shuffle!(c, c, [1, 0]);
3267 let ret_val: float32x2_t = _vcmla_f32(a, b, c);
3268 simd_shuffle!(ret_val, ret_val, [1, 0])
3269 }
3270}
3271#[doc = "Floating-point complex multiply accumulate"]
3272#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_f32)"]
3273#[inline]
3274#[cfg(target_endian = "little")]
3275#[target_feature(enable = "neon,fcma")]
3276#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3277#[cfg_attr(test, assert_instr(fcmla))]
3278pub fn vcmlaq_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
3279 unsafe extern "unadjusted" {
3280 #[cfg_attr(
3281 any(target_arch = "aarch64", target_arch = "arm64ec"),
3282 link_name = "llvm.aarch64.neon.vcmla.rot0.v4f32"
3283 )]
3284 fn _vcmlaq_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
3285 }
3286 unsafe { _vcmlaq_f32(a, b, c) }
3287}
3288#[doc = "Floating-point complex multiply accumulate"]
3289#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_f32)"]
3290#[inline]
3291#[cfg(target_endian = "big")]
3292#[target_feature(enable = "neon,fcma")]
3293#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3294#[cfg_attr(test, assert_instr(fcmla))]
3295pub fn vcmlaq_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
3296 unsafe extern "unadjusted" {
3297 #[cfg_attr(
3298 any(target_arch = "aarch64", target_arch = "arm64ec"),
3299 link_name = "llvm.aarch64.neon.vcmla.rot0.v4f32"
3300 )]
3301 fn _vcmlaq_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
3302 }
3303 unsafe {
3304 let a: float32x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
3305 let b: float32x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
3306 let c: float32x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
3307 let ret_val: float32x4_t = _vcmlaq_f32(a, b, c);
3308 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
3309 }
3310}
3311#[doc = "Floating-point complex multiply accumulate"]
3312#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_f64)"]
3313#[inline]
3314#[cfg(target_endian = "little")]
3315#[target_feature(enable = "neon,fcma")]
3316#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3317#[cfg_attr(test, assert_instr(fcmla))]
3318pub fn vcmlaq_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
3319 unsafe extern "unadjusted" {
3320 #[cfg_attr(
3321 any(target_arch = "aarch64", target_arch = "arm64ec"),
3322 link_name = "llvm.aarch64.neon.vcmla.rot0.v2f64"
3323 )]
3324 fn _vcmlaq_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
3325 }
3326 unsafe { _vcmlaq_f64(a, b, c) }
3327}
3328#[doc = "Floating-point complex multiply accumulate"]
3329#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_f64)"]
3330#[inline]
3331#[cfg(target_endian = "big")]
3332#[target_feature(enable = "neon,fcma")]
3333#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3334#[cfg_attr(test, assert_instr(fcmla))]
3335pub fn vcmlaq_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
3336 unsafe extern "unadjusted" {
3337 #[cfg_attr(
3338 any(target_arch = "aarch64", target_arch = "arm64ec"),
3339 link_name = "llvm.aarch64.neon.vcmla.rot0.v2f64"
3340 )]
3341 fn _vcmlaq_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
3342 }
3343 unsafe {
3344 let a: float64x2_t = simd_shuffle!(a, a, [1, 0]);
3345 let b: float64x2_t = simd_shuffle!(b, b, [1, 0]);
3346 let c: float64x2_t = simd_shuffle!(c, c, [1, 0]);
3347 let ret_val: float64x2_t = _vcmlaq_f64(a, b, c);
3348 simd_shuffle!(ret_val, ret_val, [1, 0])
3349 }
3350}
3351#[doc = "Floating-point complex multiply accumulate"]
3352#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_lane_f16)"]
3353#[inline]
3354#[target_feature(enable = "neon,fcma")]
3355#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3356#[rustc_legacy_const_generics(3)]
3357#[target_feature(enable = "neon,fp16")]
3358#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3359#[cfg(not(target_arch = "arm64ec"))]
3360pub fn vcmla_lane_f16<const LANE: i32>(
3361 a: float16x4_t,
3362 b: float16x4_t,
3363 c: float16x4_t,
3364) -> float16x4_t {
3365 static_assert_uimm_bits!(LANE, 1);
3366 let c = vreinterpret_u32_f16(c);
3367 let c = vdup_lane_u32::<LANE>(c);
3368 let c = vreinterpret_f16_u32(c);
3369 vcmla_f16(a, b, c)
3370}
3371#[doc = "Floating-point complex multiply accumulate"]
3372#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_lane_f16)"]
3373#[inline]
3374#[target_feature(enable = "neon,fcma")]
3375#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3376#[rustc_legacy_const_generics(3)]
3377#[target_feature(enable = "neon,fp16")]
3378#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3379#[cfg(not(target_arch = "arm64ec"))]
3380pub fn vcmlaq_lane_f16<const LANE: i32>(
3381 a: float16x8_t,
3382 b: float16x8_t,
3383 c: float16x4_t,
3384) -> float16x8_t {
3385 static_assert_uimm_bits!(LANE, 1);
3386 let c = vreinterpret_u32_f16(c);
3387 let c = vdupq_lane_u32::<LANE>(c);
3388 let c = vreinterpretq_f16_u32(c);
3389 vcmlaq_f16(a, b, c)
3390}
3391#[doc = "Floating-point complex multiply accumulate"]
3392#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_lane_f32)"]
3393#[inline]
3394#[target_feature(enable = "neon,fcma")]
3395#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3396#[rustc_legacy_const_generics(3)]
3397#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3398pub fn vcmla_lane_f32<const LANE: i32>(
3399 a: float32x2_t,
3400 b: float32x2_t,
3401 c: float32x2_t,
3402) -> float32x2_t {
3403 static_assert!(LANE == 0);
3404 let c = vreinterpret_u64_f32(c);
3405 let c = vdup_lane_u64::<LANE>(c);
3406 let c = vreinterpret_f32_u64(c);
3407 vcmla_f32(a, b, c)
3408}
3409#[doc = "Floating-point complex multiply accumulate"]
3410#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_lane_f32)"]
3411#[inline]
3412#[target_feature(enable = "neon,fcma")]
3413#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3414#[rustc_legacy_const_generics(3)]
3415#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3416pub fn vcmlaq_lane_f32<const LANE: i32>(
3417 a: float32x4_t,
3418 b: float32x4_t,
3419 c: float32x2_t,
3420) -> float32x4_t {
3421 static_assert!(LANE == 0);
3422 let c = vreinterpret_u64_f32(c);
3423 let c = vdupq_lane_u64::<LANE>(c);
3424 let c = vreinterpretq_f32_u64(c);
3425 vcmlaq_f32(a, b, c)
3426}
3427#[doc = "Floating-point complex multiply accumulate"]
3428#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_laneq_f16)"]
3429#[inline]
3430#[target_feature(enable = "neon,fcma")]
3431#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3432#[rustc_legacy_const_generics(3)]
3433#[target_feature(enable = "neon,fp16")]
3434#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3435#[cfg(not(target_arch = "arm64ec"))]
3436pub fn vcmla_laneq_f16<const LANE: i32>(
3437 a: float16x4_t,
3438 b: float16x4_t,
3439 c: float16x8_t,
3440) -> float16x4_t {
3441 static_assert_uimm_bits!(LANE, 2);
3442 let c = vreinterpretq_u32_f16(c);
3443 let c = vdup_laneq_u32::<LANE>(c);
3444 let c = vreinterpret_f16_u32(c);
3445 vcmla_f16(a, b, c)
3446}
3447#[doc = "Floating-point complex multiply accumulate"]
3448#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_laneq_f16)"]
3449#[inline]
3450#[target_feature(enable = "neon,fcma")]
3451#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3452#[rustc_legacy_const_generics(3)]
3453#[target_feature(enable = "neon,fp16")]
3454#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3455#[cfg(not(target_arch = "arm64ec"))]
3456pub fn vcmlaq_laneq_f16<const LANE: i32>(
3457 a: float16x8_t,
3458 b: float16x8_t,
3459 c: float16x8_t,
3460) -> float16x8_t {
3461 static_assert_uimm_bits!(LANE, 2);
3462 let c = vreinterpretq_u32_f16(c);
3463 let c = vdupq_laneq_u32::<LANE>(c);
3464 let c = vreinterpretq_f16_u32(c);
3465 vcmlaq_f16(a, b, c)
3466}
3467#[doc = "Floating-point complex multiply accumulate"]
3468#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_laneq_f32)"]
3469#[inline]
3470#[target_feature(enable = "neon,fcma")]
3471#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3472#[rustc_legacy_const_generics(3)]
3473#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3474pub fn vcmla_laneq_f32<const LANE: i32>(
3475 a: float32x2_t,
3476 b: float32x2_t,
3477 c: float32x4_t,
3478) -> float32x2_t {
3479 static_assert_uimm_bits!(LANE, 1);
3480 let c = vreinterpretq_u64_f32(c);
3481 let c = vdup_laneq_u64::<LANE>(c);
3482 let c = vreinterpret_f32_u64(c);
3483 vcmla_f32(a, b, c)
3484}
3485#[doc = "Floating-point complex multiply accumulate"]
3486#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_laneq_f32)"]
3487#[inline]
3488#[target_feature(enable = "neon,fcma")]
3489#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3490#[rustc_legacy_const_generics(3)]
3491#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3492pub fn vcmlaq_laneq_f32<const LANE: i32>(
3493 a: float32x4_t,
3494 b: float32x4_t,
3495 c: float32x4_t,
3496) -> float32x4_t {
3497 static_assert_uimm_bits!(LANE, 1);
3498 let c = vreinterpretq_u64_f32(c);
3499 let c = vdupq_laneq_u64::<LANE>(c);
3500 let c = vreinterpretq_f32_u64(c);
3501 vcmlaq_f32(a, b, c)
3502}
3503#[doc = "Floating-point complex multiply accumulate"]
3504#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_f16)"]
3505#[inline]
3506#[cfg(target_endian = "little")]
3507#[target_feature(enable = "neon,fcma")]
3508#[target_feature(enable = "neon,fp16")]
3509#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3510#[cfg(not(target_arch = "arm64ec"))]
3511#[cfg_attr(test, assert_instr(fcmla))]
3512pub fn vcmla_rot180_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
3513 unsafe extern "unadjusted" {
3514 #[cfg_attr(
3515 any(target_arch = "aarch64", target_arch = "arm64ec"),
3516 link_name = "llvm.aarch64.neon.vcmla.rot180.v4f16"
3517 )]
3518 fn _vcmla_rot180_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
3519 }
3520 unsafe { _vcmla_rot180_f16(a, b, c) }
3521}
3522#[doc = "Floating-point complex multiply accumulate"]
3523#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_f16)"]
3524#[inline]
3525#[cfg(target_endian = "big")]
3526#[target_feature(enable = "neon,fcma")]
3527#[target_feature(enable = "neon,fp16")]
3528#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3529#[cfg(not(target_arch = "arm64ec"))]
3530#[cfg_attr(test, assert_instr(fcmla))]
3531pub fn vcmla_rot180_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
3532 unsafe extern "unadjusted" {
3533 #[cfg_attr(
3534 any(target_arch = "aarch64", target_arch = "arm64ec"),
3535 link_name = "llvm.aarch64.neon.vcmla.rot180.v4f16"
3536 )]
3537 fn _vcmla_rot180_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
3538 }
3539 unsafe {
3540 let a: float16x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
3541 let b: float16x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
3542 let c: float16x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
3543 let ret_val: float16x4_t = _vcmla_rot180_f16(a, b, c);
3544 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
3545 }
3546}
3547#[doc = "Floating-point complex multiply accumulate"]
3548#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_f16)"]
3549#[inline]
3550#[cfg(target_endian = "little")]
3551#[target_feature(enable = "neon,fcma")]
3552#[target_feature(enable = "neon,fp16")]
3553#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3554#[cfg(not(target_arch = "arm64ec"))]
3555#[cfg_attr(test, assert_instr(fcmla))]
3556pub fn vcmlaq_rot180_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
3557 unsafe extern "unadjusted" {
3558 #[cfg_attr(
3559 any(target_arch = "aarch64", target_arch = "arm64ec"),
3560 link_name = "llvm.aarch64.neon.vcmla.rot180.v8f16"
3561 )]
3562 fn _vcmlaq_rot180_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
3563 }
3564 unsafe { _vcmlaq_rot180_f16(a, b, c) }
3565}
3566#[doc = "Floating-point complex multiply accumulate"]
3567#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_f16)"]
3568#[inline]
3569#[cfg(target_endian = "big")]
3570#[target_feature(enable = "neon,fcma")]
3571#[target_feature(enable = "neon,fp16")]
3572#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3573#[cfg(not(target_arch = "arm64ec"))]
3574#[cfg_attr(test, assert_instr(fcmla))]
3575pub fn vcmlaq_rot180_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
3576 unsafe extern "unadjusted" {
3577 #[cfg_attr(
3578 any(target_arch = "aarch64", target_arch = "arm64ec"),
3579 link_name = "llvm.aarch64.neon.vcmla.rot180.v8f16"
3580 )]
3581 fn _vcmlaq_rot180_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
3582 }
3583 unsafe {
3584 let a: float16x8_t = simd_shuffle!(a, a, [7, 6, 5, 4, 3, 2, 1, 0]);
3585 let b: float16x8_t = simd_shuffle!(b, b, [7, 6, 5, 4, 3, 2, 1, 0]);
3586 let c: float16x8_t = simd_shuffle!(c, c, [7, 6, 5, 4, 3, 2, 1, 0]);
3587 let ret_val: float16x8_t = _vcmlaq_rot180_f16(a, b, c);
3588 simd_shuffle!(ret_val, ret_val, [7, 6, 5, 4, 3, 2, 1, 0])
3589 }
3590}
3591#[doc = "Floating-point complex multiply accumulate"]
3592#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_f32)"]
3593#[inline]
3594#[cfg(target_endian = "little")]
3595#[target_feature(enable = "neon,fcma")]
3596#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3597#[cfg_attr(test, assert_instr(fcmla))]
3598pub fn vcmla_rot180_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
3599 unsafe extern "unadjusted" {
3600 #[cfg_attr(
3601 any(target_arch = "aarch64", target_arch = "arm64ec"),
3602 link_name = "llvm.aarch64.neon.vcmla.rot180.v2f32"
3603 )]
3604 fn _vcmla_rot180_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
3605 }
3606 unsafe { _vcmla_rot180_f32(a, b, c) }
3607}
3608#[doc = "Floating-point complex multiply accumulate"]
3609#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_f32)"]
3610#[inline]
3611#[cfg(target_endian = "big")]
3612#[target_feature(enable = "neon,fcma")]
3613#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3614#[cfg_attr(test, assert_instr(fcmla))]
3615pub fn vcmla_rot180_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
3616 unsafe extern "unadjusted" {
3617 #[cfg_attr(
3618 any(target_arch = "aarch64", target_arch = "arm64ec"),
3619 link_name = "llvm.aarch64.neon.vcmla.rot180.v2f32"
3620 )]
3621 fn _vcmla_rot180_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
3622 }
3623 unsafe {
3624 let a: float32x2_t = simd_shuffle!(a, a, [1, 0]);
3625 let b: float32x2_t = simd_shuffle!(b, b, [1, 0]);
3626 let c: float32x2_t = simd_shuffle!(c, c, [1, 0]);
3627 let ret_val: float32x2_t = _vcmla_rot180_f32(a, b, c);
3628 simd_shuffle!(ret_val, ret_val, [1, 0])
3629 }
3630}
3631#[doc = "Floating-point complex multiply accumulate"]
3632#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_f32)"]
3633#[inline]
3634#[cfg(target_endian = "little")]
3635#[target_feature(enable = "neon,fcma")]
3636#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3637#[cfg_attr(test, assert_instr(fcmla))]
3638pub fn vcmlaq_rot180_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
3639 unsafe extern "unadjusted" {
3640 #[cfg_attr(
3641 any(target_arch = "aarch64", target_arch = "arm64ec"),
3642 link_name = "llvm.aarch64.neon.vcmla.rot180.v4f32"
3643 )]
3644 fn _vcmlaq_rot180_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
3645 }
3646 unsafe { _vcmlaq_rot180_f32(a, b, c) }
3647}
3648#[doc = "Floating-point complex multiply accumulate"]
3649#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_f32)"]
3650#[inline]
3651#[cfg(target_endian = "big")]
3652#[target_feature(enable = "neon,fcma")]
3653#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3654#[cfg_attr(test, assert_instr(fcmla))]
3655pub fn vcmlaq_rot180_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
3656 unsafe extern "unadjusted" {
3657 #[cfg_attr(
3658 any(target_arch = "aarch64", target_arch = "arm64ec"),
3659 link_name = "llvm.aarch64.neon.vcmla.rot180.v4f32"
3660 )]
3661 fn _vcmlaq_rot180_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
3662 }
3663 unsafe {
3664 let a: float32x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
3665 let b: float32x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
3666 let c: float32x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
3667 let ret_val: float32x4_t = _vcmlaq_rot180_f32(a, b, c);
3668 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
3669 }
3670}
3671#[doc = "Floating-point complex multiply accumulate"]
3672#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_f64)"]
3673#[inline]
3674#[cfg(target_endian = "little")]
3675#[target_feature(enable = "neon,fcma")]
3676#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3677#[cfg_attr(test, assert_instr(fcmla))]
3678pub fn vcmlaq_rot180_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
3679 unsafe extern "unadjusted" {
3680 #[cfg_attr(
3681 any(target_arch = "aarch64", target_arch = "arm64ec"),
3682 link_name = "llvm.aarch64.neon.vcmla.rot180.v2f64"
3683 )]
3684 fn _vcmlaq_rot180_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
3685 }
3686 unsafe { _vcmlaq_rot180_f64(a, b, c) }
3687}
3688#[doc = "Floating-point complex multiply accumulate"]
3689#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_f64)"]
3690#[inline]
3691#[cfg(target_endian = "big")]
3692#[target_feature(enable = "neon,fcma")]
3693#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3694#[cfg_attr(test, assert_instr(fcmla))]
3695pub fn vcmlaq_rot180_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
3696 unsafe extern "unadjusted" {
3697 #[cfg_attr(
3698 any(target_arch = "aarch64", target_arch = "arm64ec"),
3699 link_name = "llvm.aarch64.neon.vcmla.rot180.v2f64"
3700 )]
3701 fn _vcmlaq_rot180_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
3702 }
3703 unsafe {
3704 let a: float64x2_t = simd_shuffle!(a, a, [1, 0]);
3705 let b: float64x2_t = simd_shuffle!(b, b, [1, 0]);
3706 let c: float64x2_t = simd_shuffle!(c, c, [1, 0]);
3707 let ret_val: float64x2_t = _vcmlaq_rot180_f64(a, b, c);
3708 simd_shuffle!(ret_val, ret_val, [1, 0])
3709 }
3710}
3711#[doc = "Floating-point complex multiply accumulate"]
3712#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_lane_f16)"]
3713#[inline]
3714#[target_feature(enable = "neon,fcma")]
3715#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3716#[rustc_legacy_const_generics(3)]
3717#[target_feature(enable = "neon,fp16")]
3718#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3719#[cfg(not(target_arch = "arm64ec"))]
3720pub fn vcmla_rot180_lane_f16<const LANE: i32>(
3721 a: float16x4_t,
3722 b: float16x4_t,
3723 c: float16x4_t,
3724) -> float16x4_t {
3725 static_assert_uimm_bits!(LANE, 1);
3726 let c = vreinterpret_u32_f16(c);
3727 let c = vdup_lane_u32::<LANE>(c);
3728 let c = vreinterpret_f16_u32(c);
3729 vcmla_rot180_f16(a, b, c)
3730}
3731#[doc = "Floating-point complex multiply accumulate"]
3732#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_lane_f16)"]
3733#[inline]
3734#[target_feature(enable = "neon,fcma")]
3735#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3736#[rustc_legacy_const_generics(3)]
3737#[target_feature(enable = "neon,fp16")]
3738#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3739#[cfg(not(target_arch = "arm64ec"))]
3740pub fn vcmlaq_rot180_lane_f16<const LANE: i32>(
3741 a: float16x8_t,
3742 b: float16x8_t,
3743 c: float16x4_t,
3744) -> float16x8_t {
3745 static_assert_uimm_bits!(LANE, 1);
3746 let c = vreinterpret_u32_f16(c);
3747 let c = vdupq_lane_u32::<LANE>(c);
3748 let c = vreinterpretq_f16_u32(c);
3749 vcmlaq_rot180_f16(a, b, c)
3750}
3751#[doc = "Floating-point complex multiply accumulate"]
3752#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_lane_f32)"]
3753#[inline]
3754#[target_feature(enable = "neon,fcma")]
3755#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3756#[rustc_legacy_const_generics(3)]
3757#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3758pub fn vcmla_rot180_lane_f32<const LANE: i32>(
3759 a: float32x2_t,
3760 b: float32x2_t,
3761 c: float32x2_t,
3762) -> float32x2_t {
3763 static_assert!(LANE == 0);
3764 let c = vreinterpret_u64_f32(c);
3765 let c = vdup_lane_u64::<LANE>(c);
3766 let c = vreinterpret_f32_u64(c);
3767 vcmla_rot180_f32(a, b, c)
3768}
3769#[doc = "Floating-point complex multiply accumulate"]
3770#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_lane_f32)"]
3771#[inline]
3772#[target_feature(enable = "neon,fcma")]
3773#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3774#[rustc_legacy_const_generics(3)]
3775#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3776pub fn vcmlaq_rot180_lane_f32<const LANE: i32>(
3777 a: float32x4_t,
3778 b: float32x4_t,
3779 c: float32x2_t,
3780) -> float32x4_t {
3781 static_assert!(LANE == 0);
3782 let c = vreinterpret_u64_f32(c);
3783 let c = vdupq_lane_u64::<LANE>(c);
3784 let c = vreinterpretq_f32_u64(c);
3785 vcmlaq_rot180_f32(a, b, c)
3786}
3787#[doc = "Floating-point complex multiply accumulate"]
3788#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_laneq_f16)"]
3789#[inline]
3790#[target_feature(enable = "neon,fcma")]
3791#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3792#[rustc_legacy_const_generics(3)]
3793#[target_feature(enable = "neon,fp16")]
3794#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3795#[cfg(not(target_arch = "arm64ec"))]
3796pub fn vcmla_rot180_laneq_f16<const LANE: i32>(
3797 a: float16x4_t,
3798 b: float16x4_t,
3799 c: float16x8_t,
3800) -> float16x4_t {
3801 static_assert_uimm_bits!(LANE, 2);
3802 let c = vreinterpretq_u32_f16(c);
3803 let c = vdup_laneq_u32::<LANE>(c);
3804 let c = vreinterpret_f16_u32(c);
3805 vcmla_rot180_f16(a, b, c)
3806}
3807#[doc = "Floating-point complex multiply accumulate"]
3808#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_laneq_f16)"]
3809#[inline]
3810#[target_feature(enable = "neon,fcma")]
3811#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3812#[rustc_legacy_const_generics(3)]
3813#[target_feature(enable = "neon,fp16")]
3814#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3815#[cfg(not(target_arch = "arm64ec"))]
3816pub fn vcmlaq_rot180_laneq_f16<const LANE: i32>(
3817 a: float16x8_t,
3818 b: float16x8_t,
3819 c: float16x8_t,
3820) -> float16x8_t {
3821 static_assert_uimm_bits!(LANE, 2);
3822 let c = vreinterpretq_u32_f16(c);
3823 let c = vdupq_laneq_u32::<LANE>(c);
3824 let c = vreinterpretq_f16_u32(c);
3825 vcmlaq_rot180_f16(a, b, c)
3826}
3827#[doc = "Floating-point complex multiply accumulate"]
3828#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot180_laneq_f32)"]
3829#[inline]
3830#[target_feature(enable = "neon,fcma")]
3831#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3832#[rustc_legacy_const_generics(3)]
3833#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3834pub fn vcmla_rot180_laneq_f32<const LANE: i32>(
3835 a: float32x2_t,
3836 b: float32x2_t,
3837 c: float32x4_t,
3838) -> float32x2_t {
3839 static_assert_uimm_bits!(LANE, 1);
3840 let c = vreinterpretq_u64_f32(c);
3841 let c = vdup_laneq_u64::<LANE>(c);
3842 let c = vreinterpret_f32_u64(c);
3843 vcmla_rot180_f32(a, b, c)
3844}
3845#[doc = "Floating-point complex multiply accumulate"]
3846#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot180_laneq_f32)"]
3847#[inline]
3848#[target_feature(enable = "neon,fcma")]
3849#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
3850#[rustc_legacy_const_generics(3)]
3851#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3852pub fn vcmlaq_rot180_laneq_f32<const LANE: i32>(
3853 a: float32x4_t,
3854 b: float32x4_t,
3855 c: float32x4_t,
3856) -> float32x4_t {
3857 static_assert_uimm_bits!(LANE, 1);
3858 let c = vreinterpretq_u64_f32(c);
3859 let c = vdupq_laneq_u64::<LANE>(c);
3860 let c = vreinterpretq_f32_u64(c);
3861 vcmlaq_rot180_f32(a, b, c)
3862}
3863#[doc = "Floating-point complex multiply accumulate"]
3864#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_f16)"]
3865#[inline]
3866#[cfg(target_endian = "little")]
3867#[target_feature(enable = "neon,fcma")]
3868#[target_feature(enable = "neon,fp16")]
3869#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3870#[cfg(not(target_arch = "arm64ec"))]
3871#[cfg_attr(test, assert_instr(fcmla))]
3872pub fn vcmla_rot270_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
3873 unsafe extern "unadjusted" {
3874 #[cfg_attr(
3875 any(target_arch = "aarch64", target_arch = "arm64ec"),
3876 link_name = "llvm.aarch64.neon.vcmla.rot270.v4f16"
3877 )]
3878 fn _vcmla_rot270_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
3879 }
3880 unsafe { _vcmla_rot270_f16(a, b, c) }
3881}
3882#[doc = "Floating-point complex multiply accumulate"]
3883#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_f16)"]
3884#[inline]
3885#[cfg(target_endian = "big")]
3886#[target_feature(enable = "neon,fcma")]
3887#[target_feature(enable = "neon,fp16")]
3888#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3889#[cfg(not(target_arch = "arm64ec"))]
3890#[cfg_attr(test, assert_instr(fcmla))]
3891pub fn vcmla_rot270_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
3892 unsafe extern "unadjusted" {
3893 #[cfg_attr(
3894 any(target_arch = "aarch64", target_arch = "arm64ec"),
3895 link_name = "llvm.aarch64.neon.vcmla.rot270.v4f16"
3896 )]
3897 fn _vcmla_rot270_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
3898 }
3899 unsafe {
3900 let a: float16x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
3901 let b: float16x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
3902 let c: float16x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
3903 let ret_val: float16x4_t = _vcmla_rot270_f16(a, b, c);
3904 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
3905 }
3906}
3907#[doc = "Floating-point complex multiply accumulate"]
3908#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_f16)"]
3909#[inline]
3910#[cfg(target_endian = "little")]
3911#[target_feature(enable = "neon,fcma")]
3912#[target_feature(enable = "neon,fp16")]
3913#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3914#[cfg(not(target_arch = "arm64ec"))]
3915#[cfg_attr(test, assert_instr(fcmla))]
3916pub fn vcmlaq_rot270_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
3917 unsafe extern "unadjusted" {
3918 #[cfg_attr(
3919 any(target_arch = "aarch64", target_arch = "arm64ec"),
3920 link_name = "llvm.aarch64.neon.vcmla.rot270.v8f16"
3921 )]
3922 fn _vcmlaq_rot270_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
3923 }
3924 unsafe { _vcmlaq_rot270_f16(a, b, c) }
3925}
3926#[doc = "Floating-point complex multiply accumulate"]
3927#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_f16)"]
3928#[inline]
3929#[cfg(target_endian = "big")]
3930#[target_feature(enable = "neon,fcma")]
3931#[target_feature(enable = "neon,fp16")]
3932#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3933#[cfg(not(target_arch = "arm64ec"))]
3934#[cfg_attr(test, assert_instr(fcmla))]
3935pub fn vcmlaq_rot270_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
3936 unsafe extern "unadjusted" {
3937 #[cfg_attr(
3938 any(target_arch = "aarch64", target_arch = "arm64ec"),
3939 link_name = "llvm.aarch64.neon.vcmla.rot270.v8f16"
3940 )]
3941 fn _vcmlaq_rot270_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
3942 }
3943 unsafe {
3944 let a: float16x8_t = simd_shuffle!(a, a, [7, 6, 5, 4, 3, 2, 1, 0]);
3945 let b: float16x8_t = simd_shuffle!(b, b, [7, 6, 5, 4, 3, 2, 1, 0]);
3946 let c: float16x8_t = simd_shuffle!(c, c, [7, 6, 5, 4, 3, 2, 1, 0]);
3947 let ret_val: float16x8_t = _vcmlaq_rot270_f16(a, b, c);
3948 simd_shuffle!(ret_val, ret_val, [7, 6, 5, 4, 3, 2, 1, 0])
3949 }
3950}
3951#[doc = "Floating-point complex multiply accumulate"]
3952#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_f32)"]
3953#[inline]
3954#[cfg(target_endian = "little")]
3955#[target_feature(enable = "neon,fcma")]
3956#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3957#[cfg_attr(test, assert_instr(fcmla))]
3958pub fn vcmla_rot270_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
3959 unsafe extern "unadjusted" {
3960 #[cfg_attr(
3961 any(target_arch = "aarch64", target_arch = "arm64ec"),
3962 link_name = "llvm.aarch64.neon.vcmla.rot270.v2f32"
3963 )]
3964 fn _vcmla_rot270_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
3965 }
3966 unsafe { _vcmla_rot270_f32(a, b, c) }
3967}
3968#[doc = "Floating-point complex multiply accumulate"]
3969#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_f32)"]
3970#[inline]
3971#[cfg(target_endian = "big")]
3972#[target_feature(enable = "neon,fcma")]
3973#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3974#[cfg_attr(test, assert_instr(fcmla))]
3975pub fn vcmla_rot270_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
3976 unsafe extern "unadjusted" {
3977 #[cfg_attr(
3978 any(target_arch = "aarch64", target_arch = "arm64ec"),
3979 link_name = "llvm.aarch64.neon.vcmla.rot270.v2f32"
3980 )]
3981 fn _vcmla_rot270_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
3982 }
3983 unsafe {
3984 let a: float32x2_t = simd_shuffle!(a, a, [1, 0]);
3985 let b: float32x2_t = simd_shuffle!(b, b, [1, 0]);
3986 let c: float32x2_t = simd_shuffle!(c, c, [1, 0]);
3987 let ret_val: float32x2_t = _vcmla_rot270_f32(a, b, c);
3988 simd_shuffle!(ret_val, ret_val, [1, 0])
3989 }
3990}
3991#[doc = "Floating-point complex multiply accumulate"]
3992#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_f32)"]
3993#[inline]
3994#[cfg(target_endian = "little")]
3995#[target_feature(enable = "neon,fcma")]
3996#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
3997#[cfg_attr(test, assert_instr(fcmla))]
3998pub fn vcmlaq_rot270_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
3999 unsafe extern "unadjusted" {
4000 #[cfg_attr(
4001 any(target_arch = "aarch64", target_arch = "arm64ec"),
4002 link_name = "llvm.aarch64.neon.vcmla.rot270.v4f32"
4003 )]
4004 fn _vcmlaq_rot270_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
4005 }
4006 unsafe { _vcmlaq_rot270_f32(a, b, c) }
4007}
4008#[doc = "Floating-point complex multiply accumulate"]
4009#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_f32)"]
4010#[inline]
4011#[cfg(target_endian = "big")]
4012#[target_feature(enable = "neon,fcma")]
4013#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4014#[cfg_attr(test, assert_instr(fcmla))]
4015pub fn vcmlaq_rot270_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
4016 unsafe extern "unadjusted" {
4017 #[cfg_attr(
4018 any(target_arch = "aarch64", target_arch = "arm64ec"),
4019 link_name = "llvm.aarch64.neon.vcmla.rot270.v4f32"
4020 )]
4021 fn _vcmlaq_rot270_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
4022 }
4023 unsafe {
4024 let a: float32x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
4025 let b: float32x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
4026 let c: float32x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
4027 let ret_val: float32x4_t = _vcmlaq_rot270_f32(a, b, c);
4028 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
4029 }
4030}
4031#[doc = "Floating-point complex multiply accumulate"]
4032#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_f64)"]
4033#[inline]
4034#[cfg(target_endian = "little")]
4035#[target_feature(enable = "neon,fcma")]
4036#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4037#[cfg_attr(test, assert_instr(fcmla))]
4038pub fn vcmlaq_rot270_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
4039 unsafe extern "unadjusted" {
4040 #[cfg_attr(
4041 any(target_arch = "aarch64", target_arch = "arm64ec"),
4042 link_name = "llvm.aarch64.neon.vcmla.rot270.v2f64"
4043 )]
4044 fn _vcmlaq_rot270_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
4045 }
4046 unsafe { _vcmlaq_rot270_f64(a, b, c) }
4047}
4048#[doc = "Floating-point complex multiply accumulate"]
4049#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_f64)"]
4050#[inline]
4051#[cfg(target_endian = "big")]
4052#[target_feature(enable = "neon,fcma")]
4053#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4054#[cfg_attr(test, assert_instr(fcmla))]
4055pub fn vcmlaq_rot270_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
4056 unsafe extern "unadjusted" {
4057 #[cfg_attr(
4058 any(target_arch = "aarch64", target_arch = "arm64ec"),
4059 link_name = "llvm.aarch64.neon.vcmla.rot270.v2f64"
4060 )]
4061 fn _vcmlaq_rot270_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
4062 }
4063 unsafe {
4064 let a: float64x2_t = simd_shuffle!(a, a, [1, 0]);
4065 let b: float64x2_t = simd_shuffle!(b, b, [1, 0]);
4066 let c: float64x2_t = simd_shuffle!(c, c, [1, 0]);
4067 let ret_val: float64x2_t = _vcmlaq_rot270_f64(a, b, c);
4068 simd_shuffle!(ret_val, ret_val, [1, 0])
4069 }
4070}
4071#[doc = "Floating-point complex multiply accumulate"]
4072#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_lane_f16)"]
4073#[inline]
4074#[target_feature(enable = "neon,fcma")]
4075#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4076#[rustc_legacy_const_generics(3)]
4077#[target_feature(enable = "neon,fp16")]
4078#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4079#[cfg(not(target_arch = "arm64ec"))]
4080pub fn vcmla_rot270_lane_f16<const LANE: i32>(
4081 a: float16x4_t,
4082 b: float16x4_t,
4083 c: float16x4_t,
4084) -> float16x4_t {
4085 static_assert_uimm_bits!(LANE, 1);
4086 let c = vreinterpret_u32_f16(c);
4087 let c = vdup_lane_u32::<LANE>(c);
4088 let c = vreinterpret_f16_u32(c);
4089 vcmla_rot270_f16(a, b, c)
4090}
4091#[doc = "Floating-point complex multiply accumulate"]
4092#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_lane_f16)"]
4093#[inline]
4094#[target_feature(enable = "neon,fcma")]
4095#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4096#[rustc_legacy_const_generics(3)]
4097#[target_feature(enable = "neon,fp16")]
4098#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4099#[cfg(not(target_arch = "arm64ec"))]
4100pub fn vcmlaq_rot270_lane_f16<const LANE: i32>(
4101 a: float16x8_t,
4102 b: float16x8_t,
4103 c: float16x4_t,
4104) -> float16x8_t {
4105 static_assert_uimm_bits!(LANE, 1);
4106 let c = vreinterpret_u32_f16(c);
4107 let c = vdupq_lane_u32::<LANE>(c);
4108 let c = vreinterpretq_f16_u32(c);
4109 vcmlaq_rot270_f16(a, b, c)
4110}
4111#[doc = "Floating-point complex multiply accumulate"]
4112#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_lane_f32)"]
4113#[inline]
4114#[target_feature(enable = "neon,fcma")]
4115#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4116#[rustc_legacy_const_generics(3)]
4117#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4118pub fn vcmla_rot270_lane_f32<const LANE: i32>(
4119 a: float32x2_t,
4120 b: float32x2_t,
4121 c: float32x2_t,
4122) -> float32x2_t {
4123 static_assert!(LANE == 0);
4124 let c = vreinterpret_u64_f32(c);
4125 let c = vdup_lane_u64::<LANE>(c);
4126 let c = vreinterpret_f32_u64(c);
4127 vcmla_rot270_f32(a, b, c)
4128}
4129#[doc = "Floating-point complex multiply accumulate"]
4130#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_lane_f32)"]
4131#[inline]
4132#[target_feature(enable = "neon,fcma")]
4133#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4134#[rustc_legacy_const_generics(3)]
4135#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4136pub fn vcmlaq_rot270_lane_f32<const LANE: i32>(
4137 a: float32x4_t,
4138 b: float32x4_t,
4139 c: float32x2_t,
4140) -> float32x4_t {
4141 static_assert!(LANE == 0);
4142 let c = vreinterpret_u64_f32(c);
4143 let c = vdupq_lane_u64::<LANE>(c);
4144 let c = vreinterpretq_f32_u64(c);
4145 vcmlaq_rot270_f32(a, b, c)
4146}
4147#[doc = "Floating-point complex multiply accumulate"]
4148#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_laneq_f16)"]
4149#[inline]
4150#[target_feature(enable = "neon,fcma")]
4151#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4152#[rustc_legacy_const_generics(3)]
4153#[target_feature(enable = "neon,fp16")]
4154#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4155#[cfg(not(target_arch = "arm64ec"))]
4156pub fn vcmla_rot270_laneq_f16<const LANE: i32>(
4157 a: float16x4_t,
4158 b: float16x4_t,
4159 c: float16x8_t,
4160) -> float16x4_t {
4161 static_assert_uimm_bits!(LANE, 2);
4162 let c = vreinterpretq_u32_f16(c);
4163 let c = vdup_laneq_u32::<LANE>(c);
4164 let c = vreinterpret_f16_u32(c);
4165 vcmla_rot270_f16(a, b, c)
4166}
4167#[doc = "Floating-point complex multiply accumulate"]
4168#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_laneq_f16)"]
4169#[inline]
4170#[target_feature(enable = "neon,fcma")]
4171#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4172#[rustc_legacy_const_generics(3)]
4173#[target_feature(enable = "neon,fp16")]
4174#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4175#[cfg(not(target_arch = "arm64ec"))]
4176pub fn vcmlaq_rot270_laneq_f16<const LANE: i32>(
4177 a: float16x8_t,
4178 b: float16x8_t,
4179 c: float16x8_t,
4180) -> float16x8_t {
4181 static_assert_uimm_bits!(LANE, 2);
4182 let c = vreinterpretq_u32_f16(c);
4183 let c = vdupq_laneq_u32::<LANE>(c);
4184 let c = vreinterpretq_f16_u32(c);
4185 vcmlaq_rot270_f16(a, b, c)
4186}
4187#[doc = "Floating-point complex multiply accumulate"]
4188#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot270_laneq_f32)"]
4189#[inline]
4190#[target_feature(enable = "neon,fcma")]
4191#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4192#[rustc_legacy_const_generics(3)]
4193#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4194pub fn vcmla_rot270_laneq_f32<const LANE: i32>(
4195 a: float32x2_t,
4196 b: float32x2_t,
4197 c: float32x4_t,
4198) -> float32x2_t {
4199 static_assert_uimm_bits!(LANE, 1);
4200 let c = vreinterpretq_u64_f32(c);
4201 let c = vdup_laneq_u64::<LANE>(c);
4202 let c = vreinterpret_f32_u64(c);
4203 vcmla_rot270_f32(a, b, c)
4204}
4205#[doc = "Floating-point complex multiply accumulate"]
4206#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot270_laneq_f32)"]
4207#[inline]
4208#[target_feature(enable = "neon,fcma")]
4209#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4210#[rustc_legacy_const_generics(3)]
4211#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4212pub fn vcmlaq_rot270_laneq_f32<const LANE: i32>(
4213 a: float32x4_t,
4214 b: float32x4_t,
4215 c: float32x4_t,
4216) -> float32x4_t {
4217 static_assert_uimm_bits!(LANE, 1);
4218 let c = vreinterpretq_u64_f32(c);
4219 let c = vdupq_laneq_u64::<LANE>(c);
4220 let c = vreinterpretq_f32_u64(c);
4221 vcmlaq_rot270_f32(a, b, c)
4222}
4223#[doc = "Floating-point complex multiply accumulate"]
4224#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_f16)"]
4225#[inline]
4226#[cfg(target_endian = "little")]
4227#[target_feature(enable = "neon,fcma")]
4228#[target_feature(enable = "neon,fp16")]
4229#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4230#[cfg(not(target_arch = "arm64ec"))]
4231#[cfg_attr(test, assert_instr(fcmla))]
4232pub fn vcmla_rot90_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
4233 unsafe extern "unadjusted" {
4234 #[cfg_attr(
4235 any(target_arch = "aarch64", target_arch = "arm64ec"),
4236 link_name = "llvm.aarch64.neon.vcmla.rot90.v4f16"
4237 )]
4238 fn _vcmla_rot90_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
4239 }
4240 unsafe { _vcmla_rot90_f16(a, b, c) }
4241}
4242#[doc = "Floating-point complex multiply accumulate"]
4243#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_f16)"]
4244#[inline]
4245#[cfg(target_endian = "big")]
4246#[target_feature(enable = "neon,fcma")]
4247#[target_feature(enable = "neon,fp16")]
4248#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4249#[cfg(not(target_arch = "arm64ec"))]
4250#[cfg_attr(test, assert_instr(fcmla))]
4251pub fn vcmla_rot90_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
4252 unsafe extern "unadjusted" {
4253 #[cfg_attr(
4254 any(target_arch = "aarch64", target_arch = "arm64ec"),
4255 link_name = "llvm.aarch64.neon.vcmla.rot90.v4f16"
4256 )]
4257 fn _vcmla_rot90_f16(a: float16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t;
4258 }
4259 unsafe {
4260 let a: float16x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
4261 let b: float16x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
4262 let c: float16x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
4263 let ret_val: float16x4_t = _vcmla_rot90_f16(a, b, c);
4264 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
4265 }
4266}
4267#[doc = "Floating-point complex multiply accumulate"]
4268#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_f16)"]
4269#[inline]
4270#[cfg(target_endian = "little")]
4271#[target_feature(enable = "neon,fcma")]
4272#[target_feature(enable = "neon,fp16")]
4273#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4274#[cfg(not(target_arch = "arm64ec"))]
4275#[cfg_attr(test, assert_instr(fcmla))]
4276pub fn vcmlaq_rot90_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
4277 unsafe extern "unadjusted" {
4278 #[cfg_attr(
4279 any(target_arch = "aarch64", target_arch = "arm64ec"),
4280 link_name = "llvm.aarch64.neon.vcmla.rot90.v8f16"
4281 )]
4282 fn _vcmlaq_rot90_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
4283 }
4284 unsafe { _vcmlaq_rot90_f16(a, b, c) }
4285}
4286#[doc = "Floating-point complex multiply accumulate"]
4287#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_f16)"]
4288#[inline]
4289#[cfg(target_endian = "big")]
4290#[target_feature(enable = "neon,fcma")]
4291#[target_feature(enable = "neon,fp16")]
4292#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4293#[cfg(not(target_arch = "arm64ec"))]
4294#[cfg_attr(test, assert_instr(fcmla))]
4295pub fn vcmlaq_rot90_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
4296 unsafe extern "unadjusted" {
4297 #[cfg_attr(
4298 any(target_arch = "aarch64", target_arch = "arm64ec"),
4299 link_name = "llvm.aarch64.neon.vcmla.rot90.v8f16"
4300 )]
4301 fn _vcmlaq_rot90_f16(a: float16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t;
4302 }
4303 unsafe {
4304 let a: float16x8_t = simd_shuffle!(a, a, [7, 6, 5, 4, 3, 2, 1, 0]);
4305 let b: float16x8_t = simd_shuffle!(b, b, [7, 6, 5, 4, 3, 2, 1, 0]);
4306 let c: float16x8_t = simd_shuffle!(c, c, [7, 6, 5, 4, 3, 2, 1, 0]);
4307 let ret_val: float16x8_t = _vcmlaq_rot90_f16(a, b, c);
4308 simd_shuffle!(ret_val, ret_val, [7, 6, 5, 4, 3, 2, 1, 0])
4309 }
4310}
4311#[doc = "Floating-point complex multiply accumulate"]
4312#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_f32)"]
4313#[inline]
4314#[cfg(target_endian = "little")]
4315#[target_feature(enable = "neon,fcma")]
4316#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4317#[cfg_attr(test, assert_instr(fcmla))]
4318pub fn vcmla_rot90_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
4319 unsafe extern "unadjusted" {
4320 #[cfg_attr(
4321 any(target_arch = "aarch64", target_arch = "arm64ec"),
4322 link_name = "llvm.aarch64.neon.vcmla.rot90.v2f32"
4323 )]
4324 fn _vcmla_rot90_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
4325 }
4326 unsafe { _vcmla_rot90_f32(a, b, c) }
4327}
4328#[doc = "Floating-point complex multiply accumulate"]
4329#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_f32)"]
4330#[inline]
4331#[cfg(target_endian = "big")]
4332#[target_feature(enable = "neon,fcma")]
4333#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4334#[cfg_attr(test, assert_instr(fcmla))]
4335pub fn vcmla_rot90_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t {
4336 unsafe extern "unadjusted" {
4337 #[cfg_attr(
4338 any(target_arch = "aarch64", target_arch = "arm64ec"),
4339 link_name = "llvm.aarch64.neon.vcmla.rot90.v2f32"
4340 )]
4341 fn _vcmla_rot90_f32(a: float32x2_t, b: float32x2_t, c: float32x2_t) -> float32x2_t;
4342 }
4343 unsafe {
4344 let a: float32x2_t = simd_shuffle!(a, a, [1, 0]);
4345 let b: float32x2_t = simd_shuffle!(b, b, [1, 0]);
4346 let c: float32x2_t = simd_shuffle!(c, c, [1, 0]);
4347 let ret_val: float32x2_t = _vcmla_rot90_f32(a, b, c);
4348 simd_shuffle!(ret_val, ret_val, [1, 0])
4349 }
4350}
4351#[doc = "Floating-point complex multiply accumulate"]
4352#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_f32)"]
4353#[inline]
4354#[cfg(target_endian = "little")]
4355#[target_feature(enable = "neon,fcma")]
4356#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4357#[cfg_attr(test, assert_instr(fcmla))]
4358pub fn vcmlaq_rot90_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
4359 unsafe extern "unadjusted" {
4360 #[cfg_attr(
4361 any(target_arch = "aarch64", target_arch = "arm64ec"),
4362 link_name = "llvm.aarch64.neon.vcmla.rot90.v4f32"
4363 )]
4364 fn _vcmlaq_rot90_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
4365 }
4366 unsafe { _vcmlaq_rot90_f32(a, b, c) }
4367}
4368#[doc = "Floating-point complex multiply accumulate"]
4369#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_f32)"]
4370#[inline]
4371#[cfg(target_endian = "big")]
4372#[target_feature(enable = "neon,fcma")]
4373#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4374#[cfg_attr(test, assert_instr(fcmla))]
4375pub fn vcmlaq_rot90_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t {
4376 unsafe extern "unadjusted" {
4377 #[cfg_attr(
4378 any(target_arch = "aarch64", target_arch = "arm64ec"),
4379 link_name = "llvm.aarch64.neon.vcmla.rot90.v4f32"
4380 )]
4381 fn _vcmlaq_rot90_f32(a: float32x4_t, b: float32x4_t, c: float32x4_t) -> float32x4_t;
4382 }
4383 unsafe {
4384 let a: float32x4_t = simd_shuffle!(a, a, [3, 2, 1, 0]);
4385 let b: float32x4_t = simd_shuffle!(b, b, [3, 2, 1, 0]);
4386 let c: float32x4_t = simd_shuffle!(c, c, [3, 2, 1, 0]);
4387 let ret_val: float32x4_t = _vcmlaq_rot90_f32(a, b, c);
4388 simd_shuffle!(ret_val, ret_val, [3, 2, 1, 0])
4389 }
4390}
4391#[doc = "Floating-point complex multiply accumulate"]
4392#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_f64)"]
4393#[inline]
4394#[cfg(target_endian = "little")]
4395#[target_feature(enable = "neon,fcma")]
4396#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4397#[cfg_attr(test, assert_instr(fcmla))]
4398pub fn vcmlaq_rot90_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
4399 unsafe extern "unadjusted" {
4400 #[cfg_attr(
4401 any(target_arch = "aarch64", target_arch = "arm64ec"),
4402 link_name = "llvm.aarch64.neon.vcmla.rot90.v2f64"
4403 )]
4404 fn _vcmlaq_rot90_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
4405 }
4406 unsafe { _vcmlaq_rot90_f64(a, b, c) }
4407}
4408#[doc = "Floating-point complex multiply accumulate"]
4409#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_f64)"]
4410#[inline]
4411#[cfg(target_endian = "big")]
4412#[target_feature(enable = "neon,fcma")]
4413#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4414#[cfg_attr(test, assert_instr(fcmla))]
4415pub fn vcmlaq_rot90_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t {
4416 unsafe extern "unadjusted" {
4417 #[cfg_attr(
4418 any(target_arch = "aarch64", target_arch = "arm64ec"),
4419 link_name = "llvm.aarch64.neon.vcmla.rot90.v2f64"
4420 )]
4421 fn _vcmlaq_rot90_f64(a: float64x2_t, b: float64x2_t, c: float64x2_t) -> float64x2_t;
4422 }
4423 unsafe {
4424 let a: float64x2_t = simd_shuffle!(a, a, [1, 0]);
4425 let b: float64x2_t = simd_shuffle!(b, b, [1, 0]);
4426 let c: float64x2_t = simd_shuffle!(c, c, [1, 0]);
4427 let ret_val: float64x2_t = _vcmlaq_rot90_f64(a, b, c);
4428 simd_shuffle!(ret_val, ret_val, [1, 0])
4429 }
4430}
4431#[doc = "Floating-point complex multiply accumulate"]
4432#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_lane_f16)"]
4433#[inline]
4434#[target_feature(enable = "neon,fcma")]
4435#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4436#[rustc_legacy_const_generics(3)]
4437#[target_feature(enable = "neon,fp16")]
4438#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4439#[cfg(not(target_arch = "arm64ec"))]
4440pub fn vcmla_rot90_lane_f16<const LANE: i32>(
4441 a: float16x4_t,
4442 b: float16x4_t,
4443 c: float16x4_t,
4444) -> float16x4_t {
4445 static_assert_uimm_bits!(LANE, 1);
4446 let c = vreinterpret_u32_f16(c);
4447 let c = vdup_lane_u32::<LANE>(c);
4448 let c = vreinterpret_f16_u32(c);
4449 vcmla_rot90_f16(a, b, c)
4450}
4451#[doc = "Floating-point complex multiply accumulate"]
4452#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_lane_f16)"]
4453#[inline]
4454#[target_feature(enable = "neon,fcma")]
4455#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4456#[rustc_legacy_const_generics(3)]
4457#[target_feature(enable = "neon,fp16")]
4458#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4459#[cfg(not(target_arch = "arm64ec"))]
4460pub fn vcmlaq_rot90_lane_f16<const LANE: i32>(
4461 a: float16x8_t,
4462 b: float16x8_t,
4463 c: float16x4_t,
4464) -> float16x8_t {
4465 static_assert_uimm_bits!(LANE, 1);
4466 let c = vreinterpret_u32_f16(c);
4467 let c = vdupq_lane_u32::<LANE>(c);
4468 let c = vreinterpretq_f16_u32(c);
4469 vcmlaq_rot90_f16(a, b, c)
4470}
4471#[doc = "Floating-point complex multiply accumulate"]
4472#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_lane_f32)"]
4473#[inline]
4474#[target_feature(enable = "neon,fcma")]
4475#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4476#[rustc_legacy_const_generics(3)]
4477#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4478pub fn vcmla_rot90_lane_f32<const LANE: i32>(
4479 a: float32x2_t,
4480 b: float32x2_t,
4481 c: float32x2_t,
4482) -> float32x2_t {
4483 static_assert!(LANE == 0);
4484 let c = vreinterpret_u64_f32(c);
4485 let c = vdup_lane_u64::<LANE>(c);
4486 let c = vreinterpret_f32_u64(c);
4487 vcmla_rot90_f32(a, b, c)
4488}
4489#[doc = "Floating-point complex multiply accumulate"]
4490#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_lane_f32)"]
4491#[inline]
4492#[target_feature(enable = "neon,fcma")]
4493#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4494#[rustc_legacy_const_generics(3)]
4495#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4496pub fn vcmlaq_rot90_lane_f32<const LANE: i32>(
4497 a: float32x4_t,
4498 b: float32x4_t,
4499 c: float32x2_t,
4500) -> float32x4_t {
4501 static_assert!(LANE == 0);
4502 let c = vreinterpret_u64_f32(c);
4503 let c = vdupq_lane_u64::<LANE>(c);
4504 let c = vreinterpretq_f32_u64(c);
4505 vcmlaq_rot90_f32(a, b, c)
4506}
4507#[doc = "Floating-point complex multiply accumulate"]
4508#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmla_rot90_laneq_f16)"]
4509#[inline]
4510#[target_feature(enable = "neon,fcma")]
4511#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4512#[rustc_legacy_const_generics(3)]
4513#[target_feature(enable = "neon,fp16")]
4514#[unstable(feature = "stdarch_neon_fcma", issue = "117222")]
4515#[cfg(not(target_arch = "arm64ec"))]
4516pub fn vcmla_rot90_laneq_f16<const LANE: i32>(
4517 a: float16x4_t,
4518 b: float16x4_t,
4519 c: float16x8_t,
4520) -> float16x4_t {
4521 static_assert_uimm_bits!(LANE, 2);
4522 let c = vreinterpretq_u32_f16(c);
4523 let c = vdup_laneq_u32::<LANE>(c);
4524 let c = vreinterpret_f16_u32(c);
4525 vcmla_rot90_f16(a, b, c)
4526}
4527#[doc = "Floating-point complex multiply accumulate"]
4528#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcmlaq_rot90_laneq_f16)"]
4529#[inline]
4530#[target_feature(enable = "neon,fcma")]
4531#[cfg_attr(test, assert_instr(fcmla, LANE = 0))]
4532#[rustc_legacy_const_generics(3)]
4533#[