Skip to content

Commit 323c646

Browse files
folkertdevAmanieu
authored andcommitted
remote intermediate assignment
1 parent 82126a6 commit 323c646

File tree

2 files changed

+23
-51
lines changed

2 files changed

+23
-51
lines changed

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

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19495,10 +19495,7 @@ pub fn vqtbl1q_s8(a: int8x16_t, b: uint8x16_t) -> int8x16_t {
1949519495
#[cfg_attr(test, assert_instr(tbl))]
1949619496
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1949719497
pub fn vqtbl1_u8(a: uint8x16_t, b: uint8x8_t) -> uint8x8_t {
19498-
unsafe {
19499-
let x = transmute(vqtbl1(transmute(a), b));
19500-
x
19501-
}
19498+
unsafe { transmute(vqtbl1(transmute(a), b)) }
1950219499
}
1950319500
#[doc = "Table look-up"]
1950419501
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbl1q_u8)"]
@@ -19507,10 +19504,7 @@ pub fn vqtbl1_u8(a: uint8x16_t, b: uint8x8_t) -> uint8x8_t {
1950719504
#[cfg_attr(test, assert_instr(tbl))]
1950819505
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1950919506
pub fn vqtbl1q_u8(a: uint8x16_t, b: uint8x16_t) -> uint8x16_t {
19510-
unsafe {
19511-
let x = transmute(vqtbl1q(transmute(a), b));
19512-
x
19513-
}
19507+
unsafe { transmute(vqtbl1q(transmute(a), b)) }
1951419508
}
1951519509
#[doc = "Table look-up"]
1951619510
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbl1_p8)"]
@@ -19519,10 +19513,7 @@ pub fn vqtbl1q_u8(a: uint8x16_t, b: uint8x16_t) -> uint8x16_t {
1951919513
#[cfg_attr(test, assert_instr(tbl))]
1952019514
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1952119515
pub fn vqtbl1_p8(a: poly8x16_t, b: uint8x8_t) -> poly8x8_t {
19522-
unsafe {
19523-
let x = transmute(vqtbl1(transmute(a), b));
19524-
x
19525-
}
19516+
unsafe { transmute(vqtbl1(transmute(a), b)) }
1952619517
}
1952719518
#[doc = "Table look-up"]
1952819519
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbl1q_p8)"]
@@ -19531,10 +19522,7 @@ pub fn vqtbl1_p8(a: poly8x16_t, b: uint8x8_t) -> poly8x8_t {
1953119522
#[cfg_attr(test, assert_instr(tbl))]
1953219523
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1953319524
pub fn vqtbl1q_p8(a: poly8x16_t, b: uint8x16_t) -> poly8x16_t {
19534-
unsafe {
19535-
let x = transmute(vqtbl1q(transmute(a), b));
19536-
x
19537-
}
19525+
unsafe { transmute(vqtbl1q(transmute(a), b)) }
1953819526
}
1953919527
#[doc = "Table look-up"]
1954019528
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbl2)"]
@@ -20397,10 +20385,7 @@ pub fn vqtbx1q_s8(a: int8x16_t, b: int8x16_t, c: uint8x16_t) -> int8x16_t {
2039720385
#[cfg_attr(test, assert_instr(tbx))]
2039820386
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2039920387
pub fn vqtbx1_u8(a: uint8x8_t, b: uint8x16_t, c: uint8x8_t) -> uint8x8_t {
20400-
unsafe {
20401-
let x = transmute(vqtbx1(transmute(a), transmute(b), c));
20402-
x
20403-
}
20388+
unsafe { transmute(vqtbx1(transmute(a), transmute(b), c)) }
2040420389
}
2040520390
#[doc = "Extended table look-up"]
2040620391
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbx1q_u8)"]
@@ -20409,10 +20394,7 @@ pub fn vqtbx1_u8(a: uint8x8_t, b: uint8x16_t, c: uint8x8_t) -> uint8x8_t {
2040920394
#[cfg_attr(test, assert_instr(tbx))]
2041020395
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2041120396
pub fn vqtbx1q_u8(a: uint8x16_t, b: uint8x16_t, c: uint8x16_t) -> uint8x16_t {
20412-
unsafe {
20413-
let x = transmute(vqtbx1q(transmute(a), transmute(b), c));
20414-
x
20415-
}
20397+
unsafe { transmute(vqtbx1q(transmute(a), transmute(b), c)) }
2041620398
}
2041720399
#[doc = "Extended table look-up"]
2041820400
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbx1_p8)"]
@@ -20421,10 +20403,7 @@ pub fn vqtbx1q_u8(a: uint8x16_t, b: uint8x16_t, c: uint8x16_t) -> uint8x16_t {
2042120403
#[cfg_attr(test, assert_instr(tbx))]
2042220404
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2042320405
pub fn vqtbx1_p8(a: poly8x8_t, b: poly8x16_t, c: uint8x8_t) -> poly8x8_t {
20424-
unsafe {
20425-
let x = transmute(vqtbx1(transmute(a), transmute(b), c));
20426-
x
20427-
}
20406+
unsafe { transmute(vqtbx1(transmute(a), transmute(b), c)) }
2042820407
}
2042920408
#[doc = "Extended table look-up"]
2043020409
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbx1q_p8)"]
@@ -20433,10 +20412,7 @@ pub fn vqtbx1_p8(a: poly8x8_t, b: poly8x16_t, c: uint8x8_t) -> poly8x8_t {
2043320412
#[cfg_attr(test, assert_instr(tbx))]
2043420413
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
2043520414
pub fn vqtbx1q_p8(a: poly8x16_t, b: poly8x16_t, c: uint8x16_t) -> poly8x16_t {
20436-
unsafe {
20437-
let x = transmute(vqtbx1q(transmute(a), transmute(b), c));
20438-
x
20439-
}
20415+
unsafe { transmute(vqtbx1q(transmute(a), transmute(b), c)) }
2044020416
}
2044120417
#[doc = "Extended table look-up"]
2044220418
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqtbx2)"]

library/stdarch/crates/stdarch-gen-arm/spec/neon/aarch64.spec.yml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12279,17 +12279,15 @@ intrinsics:
1227912279
- [poly8x8_t, "poly8x16_t", uint8x8_t, "vqtbx1", "_p8"]
1228012280
- [uint8x16_t, "uint8x16_t", uint8x16_t, "vqtbx1q", "q_u8"]
1228112281
- [poly8x16_t, "poly8x16_t", uint8x16_t, "vqtbx1q", "q_p8"]
12282+
big_endian_inverse: false
1228212283
compose:
12283-
- Let:
12284-
- x
12285-
- FnCall:
12286-
- transmute
12287-
- - FnCall:
12288-
- "{type[3]}"
12289-
- - FnCall: [transmute, [a]]
12290-
- FnCall: [transmute, [b]]
12291-
- c
12292-
- Identifier: [x, Symbol]
12284+
- FnCall:
12285+
- transmute
12286+
- - FnCall:
12287+
- "{type[3]}"
12288+
- - FnCall: [transmute, [a]]
12289+
- FnCall: [transmute, [b]]
12290+
- c
1229312291

1229412292
- name: "vtbx1{neon_type[0].no}"
1229512293
doc: "Extended table look-up"
@@ -12461,16 +12459,14 @@ intrinsics:
1246112459
- ['poly8x16_t', uint8x8_t, 'vqtbl1', 'poly8x8_t']
1246212460
- ['uint8x16_t', uint8x16_t, 'vqtbl1q', 'uint8x16_t']
1246312461
- ['poly8x16_t', uint8x16_t, 'vqtbl1q', 'poly8x16_t']
12462+
big_endian_inverse: false
1246412463
compose:
12465-
- Let:
12466-
- x
12467-
- FnCall:
12468-
- transmute
12469-
- - FnCall:
12470-
- '{type[2]}'
12471-
- - FnCall: [transmute, ['a']]
12472-
- b
12473-
- Identifier: [x, Symbol]
12464+
- FnCall:
12465+
- transmute
12466+
- - FnCall:
12467+
- '{type[2]}'
12468+
- - FnCall: [transmute, ['a']]
12469+
- b
1247412470

1247512471
- name: "vqtbl2{neon_type[3].no}"
1247612472
doc: "Table look-up"

0 commit comments

Comments
 (0)