Skip to content

Commit 2320af9

Browse files
KisaragiEffectiveAmanieu
authored andcommitted
arm(neon): regenerate code
1 parent 1d30291 commit 2320af9

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

crates/core_arch/src/aarch64/neon/generated.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ pub unsafe fn vcgtq_s64(a: int64x2_t, b: int64x2_t) -> uint64x2_t {
926926
simd_gt(a, b)
927927
}
928928

929-
/// Compare unsigned highe
929+
/// Compare unsigned greater than
930930
///
931931
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_u64)
932932
#[inline]
@@ -937,7 +937,7 @@ pub unsafe fn vcgt_u64(a: uint64x1_t, b: uint64x1_t) -> uint64x1_t {
937937
simd_gt(a, b)
938938
}
939939

940-
/// Compare unsigned highe
940+
/// Compare unsigned greater than
941941
///
942942
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_u64)
943943
#[inline]

crates/core_arch/src/arm_shared/neon/generated.rs

+22-22
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ pub unsafe fn vcgtq_s32(a: int32x4_t, b: int32x4_t) -> uint32x4_t {
15321532
simd_gt(a, b)
15331533
}
15341534

1535-
/// Compare unsigned highe
1535+
/// Compare unsigned greater than
15361536
///
15371537
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_u8)
15381538
#[inline]
@@ -1545,7 +1545,7 @@ pub unsafe fn vcgt_u8(a: uint8x8_t, b: uint8x8_t) -> uint8x8_t {
15451545
simd_gt(a, b)
15461546
}
15471547

1548-
/// Compare unsigned highe
1548+
/// Compare unsigned greater than
15491549
///
15501550
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_u8)
15511551
#[inline]
@@ -1558,7 +1558,7 @@ pub unsafe fn vcgtq_u8(a: uint8x16_t, b: uint8x16_t) -> uint8x16_t {
15581558
simd_gt(a, b)
15591559
}
15601560

1561-
/// Compare unsigned highe
1561+
/// Compare unsigned greater than
15621562
///
15631563
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_u16)
15641564
#[inline]
@@ -1571,7 +1571,7 @@ pub unsafe fn vcgt_u16(a: uint16x4_t, b: uint16x4_t) -> uint16x4_t {
15711571
simd_gt(a, b)
15721572
}
15731573

1574-
/// Compare unsigned highe
1574+
/// Compare unsigned greater than
15751575
///
15761576
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_u16)
15771577
#[inline]
@@ -1584,7 +1584,7 @@ pub unsafe fn vcgtq_u16(a: uint16x8_t, b: uint16x8_t) -> uint16x8_t {
15841584
simd_gt(a, b)
15851585
}
15861586

1587-
/// Compare unsigned highe
1587+
/// Compare unsigned greater than
15881588
///
15891589
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgt_u32)
15901590
#[inline]
@@ -1597,7 +1597,7 @@ pub unsafe fn vcgt_u32(a: uint32x2_t, b: uint32x2_t) -> uint32x2_t {
15971597
simd_gt(a, b)
15981598
}
15991599

1600-
/// Compare unsigned highe
1600+
/// Compare unsigned greater than
16011601
///
16021602
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vcgtq_u32)
16031603
#[inline]
@@ -26185,7 +26185,7 @@ vrshlq_u64_(a, b)
2618526185
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2618626186
pub unsafe fn vrshr_n_s8<const N: i32>(a: int8x8_t) -> int8x8_t {
2618726187
static_assert!(N >= 1 && N <= 8);
26188-
vrshl_s8(a, vdup_n_s8((-N) as _))
26188+
vrshl_s8(a, vdup_n_s8(-N as _))
2618926189
}
2619026190

2619126191
/// Signed rounding shift right
@@ -26200,7 +26200,7 @@ pub unsafe fn vrshr_n_s8<const N: i32>(a: int8x8_t) -> int8x8_t {
2620026200
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2620126201
pub unsafe fn vrshrq_n_s8<const N: i32>(a: int8x16_t) -> int8x16_t {
2620226202
static_assert!(N >= 1 && N <= 8);
26203-
vrshlq_s8(a, vdupq_n_s8((-N) as _))
26203+
vrshlq_s8(a, vdupq_n_s8(-N as _))
2620426204
}
2620526205

2620626206
/// Signed rounding shift right
@@ -26215,7 +26215,7 @@ pub unsafe fn vrshrq_n_s8<const N: i32>(a: int8x16_t) -> int8x16_t {
2621526215
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2621626216
pub unsafe fn vrshr_n_s16<const N: i32>(a: int16x4_t) -> int16x4_t {
2621726217
static_assert!(N >= 1 && N <= 16);
26218-
vrshl_s16(a, vdup_n_s16((-N) as _))
26218+
vrshl_s16(a, vdup_n_s16(-N as _))
2621926219
}
2622026220

2622126221
/// Signed rounding shift right
@@ -26230,7 +26230,7 @@ pub unsafe fn vrshr_n_s16<const N: i32>(a: int16x4_t) -> int16x4_t {
2623026230
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2623126231
pub unsafe fn vrshrq_n_s16<const N: i32>(a: int16x8_t) -> int16x8_t {
2623226232
static_assert!(N >= 1 && N <= 16);
26233-
vrshlq_s16(a, vdupq_n_s16((-N) as _))
26233+
vrshlq_s16(a, vdupq_n_s16(-N as _))
2623426234
}
2623526235

2623626236
/// Signed rounding shift right
@@ -26245,7 +26245,7 @@ pub unsafe fn vrshrq_n_s16<const N: i32>(a: int16x8_t) -> int16x8_t {
2624526245
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2624626246
pub unsafe fn vrshr_n_s32<const N: i32>(a: int32x2_t) -> int32x2_t {
2624726247
static_assert!(N >= 1 && N <= 32);
26248-
vrshl_s32(a, vdup_n_s32((-N) as _))
26248+
vrshl_s32(a, vdup_n_s32(-N as _))
2624926249
}
2625026250

2625126251
/// Signed rounding shift right
@@ -26260,7 +26260,7 @@ pub unsafe fn vrshr_n_s32<const N: i32>(a: int32x2_t) -> int32x2_t {
2626026260
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2626126261
pub unsafe fn vrshrq_n_s32<const N: i32>(a: int32x4_t) -> int32x4_t {
2626226262
static_assert!(N >= 1 && N <= 32);
26263-
vrshlq_s32(a, vdupq_n_s32((-N) as _))
26263+
vrshlq_s32(a, vdupq_n_s32(-N as _))
2626426264
}
2626526265

2626626266
/// Signed rounding shift right
@@ -26275,7 +26275,7 @@ pub unsafe fn vrshrq_n_s32<const N: i32>(a: int32x4_t) -> int32x4_t {
2627526275
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2627626276
pub unsafe fn vrshr_n_s64<const N: i32>(a: int64x1_t) -> int64x1_t {
2627726277
static_assert!(N >= 1 && N <= 64);
26278-
vrshl_s64(a, vdup_n_s64((-N) as _))
26278+
vrshl_s64(a, vdup_n_s64(-N as _))
2627926279
}
2628026280

2628126281
/// Signed rounding shift right
@@ -26290,7 +26290,7 @@ pub unsafe fn vrshr_n_s64<const N: i32>(a: int64x1_t) -> int64x1_t {
2629026290
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2629126291
pub unsafe fn vrshrq_n_s64<const N: i32>(a: int64x2_t) -> int64x2_t {
2629226292
static_assert!(N >= 1 && N <= 64);
26293-
vrshlq_s64(a, vdupq_n_s64((-N) as _))
26293+
vrshlq_s64(a, vdupq_n_s64(-N as _))
2629426294
}
2629526295

2629626296
/// Unsigned rounding shift right
@@ -26305,7 +26305,7 @@ pub unsafe fn vrshrq_n_s64<const N: i32>(a: int64x2_t) -> int64x2_t {
2630526305
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2630626306
pub unsafe fn vrshr_n_u8<const N: i32>(a: uint8x8_t) -> uint8x8_t {
2630726307
static_assert!(N >= 1 && N <= 8);
26308-
vrshl_u8(a, vdup_n_s8((-N) as _))
26308+
vrshl_u8(a, vdup_n_s8(-N as _))
2630926309
}
2631026310

2631126311
/// Unsigned rounding shift right
@@ -26320,7 +26320,7 @@ pub unsafe fn vrshr_n_u8<const N: i32>(a: uint8x8_t) -> uint8x8_t {
2632026320
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2632126321
pub unsafe fn vrshrq_n_u8<const N: i32>(a: uint8x16_t) -> uint8x16_t {
2632226322
static_assert!(N >= 1 && N <= 8);
26323-
vrshlq_u8(a, vdupq_n_s8((-N) as _))
26323+
vrshlq_u8(a, vdupq_n_s8(-N as _))
2632426324
}
2632526325

2632626326
/// Unsigned rounding shift right
@@ -26335,7 +26335,7 @@ pub unsafe fn vrshrq_n_u8<const N: i32>(a: uint8x16_t) -> uint8x16_t {
2633526335
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2633626336
pub unsafe fn vrshr_n_u16<const N: i32>(a: uint16x4_t) -> uint16x4_t {
2633726337
static_assert!(N >= 1 && N <= 16);
26338-
vrshl_u16(a, vdup_n_s16((-N) as _))
26338+
vrshl_u16(a, vdup_n_s16(-N as _))
2633926339
}
2634026340

2634126341
/// Unsigned rounding shift right
@@ -26350,7 +26350,7 @@ pub unsafe fn vrshr_n_u16<const N: i32>(a: uint16x4_t) -> uint16x4_t {
2635026350
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2635126351
pub unsafe fn vrshrq_n_u16<const N: i32>(a: uint16x8_t) -> uint16x8_t {
2635226352
static_assert!(N >= 1 && N <= 16);
26353-
vrshlq_u16(a, vdupq_n_s16((-N) as _))
26353+
vrshlq_u16(a, vdupq_n_s16(-N as _))
2635426354
}
2635526355

2635626356
/// Unsigned rounding shift right
@@ -26365,7 +26365,7 @@ pub unsafe fn vrshrq_n_u16<const N: i32>(a: uint16x8_t) -> uint16x8_t {
2636526365
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2636626366
pub unsafe fn vrshr_n_u32<const N: i32>(a: uint32x2_t) -> uint32x2_t {
2636726367
static_assert!(N >= 1 && N <= 32);
26368-
vrshl_u32(a, vdup_n_s32((-N) as _))
26368+
vrshl_u32(a, vdup_n_s32(-N as _))
2636926369
}
2637026370

2637126371
/// Unsigned rounding shift right
@@ -26380,7 +26380,7 @@ pub unsafe fn vrshr_n_u32<const N: i32>(a: uint32x2_t) -> uint32x2_t {
2638026380
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2638126381
pub unsafe fn vrshrq_n_u32<const N: i32>(a: uint32x4_t) -> uint32x4_t {
2638226382
static_assert!(N >= 1 && N <= 32);
26383-
vrshlq_u32(a, vdupq_n_s32((-N) as _))
26383+
vrshlq_u32(a, vdupq_n_s32(-N as _))
2638426384
}
2638526385

2638626386
/// Unsigned rounding shift right
@@ -26395,7 +26395,7 @@ pub unsafe fn vrshrq_n_u32<const N: i32>(a: uint32x4_t) -> uint32x4_t {
2639526395
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2639626396
pub unsafe fn vrshr_n_u64<const N: i32>(a: uint64x1_t) -> uint64x1_t {
2639726397
static_assert!(N >= 1 && N <= 64);
26398-
vrshl_u64(a, vdup_n_s64((-N) as _))
26398+
vrshl_u64(a, vdup_n_s64(-N as _))
2639926399
}
2640026400

2640126401
/// Unsigned rounding shift right
@@ -26410,7 +26410,7 @@ pub unsafe fn vrshr_n_u64<const N: i32>(a: uint64x1_t) -> uint64x1_t {
2641026410
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
2641126411
pub unsafe fn vrshrq_n_u64<const N: i32>(a: uint64x2_t) -> uint64x2_t {
2641226412
static_assert!(N >= 1 && N <= 64);
26413-
vrshlq_u64(a, vdupq_n_s64((-N) as _))
26413+
vrshlq_u64(a, vdupq_n_s64(-N as _))
2641426414
}
2641526415

2641626416
/// Rounding shift right narrow

0 commit comments

Comments
 (0)