[Patch, AArch64] Add support for CRC instructions

Marcus Shawcroft marcus.shawcroft@arm.com
Wed Feb 27 09:59:00 GMT 2013


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



More information about the Binutils mailing list