Try SSE intrinsics to match COP1 FP64 round to 32-bit.

This commit is contained in:
unknown 2015-09-15 12:42:36 -04:00
parent 624b388a1a
commit 659f103373
1 changed files with 4 additions and 1 deletions

View File

@ -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
}