Skip to content

Commit cb75ef6

Browse files
surechenAmanieu
authored andcommitted
edit
1 parent 0a24f2b commit cb75ef6

File tree

1 file changed

+2
-2
lines changed
  • crates/core_arch/src/arm/neon

1 file changed

+2
-2
lines changed

crates/core_arch/src/arm/neon/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ pub unsafe fn vabsq_s32(a: int32x4_t) -> int32x4_t {
11571157
#[inline]
11581158
#[target_feature(enable = "neon")]
11591159
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
1160-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(fabs))]
1160+
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(vabs))]
11611161
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(fabs))]
11621162
pub unsafe fn vabs_f32(a: float32x2_t) -> float32x2_t {
11631163
vabs_f32_(a)
@@ -1166,7 +1166,7 @@ pub unsafe fn vabs_f32(a: float32x2_t) -> float32x2_t {
11661166
#[inline]
11671167
#[target_feature(enable = "neon")]
11681168
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
1169-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(fabs))]
1169+
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(vabs))]
11701170
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(fabs))]
11711171
pub unsafe fn vabsq_f32(a: float32x4_t) -> float32x4_t {
11721172
vabsq_f32_(a)

0 commit comments

Comments
 (0)