@@ -204,6 +204,7 @@ pub fn __crc32w(crc: u32, data: u32) -> u32 {
204
204
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadal_s8)"]
205
205
#[inline]
206
206
#[target_feature(enable = "neon")]
207
+ #[cfg(target_arch = "arm")]
207
208
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
208
209
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.s8"))]
209
210
#[cfg_attr(
@@ -221,6 +222,7 @@ fn priv_vpadal_s8(a: int16x4_t, b: int8x8_t) -> int16x4_t {
221
222
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadalq_s8)"]
222
223
#[inline]
223
224
#[target_feature(enable = "neon")]
225
+ #[cfg(target_arch = "arm")]
224
226
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
225
227
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.s8"))]
226
228
#[cfg_attr(
@@ -238,6 +240,7 @@ fn priv_vpadalq_s8(a: int16x8_t, b: int8x16_t) -> int16x8_t {
238
240
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadal_s16)"]
239
241
#[inline]
240
242
#[target_feature(enable = "neon")]
243
+ #[cfg(target_arch = "arm")]
241
244
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
242
245
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.s16"))]
243
246
#[cfg_attr(
@@ -255,6 +258,7 @@ fn priv_vpadal_s16(a: int32x2_t, b: int16x4_t) -> int32x2_t {
255
258
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadalq_s16)"]
256
259
#[inline]
257
260
#[target_feature(enable = "neon")]
261
+ #[cfg(target_arch = "arm")]
258
262
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
259
263
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.s16"))]
260
264
#[cfg_attr(
@@ -272,6 +276,7 @@ fn priv_vpadalq_s16(a: int32x4_t, b: int16x8_t) -> int32x4_t {
272
276
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadal_s32)"]
273
277
#[inline]
274
278
#[target_feature(enable = "neon")]
279
+ #[cfg(target_arch = "arm")]
275
280
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
276
281
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.s32"))]
277
282
#[cfg_attr(
@@ -289,6 +294,7 @@ fn priv_vpadal_s32(a: int64x1_t, b: int32x2_t) -> int64x1_t {
289
294
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadalq_s32)"]
290
295
#[inline]
291
296
#[target_feature(enable = "neon")]
297
+ #[cfg(target_arch = "arm")]
292
298
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
293
299
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.s32"))]
294
300
#[cfg_attr(
@@ -306,6 +312,7 @@ fn priv_vpadalq_s32(a: int64x2_t, b: int32x4_t) -> int64x2_t {
306
312
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadal_u8)"]
307
313
#[inline]
308
314
#[target_feature(enable = "neon")]
315
+ #[cfg(target_arch = "arm")]
309
316
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
310
317
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.u8"))]
311
318
#[cfg_attr(
@@ -323,6 +330,7 @@ fn priv_vpadal_u8(a: uint16x4_t, b: uint8x8_t) -> uint16x4_t {
323
330
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadalq_u8)"]
324
331
#[inline]
325
332
#[target_feature(enable = "neon")]
333
+ #[cfg(target_arch = "arm")]
326
334
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
327
335
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.u8"))]
328
336
#[cfg_attr(
@@ -340,6 +348,7 @@ fn priv_vpadalq_u8(a: uint16x8_t, b: uint8x16_t) -> uint16x8_t {
340
348
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadal_u16)"]
341
349
#[inline]
342
350
#[target_feature(enable = "neon")]
351
+ #[cfg(target_arch = "arm")]
343
352
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
344
353
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.u16"))]
345
354
#[cfg_attr(
@@ -357,6 +366,7 @@ fn priv_vpadal_u16(a: uint32x2_t, b: uint16x4_t) -> uint32x2_t {
357
366
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadalq_u16)"]
358
367
#[inline]
359
368
#[target_feature(enable = "neon")]
369
+ #[cfg(target_arch = "arm")]
360
370
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
361
371
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.u16"))]
362
372
#[cfg_attr(
@@ -374,6 +384,7 @@ fn priv_vpadalq_u16(a: uint32x4_t, b: uint16x8_t) -> uint32x4_t {
374
384
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadal_u32)"]
375
385
#[inline]
376
386
#[target_feature(enable = "neon")]
387
+ #[cfg(target_arch = "arm")]
377
388
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
378
389
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.u32"))]
379
390
#[cfg_attr(
@@ -391,6 +402,7 @@ fn priv_vpadal_u32(a: uint64x1_t, b: uint32x2_t) -> uint64x1_t {
391
402
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/priv_vpadalq_u32)"]
392
403
#[inline]
393
404
#[target_feature(enable = "neon")]
405
+ #[cfg(target_arch = "arm")]
394
406
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
395
407
#[cfg_attr(all(test, target_arch = "arm"), assert_instr("vpadal.u32"))]
396
408
#[cfg_attr(
@@ -58711,10 +58723,9 @@ pub fn vrhaddq_u32(a: uint32x4_t, b: uint32x4_t) -> uint32x4_t {
58711
58723
pub fn vrndn_f16(a: float16x4_t) -> float16x4_t {
58712
58724
unsafe extern "unadjusted" {
58713
58725
#[cfg_attr(
58714
- any(target_arch = "aarch64", target_arch = "arm64ec"),
58715
- link_name = "llvm.aarch64.neon.frintn .v4f16"
58726
+ any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "arm" ),
58727
+ link_name = "llvm.roundeven .v4f16"
58716
58728
)]
58717
- #[cfg_attr(target_arch = "arm", link_name = "llvm.arm.neon.vrintn.v4f16")]
58718
58729
fn _vrndn_f16(a: float16x4_t) -> float16x4_t;
58719
58730
}
58720
58731
unsafe { _vrndn_f16(a) }
@@ -58733,10 +58744,9 @@ pub fn vrndn_f16(a: float16x4_t) -> float16x4_t {
58733
58744
pub fn vrndnq_f16(a: float16x8_t) -> float16x8_t {
58734
58745
unsafe extern "unadjusted" {
58735
58746
#[cfg_attr(
58736
- any(target_arch = "aarch64", target_arch = "arm64ec"),
58737
- link_name = "llvm.aarch64.neon.frintn .v8f16"
58747
+ any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "arm" ),
58748
+ link_name = "llvm.roundeven .v8f16"
58738
58749
)]
58739
- #[cfg_attr(target_arch = "arm", link_name = "llvm.arm.neon.vrintn.v8f16")]
58740
58750
fn _vrndnq_f16(a: float16x8_t) -> float16x8_t;
58741
58751
}
58742
58752
unsafe { _vrndnq_f16(a) }
@@ -58762,10 +58772,9 @@ pub fn vrndnq_f16(a: float16x8_t) -> float16x8_t {
58762
58772
pub fn vrndn_f32(a: float32x2_t) -> float32x2_t {
58763
58773
unsafe extern "unadjusted" {
58764
58774
#[cfg_attr(
58765
- any(target_arch = "aarch64", target_arch = "arm64ec"),
58766
- link_name = "llvm.aarch64.neon.frintn .v2f32"
58775
+ any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "arm" ),
58776
+ link_name = "llvm.roundeven .v2f32"
58767
58777
)]
58768
- #[cfg_attr(target_arch = "arm", link_name = "llvm.arm.neon.vrintn.v2f32")]
58769
58778
fn _vrndn_f32(a: float32x2_t) -> float32x2_t;
58770
58779
}
58771
58780
unsafe { _vrndn_f32(a) }
@@ -58791,10 +58800,9 @@ pub fn vrndn_f32(a: float32x2_t) -> float32x2_t {
58791
58800
pub fn vrndnq_f32(a: float32x4_t) -> float32x4_t {
58792
58801
unsafe extern "unadjusted" {
58793
58802
#[cfg_attr(
58794
- any(target_arch = "aarch64", target_arch = "arm64ec"),
58795
- link_name = "llvm.aarch64.neon.frintn .v4f32"
58803
+ any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "arm" ),
58804
+ link_name = "llvm.roundeven .v4f32"
58796
58805
)]
58797
- #[cfg_attr(target_arch = "arm", link_name = "llvm.arm.neon.vrintn.v4f32")]
58798
58806
fn _vrndnq_f32(a: float32x4_t) -> float32x4_t;
58799
58807
}
58800
58808
unsafe { _vrndnq_f32(a) }
@@ -61531,6 +61539,8 @@ pub fn vsha256su1q_u32(tw0_3: uint32x4_t, w8_11: uint32x4_t, w12_15: uint32x4_t)
61531
61539
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v16i8)"]
61532
61540
#[inline]
61533
61541
#[target_feature(enable = "neon")]
61542
+ #[cfg(target_arch = "arm")]
61543
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61534
61544
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61535
61545
fn vshiftins_v16i8(a: int8x16_t, b: int8x16_t, c: int8x16_t) -> int8x16_t {
61536
61546
unsafe extern "unadjusted" {
@@ -61543,6 +61553,8 @@ fn vshiftins_v16i8(a: int8x16_t, b: int8x16_t, c: int8x16_t) -> int8x16_t {
61543
61553
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v1i64)"]
61544
61554
#[inline]
61545
61555
#[target_feature(enable = "neon")]
61556
+ #[cfg(target_arch = "arm")]
61557
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61546
61558
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61547
61559
fn vshiftins_v1i64(a: int64x1_t, b: int64x1_t, c: int64x1_t) -> int64x1_t {
61548
61560
unsafe extern "unadjusted" {
@@ -61555,6 +61567,8 @@ fn vshiftins_v1i64(a: int64x1_t, b: int64x1_t, c: int64x1_t) -> int64x1_t {
61555
61567
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v2i32)"]
61556
61568
#[inline]
61557
61569
#[target_feature(enable = "neon")]
61570
+ #[cfg(target_arch = "arm")]
61571
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61558
61572
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61559
61573
fn vshiftins_v2i32(a: int32x2_t, b: int32x2_t, c: int32x2_t) -> int32x2_t {
61560
61574
unsafe extern "unadjusted" {
@@ -61567,6 +61581,8 @@ fn vshiftins_v2i32(a: int32x2_t, b: int32x2_t, c: int32x2_t) -> int32x2_t {
61567
61581
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v2i64)"]
61568
61582
#[inline]
61569
61583
#[target_feature(enable = "neon")]
61584
+ #[cfg(target_arch = "arm")]
61585
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61570
61586
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61571
61587
fn vshiftins_v2i64(a: int64x2_t, b: int64x2_t, c: int64x2_t) -> int64x2_t {
61572
61588
unsafe extern "unadjusted" {
@@ -61579,6 +61595,8 @@ fn vshiftins_v2i64(a: int64x2_t, b: int64x2_t, c: int64x2_t) -> int64x2_t {
61579
61595
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v4i16)"]
61580
61596
#[inline]
61581
61597
#[target_feature(enable = "neon")]
61598
+ #[cfg(target_arch = "arm")]
61599
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61582
61600
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61583
61601
fn vshiftins_v4i16(a: int16x4_t, b: int16x4_t, c: int16x4_t) -> int16x4_t {
61584
61602
unsafe extern "unadjusted" {
@@ -61591,6 +61609,8 @@ fn vshiftins_v4i16(a: int16x4_t, b: int16x4_t, c: int16x4_t) -> int16x4_t {
61591
61609
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v4i32)"]
61592
61610
#[inline]
61593
61611
#[target_feature(enable = "neon")]
61612
+ #[cfg(target_arch = "arm")]
61613
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61594
61614
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61595
61615
fn vshiftins_v4i32(a: int32x4_t, b: int32x4_t, c: int32x4_t) -> int32x4_t {
61596
61616
unsafe extern "unadjusted" {
@@ -61603,6 +61623,8 @@ fn vshiftins_v4i32(a: int32x4_t, b: int32x4_t, c: int32x4_t) -> int32x4_t {
61603
61623
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v8i16)"]
61604
61624
#[inline]
61605
61625
#[target_feature(enable = "neon")]
61626
+ #[cfg(target_arch = "arm")]
61627
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61606
61628
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61607
61629
fn vshiftins_v8i16(a: int16x8_t, b: int16x8_t, c: int16x8_t) -> int16x8_t {
61608
61630
unsafe extern "unadjusted" {
@@ -61615,6 +61637,8 @@ fn vshiftins_v8i16(a: int16x8_t, b: int16x8_t, c: int16x8_t) -> int16x8_t {
61615
61637
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vshiftins_v8i8)"]
61616
61638
#[inline]
61617
61639
#[target_feature(enable = "neon")]
61640
+ #[cfg(target_arch = "arm")]
61641
+ #[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
61618
61642
#[unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")]
61619
61643
fn vshiftins_v8i8(a: int8x8_t, b: int8x8_t, c: int8x8_t) -> int8x8_t {
61620
61644
unsafe extern "unadjusted" {
0 commit comments