]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 21 Sep 2016 15:54:30 +0000 (16:54 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 21 Sep 2016 15:54:30 +0000 (16:54 +0100)
commitd50c751e00b5336b4604b92271ab84615fdb0d27
treea03ccbb9798577e978217f1c9639300afb0fec2a
parentf11ad6bc0fc44b94c6970115bb6984b497b967e7
[AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication

This patch adds qualifiers to represent /z and /m suffixes on
predicate registers.

include/
* opcode/aarch64.h (AARCH64_OPND_QLF_P_Z): New aarch64_opnd_qualifier.
(AARCH64_OPND_QLF_P_M): Likewise.

opcodes/
* aarch64-opc.c (aarch64_opnd_qualifiers): Add entries for
AARCH64_OPND_QLF_P_[ZM].
(aarch64_print_operand): Print /z and /m where appropriate.

gas/
* config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
(parse_vector_type_for_operand): Assert that the skipped character
is a '.'.
(parse_predication_for_operand): New function.
(parse_typed_reg): Parse /z and /m suffixes for predicate registers.
(vectype_to_qualifier): Handle NT_zero and NT_merge.
gas/ChangeLog
gas/config/tc-aarch64.c
include/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-opc.c