summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-avx-vnni.s
blob: 7f47bf684b38d136a66715e1bd7ea09c46e533e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	.allow_index_reg

.macro test_insn mnemonic
	\mnemonic	 %xmm12, %xmm4, %xmm2
	{evex} \mnemonic %xmm12, %xmm4, %xmm2
	{vex}  \mnemonic %xmm12, %xmm4, %xmm2
	{vex2} \mnemonic %xmm12, %xmm4, %xmm2
	{vex3} \mnemonic %xmm12, %xmm4, %xmm2
	{vex}  \mnemonic (%rcx), %xmm4, %xmm2
	{vex2} \mnemonic (%rcx), %xmm4, %xmm2
	{vex3} \mnemonic (%rcx), %xmm4, %xmm2
	\mnemonic	 %xmm22, %xmm4, %xmm2
.endm

	.text
_start:
	test_insn vpdpbusd
	test_insn vpdpwssd
	test_insn vpdpbusds
	test_insn vpdpwssds

	.arch .avx_vnni
	vpdpbusd	%xmm12, %xmm4, %xmm2