]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64][PATCH 1/2] Add support for RAS instruction ESB.
authorMatthew Wahab <matthew.wahab@arm.com>
Thu, 10 Dec 2015 14:05:01 +0000 (14:05 +0000)
committerMatthew Wahab <matthew.wahab@arm.com>
Mon, 14 Dec 2015 13:44:02 +0000 (13:44 +0000)
commitc0ae0bd6ba055442ed56a13e1274aaf5fb70b8d0
tree7936ddb1e8a90e56d5b591144faa3828dfc7e753
parent9fcdf5ec503b82b793cf8c5df486af7c6de1e722
[AArch64][PATCH 1/2] Add support for RAS instruction ESB.

The ARMv8.2 RAS extension adds a new barrier instruction ESB as an alias
and the preferred form of HINT 16.

This patch adds an architectural feature flag for the RAS extension and
includes it in the features selected enabled by -march=armv8.2-a. It
also adds the ESB instruction, making it available whenever the RAS
feature is enabled.

Because ESB is the preferred form and because the target architecture
isn't available to the disassembler, HINT 16 will be disassembled as ESB
even when the target has no support for the RAS extension.

gas/testsuite/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

* gas/aarch64/system-2.d: New.
* gas/aarch64/system-2.s: New.
* gas/aarch64/system.d: Adjust expected output for HINT 16.

include/opcode/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

* aarch64.h (AARCH64_FEATURE_RAS): New.
(AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_RAS.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-tbl.h (aarch64_feature_ras): New.
(RAS): New.
(aarch64_opcode_table): Add "esb".

Change-Id: Id4713917da15cca3b977284f43febd1c9b3d9faf
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/system-2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/system-2.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/system.d
include/opcode/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-asm-2.c
opcodes/aarch64-dis-2.c
opcodes/aarch64-tbl.h