]> sourceware.org Git - glibc.git/commit
x86: Properly disable XSAVE related features [BZ #27605]
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Mar 2021 13:15:37 +0000 (06:15 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Mar 2021 13:04:17 +0000 (06:04 -0700)
commit27f74636752d0c4438cf8346cf2a76b6fcf3be16
treed3710a44e90b6e6ab090a7de68b3437e41280b1f
parentcb882b21b63606aabd6e55afe23b42434d95f2ef
x86: Properly disable XSAVE related features [BZ #27605]

1. Support GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVE.
2. Disable all features which depend on XSAVE:
   a. If OSXSAVE is disabled by glibc tunables.  Or
   b. If both XSAVE and XSAVEC aren't usable.
sysdeps/x86/cpu-features.c
sysdeps/x86/cpu-tunables.c
This page took 0.042315 seconds and 5 git commands to generate.