summaryrefslogtreecommitdiff
path: root/opcodes/aarch64-asm.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2016-09-21 16:51:16 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2016-09-21 16:51:16 +0100
commitb5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4 (patch)
treed20a8aec105117180a6d86412a769c762ac6ee7c /opcodes/aarch64-asm.h
parent42408347b86745fdbd4bec9ee3a6a3fee31c4dee (diff)
downloadbinutils-gdb-b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4.tar.gz
[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/aarch64-asm.h')
0 files changed, 0 insertions, 0 deletions