mirror of git://sourceware.org/git/glibc.git
x86: Avoid GLRO(dl_x86_cpu_features)
In init_cpu_features, replace GLRO(dl_x86_cpu_features) with cpu_features to avoid an extra load. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
parent
62fba6d980
commit
0a027674a1
|
|
@ -1256,7 +1256,7 @@ no_cpuid:
|
|||
#endif
|
||||
|
||||
if (MINIMUM_X86_ISA_LEVEL >= AVX_X86_ISA_LEVEL
|
||||
|| (GLRO(dl_x86_cpu_features).xsave_state_size != 0))
|
||||
|| cpu_features->xsave_state_size != 0)
|
||||
{
|
||||
if (CPU_FEATURE_USABLE_P (cpu_features, XSAVEC))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue