Fabian Maurer : msvcrt: Fix _libm_sse2_sqrt_precise not using SSE2 sqrt.
Module: wine Branch: master Commit: 77f3c0826aca20e247f2e82263a5e39c26738894 URL: https://gitlab.winehq.org/wine/wine/-/commit/77f3c0826aca20e247f2e82263a5e39... Author: Fabian Maurer <dark.shadow4(a)web.de> Date: Wed Jun 12 19:02:22 2024 +0200 msvcrt: Fix _libm_sse2_sqrt_precise not using SSE2 sqrt. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56824 --- dlls/msvcrt/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index 738d4138c99..6624696c30f 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -2568,7 +2568,7 @@ void __cdecl __libm_sse2_sqrt_precise(void) __asm__ __volatile__( "movq %0,%%xmm0" : : "m" (d) ); return; } - __asm__ __volatile__( "call " __ASM_NAME( "asm_sqrt" ) ); + __asm__ __volatile__( "sqrtsd %xmm0, %xmm0" ); } #endif /* __i386__ */
participants (1)
-
Alexandre Julliard