From 65a55fbbd949868f7df3c65d39eb8d4455515132 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Wed, 28 Jun 2017 11:09:01 +0100 Subject: [AArch64] Add dot product support for AArch64 to binutils gas/ * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B. (aarch64_features): Added dotprod. * doc/c-aarch64.texi: Added dotprod. * testsuite/gas/aarch64/dotproduct.d: New. * testsuite/gas/aarch64/dotproduct.s: New. opcodes/ * aarch64-asm.c (aarch64_ins_reglane): Added 4B dotprod. * aarch64-dis.c (aarch64_ext_reglane): Likewise. * aarch64-tbl.h (QL_V3DOT, QL_V2DOT): New. (aarch64_feature_dotprod, DOT_INSN): New. (udot, sdot): New. * aarch64-dis-2.c: Regenerated. include/ * opcode/aarch64.h: (AARCH64_FEATURE_DOTPROD): New. (aarch64_insn_class): Added dotprod. --- include/opcode/aarch64.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/opcode') diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 37e2486..c5788e2 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -55,6 +55,7 @@ typedef uint32_t aarch64_insn; #define AARCH64_FEATURE_SVE 0x10000000 /* SVE instructions. */ #define AARCH64_FEATURE_RCPC 0x20000000 /* RCPC instructions. */ #define AARCH64_FEATURE_COMPNUM 0x40000000 /* Complex # instructions. */ +#define AARCH64_FEATURE_DOTPROD 0x080000000 /* Dot Product instructions. */ /* Architectures are the sum of the base and extensions. */ #define AARCH64_ARCH_V8 AARCH64_FEATURE (AARCH64_FEATURE_V8, \ @@ -508,6 +509,7 @@ enum aarch64_insn_class sve_size_hsd, sve_size_sd, testbranch, + dotproduct, }; /* Opcode enumerators. */ -- cgit v1.1