Commit 153965b6 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Fix __libm_sse2_sqrt_precise implementation.

parent 193de805
......@@ -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__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment