diff options
author | Matthew Malcomson <matthew.malcomson@arm.com> | 2019-05-09 10:29:16 +0100 |
---|---|---|
committer | Matthew Malcomson <matthew.malcomson@arm.com> | 2019-05-09 10:29:16 +0100 |
commit | 3bd82c86f0f432bd7653101069bf056fda14b7cd (patch) | |
tree | b26d522e496dcd5b402020c7843059de9a101e63 /opcodes/aarch64-dis.c | |
parent | adccc50753467ac66573471f180a60d8d96ce223 (diff) | |
download | gdb-3bd82c86f0f432bd7653101069bf056fda14b7cd.zip gdb-3bd82c86f0f432bd7653101069bf056fda14b7cd.tar.gz gdb-3bd82c86f0f432bd7653101069bf056fda14b7cd.tar.bz2 |
[binutils][aarch64] New iclass sve_size_hsd2.
Add "sve_size_hsd2" iclass decode that uses the new FLD_SVE_size field
value to determine the variant of an instruction.
include/ChangeLog:
2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
* opcode/aarch64.h (enum aarch64_insn_class): Add sve_size_hsd2 iclass.
opcodes/ChangeLog:
2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
* aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
sve_size_hsd2 iclass encode.
* aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
sve_size_hsd2 iclass decode.
* aarch64-opc.c (fields): Handle SVE_size field.
* aarch64-opc.h (enum aarch64_field_kind): New SVE_size field.
Diffstat (limited to 'opcodes/aarch64-dis.c')
-rw-r--r-- | opcodes/aarch64-dis.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c index eea649f..844c6ab 100644 --- a/opcodes/aarch64-dis.c +++ b/opcodes/aarch64-dis.c @@ -2810,6 +2810,13 @@ aarch64_decode_variant_using_iclass (aarch64_inst *inst) variant = extract_field (FLD_SVE_sz, inst->value, 0); break; + case sve_size_hsd2: + i = extract_field (FLD_SVE_size, inst->value, 0); + if (i < 1) + return FALSE; + variant = i - 1; + break; + default: /* No mapping between instruction class and qualifiers. */ return TRUE; |