glibc/sysdeps/x86
Sunil K Pandey 70b6488551 x86: Optimize xstate size calculation
Scan xstate IDs up to the maximum supported xstate ID.  Remove the
separate AMX xstate calculation.  Instead, exclude the AMX space from
the start of TILECFG to the end of TILEDATA in xsave_state_size.

Completed validation on SKL/SKX/SPR/SDE and compared xsave state size
with "ld.so --list-diagnostics" option, no regression.

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
2025-04-05 07:51:38 -07:00
..
bits math: Fix `unknown type name '__float128'` for clang 3.4 to 3.8.1 (bug 32694) 2025-02-23 11:47:11 +08:00
fpu Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
htl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
include x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
nptl Move <thread_pointer.h> to kernel-independent sysdeps directories 2025-01-09 19:30:16 +01:00
sys/platform Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Makeconfig
Makefile x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread 2025-03-31 21:33:18 +02:00
Versions
__longjmp_cancel.S Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
abi-note.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
atomic-machine.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
cacheinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
cacheinfo.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
configure x86: Include test-flt-eval-method-387 if -mfpmath=387 works 2024-12-22 12:54:44 +08:00
configure.ac x86: Include test-flt-eval-method-387 if -mfpmath=387 works 2024-12-22 12:54:44 +08:00
cpu-features-offsets.sym
cpu-features.c x86: Optimize xstate size calculation 2025-04-05 07:51:38 -07:00
cpu-tunables.c Fix typo in comment 2025-03-31 10:54:52 -03:00
dl-cacheinfo.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-diagnostics-cpu.c x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
dl-get-cpu-features.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-hwcap.h Remove dl-procinfo.h 2025-03-05 11:22:09 -03:00
dl-hwcap2.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-isa-level.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-lookupcfg.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-minsigstacksize.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-new-hash.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-procinfo.c Remove unused dl-procinfo.h 2025-02-28 16:55:18 +00:00
dl-prop.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elf-initfini.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elide.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
features-offsets.sym
float128-abi.h
fpu_control.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
get-cpuid-feature-leaf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
get-isa-level.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hp-timing.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
init-arch.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
isa-ifunc-macros.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
isa-level.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
isa-level.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
jmp_buf-ssp.sym
ldbl2mpn.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldsodefs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-start.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
link_map.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
linkmap.h
longjmp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
readelflib.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysdep.h x86: Optimize xstate size calculation 2025-04-05 07:51:38 -07:00
thread_pointer.h x86: Add missing #include <features.h> to <thread_pointer.h> 2025-01-09 19:30:41 +01:00
tininess.h
tst-cpu-features-cpuinfo-static.c
tst-cpu-features-cpuinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-cpu-features-supports-static.c
tst-cpu-features-supports.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-get-cpu-features-static.c
tst-get-cpu-features.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-gnu2-tls2-x86-noxsave.c x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
tst-gnu2-tls2-x86-noxsavec.c x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
tst-gnu2-tls2-x86-noxsavexsavec.c x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
tst-gnu2-tls2.c
tst-hwcap-tunables.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-ifunc-isa-1-static.c
tst-ifunc-isa-1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-ifunc-isa-2-static.c
tst-ifunc-isa-2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-ifunc-isa.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-isa-level-1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-isa-level-mod-1-baseline.c
tst-isa-level-mod-1-v2.c
tst-isa-level-mod-1-v3.c
tst-isa-level-mod-1-v4.c
tst-isa-level-mod-1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-ldbl-nonnormal-printf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-memchr-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-memcmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-memmove-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-memrchr-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-memset-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-setjmp-cet.c
tst-stack-align.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strcasecmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strchr-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strcmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strcpy-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-string-rtm.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strlen-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strncasecmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strncmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-strrchr-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-sysconf-cache-linesize-static.c
tst-sysconf-cache-linesize.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-wcscmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-wcsncmp-rtm.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
utmp-size.h