1 .allow_index_reg 2 3.macro test_insn mnemonic 4 \mnemonic %xmm2, %xmm4, %xmm2 5 {evex} \mnemonic %xmm2, %xmm4, %xmm2 6 {vex} \mnemonic %xmm2, %xmm4, %xmm2 7 {vex3} \mnemonic %xmm2, %xmm4, %xmm2 8 {vex} \mnemonic (%ecx), %xmm4, %xmm2 9 {vex3} \mnemonic (%ecx), %xmm4, %xmm2 10.endm 11 12 .text 13_start: 14 test_insn vpdpbusd 15 test_insn vpdpwssd 16 test_insn vpdpbusds 17 test_insn vpdpwssds 18 19 .arch .avx_vnni 20 vpdpbusd %xmm2, %xmm4, %xmm2 21