From b3e4d9326faf88d83745379f254d56b8a8324b63 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 16 Dec 2021 09:32:00 +0000 Subject: arm: Add support for Armv8.7-A and Armv8.8-A This patch adds AArch32 support for -march=armv8.[78]-a. The behaviour of the new options can be expressed using a combination of existing feature flags and tables. The cpu_arch_ver entries are technically redundant but it seemed less surprising to include them anyway. include/ * opcode/arm.h (ARM_ARCH_V8_7A, ARM_ARCH_V8_8A): New macros. gas/ * doc/c-arm.texi: Add armv8.7-a and armv8.8-a. * config/tc-arm.c (armv87a_ext_table, armv88a_ext_table): New macros. (arm_archs): Add armv8.7-a and armv8.8-a. (cpu_arch_ver): Add ARM_ARCH_V8_7A and ARM_ARCH_V8_8A. * NEWS: Mention the above. * testsuite/gas/arm/attr-march-armv8_7-a.d: New test. * testsuite/gas/arm/attr-march-armv8_8-a.d: Likewise. * testsuite/gas/arm/bfloat16-armv8.7-a.d: Likewise. * testsuite/gas/arm/bfloat16-armv8.8-a.d: Likewise. * testsuite/gas/arm/i8mm-armv8.7-a.d: Likewise. * testsuite/gas/arm/i8mm-armv8.8-a.d: Likewise. --- gas/NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/NEWS') diff --git a/gas/NEWS b/gas/NEWS index d0dca5b..82d5aa5 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -31,7 +31,8 @@ * Add support for 'armv8.8-a', 'armv9-a', 'armv9.1-a', 'armv9.2-a' and 'armv9.3-a' for -march in AArch64 GAS. -* Add support for 'armv9-a' for -march in Arm GAS. +* Add support for 'armv8.7-a', 'armv8.8-a', and 'armv9-a' for -march + in Arm GAS. * Add support for Intel AVX512_FP16 instructions. -- cgit v1.1