[Aarch64] Support an ARMv8.2 system register.
authorMatthew Wahab <matthew.wahab@arm.com>
Fri, 27 Nov 2015 13:44:10 +0000 (13:44 +0000)
committerMatthew Wahab <matthew.wahab@arm.com>
Fri, 27 Nov 2015 13:44:10 +0000 (13:44 +0000)
commit1a04d1a7e1e0ab4456c8f729375b9415a8cf7c61
treec63ced6cf617e693b25af3596c261c1a1b8d6b52
parent870181955b565b4fbbf4efcbec4a43d687703d1a
[Aarch64] Support an ARMv8.2 system register.

ARMv8.2 adds a new system register id_aa64mmfr2_el1. This patch adds
support for the register to binutils, making it available when
-march=armv8.2-a is selected.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

* aarch64-opc.c (aarch64_sys_regs): Add "id_aa64mmfr2_el1".
(aarch64_sys_reg_supported_p): Add ARMv8.2 system register
feature test.

gas/testsuite/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

* gas/aarch64/sysreg-2.d: New.
* gas/aarch64/sysreg-2.s: New.

Change-Id: I767f18a60e2bd70ce74c89f6abfe07afdc9e601f
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/sysreg-2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg-2.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/aarch64-opc.c