This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] x86: Add x86_64 to x86-64 HWCAP [BZ #22093]
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Libc-stable Mailing List <libc-stable at sourceware dot org>
- Date: Sun, 22 Oct 2017 04:10:51 -0700
- Subject: Re: [PATCH] x86: Add x86_64 to x86-64 HWCAP [BZ #22093]
- Authentication-results: sourceware.org; auth=none
- References: <20170906180229.GA32425@gmail.com> <mvmvakpbmwq.fsf@suse.de> <CAMe9rOoHZayN8o-9a5Y86Wgs2fP-mYBBGOY0RuvRYinTh=qB+w@mail.gmail.com>
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.