include/opcode/
authorYufeng Zhang <yufeng.zhang@arm.com>
Thu, 28 Feb 2013 19:18:40 +0000 (19:18 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Thu, 28 Feb 2013 19:18:40 +0000 (19:18 +0000)
commite60bb1dd35da645e3449fda680291abc26e1cc60
tree7fa30bf1469e3cf6f1ed3b1cf81edf259c58312c
parent86a3263fffd5fcd0c7896647dea4dca2b5902da5
include/opcode/

* aarch64.h (AARCH64_FEATURE_CRC): New macro.

opcodes/

* 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/

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

gas/testsuite/

* gas/aarch64/crc32.s: New test.
* gas/aarch64/crc32.d: Ditto.
12 files changed:
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/crc32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/crc32.s [new file with mode: 0644]
include/opcode/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-asm-2.c
opcodes/aarch64-dis-2.c
opcodes/aarch64-opc-2.c
opcodes/aarch64-tbl.h