msvcrt: Fix __libm_sse2_sqrt_precise implementation.

This commit is contained in:
Piotr Caban 2014-05-19 18:49:02 +02:00 committed by Alexandre Julliard
parent 193de805a1
commit 153965b627

View File

@ -2191,9 +2191,9 @@ void __cdecl __libm_sse2_tanf(void)
void __cdecl __libm_sse2_sqrt_precise(void)
{
double d;
__asm__ __volatile__( "movd %%xmm0,%0" : "=m" (d) );
__asm__ __volatile__( "movq %%xmm0,%0" : "=m" (d) );
d = sqrt( d );
__asm__ __volatile__( "movd %0,%%xmm0" : : "m" (d) );
__asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) );
}
#endif /* __i386__ */