aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2013-02-28 19:18:40 +0000
committerYufeng Zhang <yufeng.zhang@arm.com>2013-02-28 19:18:40 +0000
commite60bb1dd35da645e3449fda680291abc26e1cc60 (patch)
tree7fa30bf1469e3cf6f1ed3b1cf81edf259c58312c /include
parent86a3263fffd5fcd0c7896647dea4dca2b5902da5 (diff)
downloadgdb-e60bb1dd35da645e3449fda680291abc26e1cc60.zip
gdb-e60bb1dd35da645e3449fda680291abc26e1cc60.tar.gz
gdb-e60bb1dd35da645e3449fda680291abc26e1cc60.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/aarch64.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index cef6986..fc2b40e 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * aarch64.h (AARCH64_FEATURE_CRC): New macro.
+
2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index 941e678..eaf3cda 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, \