@@ -2074,8 +2074,8 @@ pub unsafe fn vmulq_u32(a: uint32x4_t, b: uint32x4_t) -> uint32x4_t {
20742074#[ inline]
20752075#[ target_feature( enable = "neon" ) ]
20762076#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
2077- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( mul ) ) ]
2078- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( mul ) ) ]
2077+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( fmul ) ) ]
2078+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( fmul ) ) ]
20792079pub unsafe fn vmul_f32 ( a : float32x2_t , b : float32x2_t ) -> float32x2_t {
20802080 simd_mul ( a, b)
20812081}
@@ -2084,8 +2084,8 @@ pub unsafe fn vmul_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
20842084#[ inline]
20852085#[ target_feature( enable = "neon" ) ]
20862086#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
2087- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( mul ) ) ]
2088- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( mul ) ) ]
2087+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( fmul ) ) ]
2088+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( fmul ) ) ]
20892089pub unsafe fn vmulq_f32 ( a : float32x4_t , b : float32x4_t ) -> float32x4_t {
20902090 simd_mul ( a, b)
20912091}
@@ -2254,8 +2254,8 @@ pub unsafe fn vsubq_u64(a: uint64x2_t, b: uint64x2_t) -> uint64x2_t {
22542254#[ inline]
22552255#[ target_feature( enable = "neon" ) ]
22562256#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
2257- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( sub ) ) ]
2258- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( sub ) ) ]
2257+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( fsub ) ) ]
2258+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( fsub ) ) ]
22592259pub unsafe fn vsub_f32 ( a : float32x2_t , b : float32x2_t ) -> float32x2_t {
22602260 simd_sub ( a, b)
22612261}
@@ -2264,8 +2264,8 @@ pub unsafe fn vsub_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
22642264#[ inline]
22652265#[ target_feature( enable = "neon" ) ]
22662266#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
2267- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( sub ) ) ]
2268- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( sub ) ) ]
2267+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( fsub ) ) ]
2268+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( fsub ) ) ]
22692269pub unsafe fn vsubq_f32 ( a : float32x4_t , b : float32x4_t ) -> float32x4_t {
22702270 simd_sub ( a, b)
22712271}
0 commit comments