aarch64: [SME] Add ZERO instruction
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Wed, 17 Nov 2021 19:56:09 +0000 (19:56 +0000)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Wed, 17 Nov 2021 19:56:42 +0000 (19:56 +0000)
commit1cad938de57a1577e5fe4b4afcabe889a8b9b9d7
tree0a83cfe3b99989bb705595bb9bf0855553e25e15
parent7bb5f07c8aa5168009f1e7b6857a30f0ee5ad16a
aarch64: [SME] Add ZERO instruction

This patch is adding ZERO (a list of 64-bit element ZA tiles)
instruction.

gas/ChangeLog:

* config/tc-aarch64.c (parse_sme_list_of_64bit_tiles):
New parser.
(parse_operands): Handle OPND_SME_list_of_64bit_tiles.
* testsuite/gas/aarch64/sme-4-illegal.d: New test.
* testsuite/gas/aarch64/sme-4-illegal.l: New test.
* testsuite/gas/aarch64/sme-4-illegal.s: New test.
* testsuite/gas/aarch64/sme-4.d: New test.
* testsuite/gas/aarch64/sme-4.s: New test.

include/ChangeLog:

* opcode/aarch64.h (enum aarch64_opnd): New operand
AARCH64_OPND_SME_list_of_64bit_tiles.

opcodes/ChangeLog:

* aarch64-opc.c (print_sme_za_list): New printing function.
(aarch64_print_operand): Handle OPND_SME_list_of_64bit_tiles.
* aarch64-opc.h (enum aarch64_field_kind): New bitfield
FLD_SME_zero_mask.
* aarch64-tbl.h (struct aarch64_opcode): New ZERO instruction.
aarch64-asm-2.c: Regenerate.
aarch64-dis-2.c: Regenerate.
aarch64-opc-2.c: Regenerate.
13 files changed:
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/sme-4-illegal.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sme-4-illegal.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/sme-4-illegal.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/sme-4.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sme-4.s [new file with mode: 0644]
include/opcode/aarch64.h
opcodes/aarch64-asm-2.c
opcodes/aarch64-dis-2.c
opcodes/aarch64-opc-2.c
opcodes/aarch64-opc.c
opcodes/aarch64-opc.h
opcodes/aarch64-tbl.h