Skip to content

Commit b23ee82

Browse files
adamgemmellAmanieu
authored andcommitted
Revert vbsl[q]_f16 to unstable
1 parent fe1236a commit b23ee82

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

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

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3851,14 +3851,7 @@ pub fn vbicq_u8(a: uint8x16_t, b: uint8x16_t) -> uint8x16_t {
38513851
all(test, any(target_arch = "aarch64", target_arch = "arm64ec")),
38523852
assert_instr(bsl)
38533853
)]
3854-
#[cfg_attr(
3855-
not(target_arch = "arm"),
3856-
stable(feature = "neon_intrinsics", since = "1.59.0")
3857-
)]
3858-
#[cfg_attr(
3859-
target_arch = "arm",
3860-
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
3861-
)]
3854+
#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
38623855
pub fn vbsl_f16(a: uint16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
38633856
let not = int16x4_t::splat(-1);
38643857
unsafe {
@@ -3878,14 +3871,7 @@ pub fn vbsl_f16(a: uint16x4_t, b: float16x4_t, c: float16x4_t) -> float16x4_t {
38783871
all(test, any(target_arch = "aarch64", target_arch = "arm64ec")),
38793872
assert_instr(bsl)
38803873
)]
3881-
#[cfg_attr(
3882-
not(target_arch = "arm"),
3883-
stable(feature = "neon_intrinsics", since = "1.59.0")
3884-
)]
3885-
#[cfg_attr(
3886-
target_arch = "arm",
3887-
unstable(feature = "stdarch_arm_neon_intrinsics", issue = "111800")
3888-
)]
3874+
#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
38893875
pub fn vbslq_f16(a: uint16x8_t, b: float16x8_t, c: float16x8_t) -> float16x8_t {
38903876
let not = int16x8_t::splat(-1);
38913877
unsafe {

crates/stdarch-gen-arm/spec/neon/arm_shared.spec.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14644,8 +14644,7 @@ intrinsics:
1464414644
- *neon-v7
1464514645
- FnCall: [cfg_attr, [*test-is-arm, { FnCall: [assert_instr, ['vbsl']]}]]
1464614646
- FnCall: [cfg_attr, [*neon-target-aarch64-arm64ec, {FnCall: [assert_instr, ['bsl']]}]]
14647-
- *neon-not-arm-stable
14648-
- *neon-cfg-arm-unstable
14647+
- *neon-unstable-f16
1464914648
safety: safe
1465014649
types:
1465114650
- ['vbslq_f16', 'uint16x8_t', 'float16x8_t', 'int16x8_t::splat(-1)']

0 commit comments

Comments
 (0)