mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 09:53:54 +00:00
msvcrt: Fix __libm_sse2_sqrt_precise implementation.
This commit is contained in:
parent
193de805a1
commit
153965b627
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user