diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:51:24 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:51:24 +0100 |
commit | aa2aa4c69429444836821a92cb99396d02dcb996 (patch) | |
tree | e211f663adf01e52284b1654dd4de7d22fe5a3ed /opcodes/aarch64-dis-2.c | |
parent | b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4 (diff) | |
download | gdb-aa2aa4c69429444836821a92cb99396d02dcb996.zip gdb-aa2aa4c69429444836821a92cb99396d02dcb996.tar.gz gdb-aa2aa4c69429444836821a92cb99396d02dcb996.tar.bz2 |
[AArch64][SVE 16/32] Use specific insert/extract methods for fpimm
FPIMM used the normal "imm" insert/extract methods, with a specific
test for FPIMM in the extract method. SVE needs to use the same
extractors, so rather than add extra checks for specific operand types,
it seemed cleaner to use a separate insert/extract method.
opcodes/
* aarch64-tbl.h (AARCH64_OPERNADS): Use fpimm rather than imm
for FPIMM.
* aarch64-asm.h (ins_fpimm): New inserter.
* aarch64-asm.c (aarch64_ins_fpimm): New function.
* aarch64-asm-2.c: Regenerate.
* aarch64-dis.h (ext_fpimm): New extractor.
* aarch64-dis.c (aarch64_ext_imm): Remove fpimm test.
(aarch64_ext_fpimm): New function.
* aarch64-dis-2.c: Regenerate.
Diffstat (limited to 'opcodes/aarch64-dis-2.c')
-rw-r--r-- | opcodes/aarch64-dis-2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/aarch64-dis-2.c b/opcodes/aarch64-dis-2.c index 8e85dbf..a86a84d 100644 --- a/opcodes/aarch64-dis-2.c +++ b/opcodes/aarch64-dis-2.c @@ -10450,7 +10450,6 @@ aarch64_extract_operand (const aarch64_operand *self, case 34: return aarch64_ext_ldst_elemlist (self, info, code, inst); case 37: - case 46: case 47: case 48: case 49: @@ -10478,6 +10477,8 @@ aarch64_extract_operand (const aarch64_operand *self, return aarch64_ext_advsimd_imm_modified (self, info, code, inst); case 43: return aarch64_ext_shll_imm (self, info, code, inst); + case 46: + return aarch64_ext_fpimm (self, info, code, inst); case 59: return aarch64_ext_limm (self, info, code, inst); case 60: |