Skip to content

Commit 32c8b49

Browse files
TDeckingAmanieu
authored andcommitted
Update avx.rs
1 parent b4e14bf commit 32c8b49

File tree

1 file changed

+1
-3
lines changed
  • crates/core_arch/src/x86

1 file changed

+1
-3
lines changed

crates/core_arch/src/x86/avx.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ pub unsafe fn _mm256_floor_ps(a: __m256) -> __m256 {
441441
#[cfg_attr(test, assert_instr(vsqrtps))]
442442
#[stable(feature = "simd_x86", since = "1.27.0")]
443443
pub unsafe fn _mm256_sqrt_ps(a: __m256) -> __m256 {
444-
sqrtps256(a)
444+
simd_fsqrt(a)
445445
}
446446

447447
/// Returns the square root of packed double-precision (64-bit) floating point
@@ -2961,8 +2961,6 @@ extern "C" {
29612961
fn roundpd256(a: __m256d, b: i32) -> __m256d;
29622962
#[link_name = "llvm.x86.avx.round.ps.256"]
29632963
fn roundps256(a: __m256, b: i32) -> __m256;
2964-
#[link_name = "llvm.x86.avx.sqrt.ps.256"]
2965-
fn sqrtps256(a: __m256) -> __m256;
29662964
#[link_name = "llvm.x86.avx.dp.ps.256"]
29672965
fn vdpps(a: __m256, b: __m256, imm8: i32) -> __m256;
29682966
#[link_name = "llvm.x86.avx.hadd.pd.256"]

0 commit comments

Comments
 (0)