Enhance the AARCH64 assembler to support LDFF1xx instructions which use REG+REG addre...
authorNick Clifton <nickc@redhat.com>
Wed, 28 Mar 2018 08:44:45 +0000 (09:44 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 28 Mar 2018 08:44:45 +0000 (09:44 +0100)
commitc8d59609b1cf66eaff3c486e483f5e3d647c66ff
tree66054d403bc11d2c064100c3a159a08a2005233c
parent9c75b45645acb30c42f09b80cbaadbde391aa7b2
Enhance the AARCH64 assembler to support LDFF1xx instructions which use REG+REG addressing with an assumed offset register.

PR 22988
opcode * opcode/aarch64.h (enum aarch64_opnd): Add
AARCH64_OPND_SVE_ADDR_R.

opcodes * aarch64-tbl.h (aarch64_opcode_table): Add entries for LDFF1xx
instructions with only a base address register.
* aarch64-opc.c (operand_general_constraint_met_p): Add code to
handle AARHC64_OPND_SVE_ADDR_R.
(aarch64_print_operand): Likewise.
* aarch64-asm-2.c: Regenerate.
* aarch64_dis-2.c: Regenerate.
* aarch64-opc-2.c: Regenerate.

gas * config/tc-aarch64.c (parse_operands): Add code to handle
AARCH64_OPN_SVE_ADDR_R.
* testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
with an assumed XZR offset address register.
* testsuite/gas/aarch64/sve.d: Update expected disassembly.
12 files changed:
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/sve.d
gas/testsuite/gas/aarch64/sve.s
include/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-asm-2.c
opcodes/aarch64-dis-2.c
opcodes/aarch64-opc-2.c
opcodes/aarch64-opc.c
opcodes/aarch64-tbl.h