We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81da73a commit 90543b0Copy full SHA for 90543b0
crates/core_arch/src/x86/sse2.rs
@@ -6,6 +6,7 @@ use stdarch_test::assert_instr;
6
use crate::{
7
core_arch::{simd::*, x86::*},
8
intrinsics::simd::*,
9
+ intrinsics::sqrtf64,
10
mem, ptr,
11
};
12
@@ -1760,7 +1761,7 @@ pub unsafe fn _mm_mul_pd(a: __m128d, b: __m128d) -> __m128d {
1760
1761
#[cfg_attr(test, assert_instr(sqrtsd))]
1762
#[stable(feature = "simd_x86", since = "1.27.0")]
1763
pub unsafe fn _mm_sqrt_sd(a: __m128d, b: __m128d) -> __m128d {
- simd_insert!(a, 0, _mm_cvtsd_f64(b).sqrt())
1764
+ simd_insert!(a, 0, sqrtf64(_mm_cvtsd_f64(b)))
1765
}
1766
1767
/// Returns a new vector with the square root of each of the values in `a`.
0 commit comments