[AArch64, Binutils] Make hint space instructions valid for Armv8-a
authorSudakshina Das <sudi.das@arm.com>
Mon, 20 Apr 2020 09:50:52 +0000 (10:50 +0100)
committerSudakshina Das <sudi.das@arm.com>
Mon, 20 Apr 2020 09:50:52 +0000 (10:50 +0100)
commit8a6e1d1d7f2fb09245fe42f7b8dc6d53f61df1d1
tree1b2be15fc82d86079b45a1d3596d7fcaaf335304
parent3052c068aa737824a035e72f65de18524fd2aad5
[AArch64, Binutils] Make hint space instructions valid for Armv8-a

There are a few instruction in AArch64 that are in the HINT space. Any of
these instructions should be accepted by the assembler/disassembler at any
architecture version. This patch fixes the existing instructions that are
not behaving accordingly.
I have used all of the instructions mentioned in the following to make the
changes:
https://developer.arm.com/docs/ddi0596/f/base-instructions-alphabetic-order/
hint-hint-instruction

gas/ChangeLog:

2020-04-20  Sudakshina Das  <sudi.das@arm.com>

* testsuite/gas/aarch64/bti.d: Update -march option.
* testsuite/gas/aarch64/illegal-bti.d: Remove.
* testsuite/gas/aarch64/illegal-bti.l: Remove.
* testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
* testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.

opcodes/ChangeLog:

2020-04-20  Sudakshina Das  <sudi.das@arm.com>

* aarch64-tbl.h (aarch64_feature_bti, BTI, BTI_INSN): Remove.
(aarch64_feature_ras, RAS): Likewise.
(aarch64_feature_stat_profile, STAT_PROFILE): Likewise.
(aarch64_opcode_table): Update bti, xpaclri, pacia1716, pacib1716,
autia1716, autib1716, esb, psb, dgh, paciaz, paciasp, pacibz, pacibsp,
autiaz, autiasp, autibz, autibsp to be CORE_INSN.
* aarch64-asm-2.c: Regenerated.
* aarch64-dis-2.c: Regenerated.
* aarch64-opc-2.c: Regenerated.
gas/ChangeLog
gas/testsuite/gas/aarch64/bti.d
gas/testsuite/gas/aarch64/illegal-bti.d [deleted file]
gas/testsuite/gas/aarch64/illegal-bti.l [deleted file]
gas/testsuite/gas/aarch64/illegal-ras-1.l
gas/testsuite/gas/aarch64/illegal-ras-1.s
opcodes/ChangeLog
opcodes/aarch64-asm-2.c
opcodes/aarch64-dis-2.c
opcodes/aarch64-opc-2.c
opcodes/aarch64-tbl.h