Try SSE intrinsics to match COP1 FP64 round to 32-bit.
This commit is contained in:
parent
624b388a1a
commit
659f103373
|
@ -2592,7 +2592,10 @@ __inline void Double_RoundToInteger32( DWORD * Dest, double * Source )
|
|||
fistp dword ptr [edi]
|
||||
}
|
||||
#else
|
||||
g_Notify->BreakPoint(__FILEW__,__LINE__);
|
||||
__m128d xmm;
|
||||
|
||||
xmm = _mm_load_sd(Source);
|
||||
*(Dest) = _mm_cvtsd_si32(xmm);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue