glibc/sysdeps
H.J. Lu 71d9f47b5a x86-64: Fix a typo in fesetenv.c [BZ #33619]
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>
2025-11-11 17:06:34 +08:00
..
aarch64 aarch64: Remove $(aarch64-bti) check 2025-11-07 14:12:01 +01:00
alpha math: Remove the SVID error handling wrapper from sqrt 2025-11-04 04:14:01 -03:00
arc nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
arm nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
csky nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
generic math: Remove the SVID error handling from tgammaf 2025-11-05 10:19:37 -03:00
gnu Updates struct tcp_zerocopy_receive from 5.11 to netinet/tcp.h. 2025-10-29 12:54:12 -03:00
hppa stdlib: Remove mp_clz_tab.c 2025-11-10 08:57:52 -03:00
htl
hurd
i386 x86: Adapt "%v" usage on clang to emit VEX enconding 2025-11-10 08:58:06 -03:00
ieee754 math: Optimize frexpl (binary128) with fast path for normal numbers 2025-11-10 08:58:19 -03:00
loongarch nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
m68k math: Remove the SVID error handling from atan2f 2025-11-05 07:15:52 -03:00
mach Filter out internal abort during ld.so build 2025-11-10 08:58:12 -03:00
microblaze nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
mips nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
nptl
or1k nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
posix
powerpc stdlib: Remove mp_clz_tab.c 2025-11-10 08:57:52 -03:00
pthread
riscv riscv: Add vector registers to __SYSCALL_CLOBBERS 2025-11-04 09:18:56 -06:00
s390 nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
sh nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
sparc nptl: Remove ATOMIC_EXCHANGE_USES_CAS usage 2025-11-04 04:14:01 -03:00
unix math: Remove the SVID error handling from tgammaf 2025-11-05 10:19:37 -03:00
wordsize-32 Replace count_leading_zeros with stdc_leading_zeros 2025-10-29 12:53:55 -03:00
wordsize-64
x86 Set Prefer_No_AVX512 flag for hygon platform 2025-11-11 10:47:26 +08:00
x86_64 x86-64: Fix a typo in fesetenv.c [BZ #33619] 2025-11-11 17:06:34 +08:00