diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:51:16 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2016-09-21 16:51:16 +0100 |
commit | b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4 (patch) | |
tree | d20a8aec105117180a6d86412a769c762ac6ee7c /opcodes/ChangeLog | |
parent | 42408347b86745fdbd4bec9ee3a6a3fee31c4dee (diff) | |
download | gdb-b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4.zip gdb-b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4.tar.gz gdb-b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4.tar.bz2 |
[AArch64][SVE 15/32] Add {insert,extract}_all_fields helpers
Several of the SVE operands use the aarch64_operand fields array
to store the fields that make up the operand, rather than hard-coding
the names in the C code. This patch adds helpers for inserting and
extracting those fields.
opcodes/
* aarch64-asm.c: Include libiberty.h.
(insert_fields): New function.
(aarch64_ins_imm): Use it.
* aarch64-dis.c (extract_fields): New function.
(aarch64_ext_imm): Use it.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9f44e97..fd24116 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,13 @@ 2016-09-21 Richard Sandiford <richard.sandiford@arm.com> + * aarch64-asm.c: Include libiberty.h. + (insert_fields): New function. + (aarch64_ins_imm): Use it. + * aarch64-dis.c (extract_fields): New function. + (aarch64_ext_imm): Use it. + +2016-09-21 Richard Sandiford <richard.sandiford@arm.com> + * aarch64-opc.c (aarch64_logical_immediate_p): Replace is32 with an esize parameter. (operand_general_constraint_met_p): Update accordingly. |