Enable the Dot Product extension by default for Armv8.4-a.

include/

	* opcode/aarch64.h (AARCH64_ARCH_V8_4): Enable DOTPROD.

gas/testsuite

	* gas/aarch64/dotproduct_armv8_4.s: New.
	* gas/aarch64/dotproduct_armv8_4.d: New.
This commit is contained in:
Tamar Christina 2017-11-09 15:50:56 +00:00
parent 793a194839
commit 981b557a48
5 changed files with 23 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2017-11-06 Tamar Christina <tamar.christina@arm.com>
* gas/testsuite/gas/aarch64/dotproduct_armv8_4.s: New.
* gas/testsuite/gas/aarch64/dotproduct_armv8_4.d: New.
2017-11-09 Tamar Christina <tamar.christina@arm.com>
* gas/testsuite/gas/aarch64/armv8_4-a-registers-illegal.d: New.

View file

@ -0,0 +1,10 @@
#as: -march=armv8.4-a
#objdump: -dr
.*: file format .*
Disassembly of section \.text:
0+ <.*>:
[^:]+:\s+2e809400 udot v0.2s, v0.8b, v0.8b
[^:]+:\s+2e8b9400 udot v0.2s, v0.8b, v11.8b

View file

@ -0,0 +1,2 @@
UDOT V0.2S, V0.8B, V0.8B
UDOT V0.2S, V0.8B, V11.8B

View file

@ -1,3 +1,7 @@
2017-11-09 Tamar Christina <tamar.christina@arm.com>
* opcode/aarch64.h (AARCH64_ARCH_V8_4): Enable DOTPROD.
2017-11-09 Tamar Christina <tamar.christina@arm.com>
* opcode/aarch64.h:

View file

@ -81,7 +81,8 @@ typedef uint32_t aarch64_insn;
| AARCH64_FEATURE_RCPC \
| AARCH64_FEATURE_COMPNUM)
#define AARCH64_ARCH_V8_4 AARCH64_FEATURE (AARCH64_ARCH_V8_3, \
AARCH64_FEATURE_V8_4)
AARCH64_FEATURE_V8_4 \
| AARCH64_FEATURE_DOTPROD)
#define AARCH64_ARCH_NONE AARCH64_FEATURE (0, 0)
#define AARCH64_ANY AARCH64_FEATURE (-1, 0) /* Any basic core. */