glibc/sysdeps/x86_64
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
..
64 x86: Use typeof_member style in RSEQ area access expressions 2025-10-08 09:35:15 +02:00
fpu x86-64: Fix a typo in fesetenv.c [BZ #33619] 2025-11-11 17:06:34 +08:00
htl
multiarch x86: fix wmemset ifunc stray '!' (bug 33542) 2025-10-29 12:54:14 -03:00
nptl x86: Fix THREAD_GSCOPE_RESET_FLAG build on clang 2025-11-10 08:58:10 -03:00
sys
x32 x86: Use typeof_member style in RSEQ area access expressions 2025-10-08 09:35:15 +02:00
Implies
Makefile x86_64: Unconditionally run test elf/check-dt-x86-64-plt 2025-09-04 23:05:56 +02:00
Versions i386: Also add GLIBC_ABI_GNU2_TLS version [BZ #33129] 2025-08-18 11:58:01 -07:00
____longjmp_chk.S
__longjmp.S
_mcount.S
abort-instr.h
add_n.S
addmul_1.S
bsd-_setjmp.S
bsd-setjmp.S
check-cet.awk
configure Disable SFrame support by default 2025-07-24 15:51:58 -03:00
configure.ac Disable SFrame support by default 2025-07-24 15:51:58 -03:00
crti.S
crtn.S
dl-cache.h
dl-cet.c
dl-dtprocnum.h
dl-hwcaps-subdirs.c
dl-irel.h
dl-machine.h Annotate swtich fall-through 2025-10-29 12:54:01 -03:00
dl-plt-rewrite.h
dl-procinfo.c
dl-procruntime.c
dl-runtime.h
dl-tls.c
dl-tlsdesc-dynamic.h x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
dl-tlsdesc.S i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
dl-tlsdesc.h
dl-trampoline-state.h
dl-trampoline.S i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
dl-trampoline.h
feature-control.h
ifuncmain8.c
ifuncmod8.c
isa-default-impl.h
isa.h
jmpbuf-offsets.h
jmpbuf-unwind.h
l10nflist.c
ldsodefs.h
libc-start.h
link-defines.sym
link_map.h
locale-defines.sym
localplt.data
lshift.S
machine-gmon.h
math-use-builtins-ffs.h
memchr.S
memcmp.S
memcmpeq.S
memcpy.S
memcpy_chk.S
memmove.S
memmove_chk.S
mempcpy.S
mempcpy_chk.S
memrchr.S
memset.S
memset_chk.S
mul_1.S
preconfigure
preconfigure.ac
rawmemchr.S
rshift.S
rtld-offsets.sym
setjmp.S
stackguard-macros.h x86: Simplify stack and pointer guard macros 2025-10-08 09:35:15 +02:00
stackinfo.h elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
start.S
stpcpy.S
stpncpy.S
strcasecmp.S
strcasecmp_l-nonascii.c
strcasecmp_l.S
strcat.S
strchr-isa-default-impl.h
strchr.S
strchrnul.S
strcmp.S
strcpy.S
strcspn-generic.c
strcspn.c
strlen.S
strncase.S
strncase_l-nonascii.c
strncase_l.S
strncat.S
strncmp.S
strncpy.S
strnlen.S
strpbrk-generic.c
strpbrk.c
strrchr.S
strspn-generic.c
strspn.c
sub_n.S
submul_1.S
sysdep.h
tls_get_addr.S
tlsdesc.c
tlsdesc.sym
tst-audit.h
tst-audit3.c
tst-audit4-aux.c
tst-audit4.c
tst-audit5.c
tst-audit6.c
tst-audit7.c
tst-audit10-aux.c
tst-audit10.c
tst-auditmod3a.c
tst-auditmod3b.c
tst-auditmod4a.c
tst-auditmod4b.c
tst-auditmod5a.c
tst-auditmod5b.c
tst-auditmod6a.c
tst-auditmod6b.c
tst-auditmod6c.c
tst-auditmod7a.c
tst-auditmod7b.c
tst-auditmod10a.c
tst-auditmod10b.c elf: tst-audit10: split AVX512F code into dedicated functions [BZ #32882] 2025-04-22 23:39:59 +02:00
tst-avx-aux.c
tst-avx.c
tst-avx512-aux.c
tst-avx512.c
tst-avx512mod.c
tst-avxmod.c
tst-cet-legacy-1.c
tst-cet-legacy-1a.c
tst-cet-legacy-2.c
tst-cet-legacy-2a.c
tst-cet-legacy-3.c
tst-cet-legacy-4.c
tst-cet-legacy-4a.c
tst-cet-legacy-4b.c
tst-cet-legacy-4c.c
tst-cet-legacy-5.c
tst-cet-legacy-5a.c
tst-cet-legacy-5b.c
tst-cet-legacy-6.c
tst-cet-legacy-6a.c
tst-cet-legacy-6b.c
tst-cet-legacy-7.c
tst-cet-legacy-8.c
tst-cet-legacy-9-static.c
tst-cet-legacy-9.c
tst-cet-legacy-10-static.c
tst-cet-legacy-10.c
tst-cet-legacy-10a-static.c
tst-cet-legacy-10a.c
tst-cet-legacy-mod-1.c
tst-cet-legacy-mod-2.c
tst-cet-legacy-mod-4.c
tst-cet-legacy-mod-5.c
tst-cet-legacy-mod-5a.c
tst-cet-legacy-mod-5b.c
tst-cet-legacy-mod-5c.c
tst-cet-legacy-mod-6.c
tst-cet-legacy-mod-6a.c
tst-cet-legacy-mod-6b.c
tst-cet-legacy-mod-6c.c
tst-cet-legacy-mod-6d.c
tst-glibc-hwcaps.c
tst-gnu2-tls2mod1.S
tst-platform-1.c
tst-platformmod-1.c
tst-platformmod-2.c
tst-plt-rewrite1.c
tst-plt-rewrite2.c
tst-plt-rewritemod1.c
tst-plt-rewritemod2.c
tst-quad1.c
tst-quad1pie.c
tst-quad2.c
tst-quad2pie.c
tst-quadmod1.S
tst-quadmod1pie.S
tst-quadmod2.S
tst-quadmod2pie.S
tst-rsi-strlen.c
tst-rsi-wcslen.c
tst-shstk-legacy-1-extra.S
tst-shstk-legacy-1a-static.c
tst-shstk-legacy-1a.c
tst-shstk-legacy-1b-static.c
tst-shstk-legacy-1b.c
tst-shstk-legacy-1c-static.c
tst-shstk-legacy-1c.c
tst-shstk-legacy-1d-static.c
tst-shstk-legacy-1d.c
tst-shstk-legacy-1e-static.c
tst-shstk-legacy-1e-static.sh
tst-shstk-legacy-1e.c
tst-shstk-legacy-1e.sh
tst-shstk-legacy-1f.c
tst-shstk-legacy-1g.c
tst-shstk-legacy-1g.sh
tst-shstk-legacy-mod-1.c
tst-split-dynreloc.c
tst-split-dynreloc.lds
tst-sse.c
tst-ssemod.c
varshift.c
wcpcpy-generic.c
wcpcpy.S
wcpncpy-generic.c
wcpncpy.S
wcscat-generic.c
wcscat.S
wcschr.S
wcscmp.S
wcscpy-generic.c
wcscpy.S
wcslen.S
wcsncat-generic.c
wcsncat.S
wcsncmp-generic.c
wcsncmp.S
wcsncpy-generic.c
wcsncpy.S
wcsnlen-generic.c
wcsnlen.S
wcsrchr.S
wmemchr.S
wmemcmp.S
wmemset.S
wmemset_chk.S
wordcopy.c
x86-lp_size.h