From a4239bd48db193e9049384384d3f28f0f4695af2 Mon Sep 17 00:00:00 2001 From: Yufeng Zhang Date: Thu, 28 Feb 2013 19:18:40 +0000 Subject: 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. --- include/opcode/ChangeLog | 4 ++++ include/opcode/aarch64.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index cef6986e1..fc2b40e27 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2013-02-28 Yufeng Zhang + + * aarch64.h (AARCH64_FEATURE_CRC): New macro. + 2013-02-06 Sandra Loosemore Andrew Jenner diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 941e67814..eaf3cda5d 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -37,6 +37,7 @@ typedef uint32_t aarch64_insn; #define AARCH64_FEATURE_CRYPTO 0x00010000 /* Crypto instructions. */ #define AARCH64_FEATURE_FP 0x00020000 /* FP instructions. */ #define AARCH64_FEATURE_SIMD 0x00040000 /* SIMD instructions. */ +#define AARCH64_FEATURE_CRC 0x00080000 /* CRC instructions. */ /* Architectures are the sum of the base and extensions. */ #define AARCH64_ARCH_V8 AARCH64_FEATURE (AARCH64_FEATURE_V8, \ -- cgit v1.2.3