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: Andreas Schwab <schwab at suse dot de>
- To: "H.J. Lu" <hongjiu dot lu at intel dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Mon, 11 Sep 2017 11:32:53 +0200
- Subject: Re: [PATCH] x86: Add x86_64 to x86-64 HWCAP [BZ #22093]
- Authentication-results: sourceware.org; auth=none
- References: <20170906180229.GA32425@gmail.com>
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."