This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Add Linux hwcap strings for some extensions
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, nd at arm dot com
- Date: Mon, 2 Sep 2019 18:22:01 +0100
- Subject: Re: [PATCH][AArch64] Add Linux hwcap strings for some extensions
- References: <7dd9ac82-9327-050c-944e-1a4ca808787d@foss.arm.com>
On Fri, Aug 23, 2019 at 05:42:30PM +0100, Kyrill Tkachov wrote:
> Hi all,
>
> This patch adds feature strings for some of the extensions. This string
> is what is read from /proc/cpuinfo on Linux systems
> and used during -march=native detection.
>
> The strings are taken from the kernel source tree at:
> https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/cpuinfo.c#L45
>
> Bootstrapped and tested on aarch64-none-linux-gnu.
>
> Ok for trunk?
OK.
Thanks,
James
> Thanks,
> Kyrill
>
> 2019-08-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/aarch64/aarch64-option-extensions.def (sb): Add feature
> string.
> (ssbs): Likewise.
> (sve2): Likewise.
> (sve2-sm4): Likewise.
> (sveaes): Likewise.
> (svesha3): Likewise.
> (svebitperm): Likewise.
>