diff options
author | Jiong Wang <jiong.wang@arm.com> | 2017-06-28 11:00:55 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2017-06-28 11:00:55 +0100 |
commit | c604a79ad4d47070bbcc0bc082188fb16892ceef (patch) | |
tree | e05bd320fafe416bbb5c0724572c63f73c2ee344 /gas/doc | |
parent | 41664b45ab6387184bd0e7512fcf7a72c58744e7 (diff) | |
download | gdb-c604a79ad4d47070bbcc0bc082188fb16892ceef.zip gdb-c604a79ad4d47070bbcc0bc082188fb16892ceef.tar.gz gdb-c604a79ad4d47070bbcc0bc082188fb16892ceef.tar.bz2 |
[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.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-arm.texi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 31a012e..15c3acd 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -174,6 +174,7 @@ been added, again in ascending alphabetical order. For example, The following extensions are currently supported: @code{crc} @code{crypto} (Cryptography Extensions for v8-A architecture, implies @code{fp+simd}), +@code{dotprod} (Dot Product Extensions for v8.2-A architecture, implies @code{fp+simd}), @code{fp} (Floating Point Extensions for v8-A architecture), @code{idiv} (Integer Divide Extensions for v7-A and v7-R architectures), @code{iwmmxt}, |