[PATCH][GAS][AArch64] Add new fields and operands required for Armv8.4-a [Patch (1/6)]

Tamar Christina tamar.christina@arm.com
Wed Nov 8 10:10:00 GMT 2017


Hi All,

This patch adds the new Fields and Operand types for the new
instructions in Armv8.4-a.

The patch is purely additive and no change in behavior is expected.

Checked with check-gas on aarch64-none-elf and aarch64_be-none-elf,
no regressions.

Ok for master?

Ps. I do not have commit access so if OK can someone apply for me?

Thanks,
Tamar


gas/
2017-11-08  Tamar Christina  <tamar.christina@arm.com>

	* config/tc-aarch64.c (process_omitted_operand):
	Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2
	and AARCH64_OPND_IMM_2.
	(parse_operands): Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2,
	AARCH64_OPND_IMM_2, AARCH64_OPND_MASK
	and AARCH64_OPND_ADDR_OFFSET.

include/
2017-11-08  Tamar Christina  <tamar.christina@arm.com>

	* opcode/aarch64.h:
	(aarch64_opnd): Add AARCH64_OPND_Va, AARCH64_OPND_MASK,
	AARCH64_OPND_IMM_2, AARCH64_OPND_ADDR_OFFSET
	and AARCH64_OPND_SM3_IMM2. 
	(aarch64_insn_class): Add cryptosm3 and cryptosm4.

opcodes/
2017-11-08  Tamar Christina  <tamar.christina@arm.com>

	* aarch64-asm.h (ins_addr_offset): New.
	* aarch64-asm.c (aarch64_ins_reglane): Add cryptosm3.
	(aarch64_ins_addr_offset): New.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_addr_offset): New.
	* aarch64-dis.c (aarch64_ext_reglane): Add cryptosm3.
	(aarch64_ext_addr_offset): New.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc.h (aarch64_field_kind): Add FLD_imm6_2,
	FLD_imm4_2 and FLD_SM3_imm2.
	* aarch64-opc.c (fields): Add FLD_imm6_2,
	FLD_imm4_2 and FLD_SM3_imm2.
	(operand_general_constraint_met_p): Add AARCH64_OPND_ADDR_OFFSET.
	(aarch64_print_operand): Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2,
	AARCH64_OPND_MASK, AARCH64_OPND_IMM_2 and AARCH64_OPND_ADDR_OFFSET.
	* aarch64-opc-2.c (Va, MASK, IMM_2, ADDR_OFFSET, SM3_IMM2): New.
	* aarch64-tbl.h
	(aarch64_opcode_table): Add Va, MASK, IMM_2, ADDR_OFFSET, SM3_IMM2.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: content.patch
Type: text/x-diff
Size: 40092 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20171108/58efb794/attachment.bin>


More information about the Binutils mailing list