mirror of
https://sourceware.org/git/glibc.git
synced 2025-11-30 11:41:39 +03:00
Fix a typo in
commit 427c25278d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Oct 31 17:00:46 2025 -0300
x86: Adapt "%v" usage on clang to emit VEX enconding
@@ -103,8 +104,8 @@ __fesetenv (const fenv_t *envp)
temp.__mxcsr = envp->__mxcsr;
}
- __asm__ ("fldenv %0\n"
- "%vldmxcsr %1" : : "m" (temp), "m" (temp.__mxcsr));
+ asm volatile ("fldenv %0" : "=m" (temp));
+ ldmxcsr_inline_asm (&temp.__mxcsr);
/* Success. */
return 0;
"temp" is input not output. This fixes BZ #33619.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>