[AArch64][Patch 4/5] Support HINT aliases taking operands.

Matthew Wahab matthew.wahab@foss.arm.com
Wed Dec 9 11:12:00 GMT 2015


Hello,

The Statistical Profile Extension adds the instruction PSB CSYNC as an
alias for the HINT #17 instruction. This patch adds support for aliases
of HINT which take an operand, adding a table to store operand names and
their matching hint number as well as encoding and decoding functions
for such operands. Parsing and printing the operands are deferred to any
support added for aliases with such operands.

Tested the series for aarch64-none-linux-gnu with cross-compiled
check-binutils and check-gas.

Ok for trunk?
Matthew

include/opcode/
2015-12-09  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (aarch64_hint_options): Declare.
	(aarch64_opnd_info): Add field hint_option.

opcodes/
2015-12-09  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm.c (aarch64_ins_hint): New.
	* aarch64-asm.h (aarch64_ins_hint): Declare.
	* aarch64-dis.c (aarch64_ext_hint): New.
	* aarch64-dis.h (aarch64_ext_hint): Declare.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-opc.c (aarch64_hint_options): New.
	* aarch64-tbl.h (AARCH64_OPERANDS): Fix typos.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-AArch64-Patch-4-5-Support-HINT-aliases-taking-operan.patch
Type: text/x-patch
Size: 6100 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151209/4d352930/attachment.bin>


More information about the Binutils mailing list