arm: Add support for Armv8.7-A and Armv8.8-A
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 16 Dec 2021 09:32:00 +0000 (09:32 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 16 Dec 2021 09:32:00 +0000 (09:32 +0000)
commitb3e4d9326faf88d83745379f254d56b8a8324b63
treee7bfa6bcfcde9b2cd862001af4e75f59d4310820
parent3518022233e6b757c57d3deb7723fd91214fe036
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
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/gas/arm/attr-march-armv8_7-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv8_8-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/bfloat16-armv8.7-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/bfloat16-armv8.8-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/i8mm-armv8.7-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/i8mm-armv8.8-a.d [new file with mode: 0644]
include/opcode/arm.h