mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
double needs __m128d
This commit is contained in:
parent
cc1f412f5d
commit
687ae706d7
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ template <>
|
|||
inline SIMD<double, 2> vcopysign(SIMD<double, 2> a, SIMD<double, 2> b)
|
||||
{
|
||||
SIMD<double, 2> tmp;
|
||||
__m128 negz = _mm_set1_pd(-0.);
|
||||
__m128d negz = _mm_set1_pd(-0.);
|
||||
tmp.m = _mm_or_pd(
|
||||
_mm_andnot_pd(negz, a.m),
|
||||
_mm_and_pd(negz, b.m));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue