]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/doc/c-arm.texi
[ARM] Assembler and disassembler support Dot Product Extension
authorJiong Wang <jiong.wang@arm.com>
Wed, 28 Jun 2017 10:00:55 +0000 (11:00 +0100)
committerJiong Wang <jiong.wang@arm.com>
Wed, 28 Jun 2017 10:00:55 +0000 (11:00 +0100)
commitc604a79ad4d47070bbcc0bc082188fb16892ceef
treee05bd320fafe416bbb5c0724572c63f73c2ee344
parent41664b45ab6387184bd0e7512fcf7a72c58744e7
[ARM] Assembler and disassembler support Dot Product Extension

  This patch add assembler and disassembler support for new Dot Product
  Extension.

  The support can be enabled through the new "+dotprod" extension.

include/
* opcode/arm.h (FPU_NEON_EXT_DOTPROD): New macro.
(FPU_ARCH_DOTPROD_NEON_VFP_ARMV8): New macro.

gas/
* config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
(neon_scalar_for_mul): Improve comments.
(do_neon_dotproduct): New function to encode Dot Product instructions.
(do_neon_dotproduct_s): Wrapper function for signed Dot Product
instructions.
(do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
instructions.
(insns): New entries for vsdot and vudot.
(arm_extensions): New entry for "dotprod".
* doc/c-arm.texi: Document new "dotprod" extension.
* testsuite/gas/arm/dotprod.s: New test source.
* testsuite/gas/arm/dotprod-illegal.s: New test source.
* testsuite/gas/arm/dotprod.d: New test.
* testsuite/gas/arm/dotprod-thumb2.d: New test.
* testsuite/gas/arm/dotprod-illegal.d: New test.
* testsuite/gas/arm/dotprod-legacy-arch.d: New test.
* testsuite/gas/arm/dotprod-illegal.l: New error file.
* testsuite/gas/arm/dotprod-legacy-arch.l: New error file.

opcodes/
* arm-dis.c (coprocessor_opcodes): New entries for vsdot and vudot.
15 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/gas/arm/dotprod-illegal.d [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod-illegal.l [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod-illegal.s [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod-legacy-arch.d [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod-legacy-arch.l [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod-thumb2.d [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod.d [new file with mode: 0644]
gas/testsuite/gas/arm/dotprod.s [new file with mode: 0644]
include/ChangeLog
include/opcode/arm.h
opcodes/ChangeLog
opcodes/arm-dis.c