This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Specify fp16 support for Cortex-A55 and Cortex-A75
- 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: Tue, 12 Dec 2017 10:16:32 +0000
- Subject: Re: [PATCH][AArch64] Specify fp16 support for Cortex-A55 and Cortex-A75
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com;
- Nodisclaimer: True
- References: <5A2E8BB7.4000209@foss.arm.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Mon, Dec 11, 2017 at 01:44:23PM +0000, Kyrill Tkachov wrote:
> Hi all,
>
> The Cortex-A55 and Cortex-A75 processors support the fp16 extension.
> We already specify them as such in the arm port.
> This patch makes aarch64 consistent on this front.
>
> Bootstrapped and tested on aarch64-none-linux-gnu.
> Manually checked that compiling with aarch64-none-linux-gnu-gcc
> -mcpu=cortex-a55 -dM -E - < /dev/null
> shows __ARM_FEATURE_FP16_VECTOR_ARITHMETIC and
> __ARM_FEATURE_FP16_SCALAR_ARITHMETIC being specified
> as expected whereas they were not before this patch.
>
> Ok for trunk?
OK.
Sorry for the oversight when I added this support earlier in the year.
James
> 2017-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/aarch64/aarch64-cores.def (cortex-a55, cortex-a75,
> cortex-a75.cortex-a55): Specify AARCH64_FL_F16 in the arch features.