aboutsummaryrefslogtreecommitdiff
path: root/opcodes/aarch64-dis.c
diff options
context:
space:
mode:
authorMatthew Malcomson <matthew.malcomson@arm.com>2019-05-09 10:29:20 +0100
committerMatthew Malcomson <matthew.malcomson@arm.com>2019-05-09 10:29:20 +0100
commit3c705960ca0e12bb5d3a12d14ca6703006102d98 (patch)
treed8634f08d243b93740c60c02ae469c0d0c6dcb32 /opcodes/aarch64-dis.c
parent0a57e14ffa4c2900f64780375282dc5dc493e250 (diff)
downloadgdb-3c705960ca0e12bb5d3a12d14ca6703006102d98.zip
gdb-3c705960ca0e12bb5d3a12d14ca6703006102d98.tar.gz
gdb-3c705960ca0e12bb5d3a12d14ca6703006102d98.tar.bz2
[binutils][aarch64] New sve_size_bh iclass.
Add new iclass sve_size_bh to handle instructions that have two variants encoded with the SVE_sz field. This iclass behaves the same as the sve_size_sd iclass, but it has a nicer name for those instructions that choose between variants using the "B" and "H" size qualifiers. include/ChangeLog: 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> * opcode/aarch64.h (enum aarch64_insn_class): Add sve_size_bh iclass. opcodes/ChangeLog: 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle sve_size_bh iclass encode. * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle sve_size_bh iclass decode.
Diffstat (limited to 'opcodes/aarch64-dis.c')
-rw-r--r--opcodes/aarch64-dis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c
index 35576b3..bfc47b4 100644
--- a/opcodes/aarch64-dis.c
+++ b/opcodes/aarch64-dis.c
@@ -2806,6 +2806,7 @@ aarch64_decode_variant_using_iclass (aarch64_inst *inst)
variant = i - 1;
break;
+ case sve_size_bh:
case sve_size_sd:
variant = extract_field (FLD_SVE_sz, inst->value, 0);
break;