[PATCH] x86: Add x86_64 to x86-64 HWCAP [BZ #22093]
H.J. Lu
hjl.tools@gmail.com
Sun Jan 1 00:00:00 GMT 2017
On Thu, Oct 19, 2017 at 2:53 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Sep 11, 2017 at 2:32 AM, Andreas Schwab <schwab@suse.de> wrote:
>> 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.
>>
>
> I'd like to backport it to 2.26 branch. Any objections?
>
I am checking it in.
--
H.J.
More information about the Libc-stable
mailing list