[PATCH] x86: Add x86_64 to x86-64 HWCAP [BZ #22093]

Andreas Schwab schwab@suse.de
Mon Sep 11 09:32:00 GMT 2017


On Sep 06 2017, "H.J. Lu" <hongjiu.lu@intel.com> wrote:

> 	[BZ #22093]
> 	* sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
> 	GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
> 	* sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
> 	(HWCAP_IMPORTANT): Likewise.
> 	(HWCAP_X86_64): New enum.
> 	(HWCAP_X86_AVX512_1): Updated.
> 	* sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
> 	* sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
> 	(modules-names): Add x86_64/tst-x86_64mod-1.
> 	(LDFLAGS-tst-x86_64mod-1.so): New.
> 	($(objpfx)tst-x86_64-1): Likewise.
> 	($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
> 	(tst-x86_64-1-clean): Likewise.
> 	* sysdeps/x86_64/tst-x86_64-1.c: New file.
> 	* sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list