This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, AArch64] Add support for CRC instructions


On 26/02/13 20:46, Yufeng Zhang wrote:
Hi,

This patch adds support for the CRC instructions in the AArch64 GAS and
disassembler.  OK for the trunk?

Thanks,
Yufeng

include/opcode/

2013-02-26 Yufeng Zhang <yufeng.zhang@arm.com>

* aarch64.h (AARCH64_FEATURE_CRC): New macro.

opcodes/

2013-02-26 Yufeng Zhang <yufeng.zhang@arm.com>

	* aarch64-tbl.h (QL_I3SAMEW, QL_I3WWX): New macros.
	(aarch64_feature_crc): New static.
	(CRC): New macro.
	(aarch64_opcode_table): Add entries for the crc32b, crc32h, crc32w,
	crc32x, crc32cb, crc32ch, crc32cw and crc32cx instructions.
	* aarch64-asm-2.c: Re-generate.
	* aarch64-dis-2.c: Ditto.
	* aarch64-opc-2.c: Ditto.

gas/

2013-02-26 Yufeng Zhang <yufeng.zhang@arm.com>

* config/tc-aarch64.c (aarch64_features): Add the 'crc' option.

gas/testsuite/

2013-02-26 Yufeng Zhang <yufeng.zhang@arm.com>

	* gas/aarch64/crc32.s: New test.
	* gas/aarch64/crc32.d: Ditto.



Looks OK to me.

/Marcus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]