Enhancement for avx-vnni patch
authorCui,Lili <lili.cui@intel.com>
Thu, 15 Oct 2020 02:45:08 +0000 (10:45 +0800)
committerCui,Lili <lili.cui@intel.com>
Fri, 16 Oct 2020 03:37:09 +0000 (11:37 +0800)
commit57392598795ca9a9bae18858bf66b5a62ba1b71f
tree7a4925aee977039e6e849a11b5a6f22a45cdd329
parent51a8a7c2e3cc0730831963651a55d23d1fae624d
Enhancement for avx-vnni patch

1. Rename CpuVEX_PREFIX to PseudoVexPrefix and
   move it from cpu_flags to opcode_modifiers.
2. Delete {vex2} invalid test.
3. Use VexW0 and VexVVVV in the AVX-VNNI instructions.

gas/
* config/tc-i386.c: Move Pseudo Prefix check to match_template.
* testsuite/gas/i386/avx-vnni-inval.l: New file.
* testsuite/gas/i386/avx-vnni-inval.s: Likewise.
* testsuite/gas/i386/avx-vnni.d: Delete invalid {vex2} test.
* testsuite/gas/i386/avx-vnni.s: Likewise.
* testsuite/gas/i386/i386.exp: Add AVX VNNI invalid tests.
* testsuite/gas/i386/x86-64-avx-vnni-inval.l: New file.
* testsuite/gas/i386/x86-64-avx-vnni-inval.s: Likewise.
* testsuite/gas/i386/x86-64-avx-vnni.d: Delete invalid {vex2} test.
* testsuite/gas/i386/x86-64-avx-vnni.s: Likewise.

opcodes/
* i386-opc.tbl: Rename CpuVEX_PREFIX to PseudoVexPrefix
and move it from cpu_flags to opcode_modifiers.
Use VexW0 and VexVVVV in the AVX-VNNI instructions.
* i386-gen.c: Likewise.
* i386-opc.h: Likewise.
* i386-opc.h: Likewise.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
17 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/avx-vnni-inval.l [new file with mode: 0644]
gas/testsuite/gas/i386/avx-vnni-inval.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx-vnni.d
gas/testsuite/gas/i386/avx-vnni.s
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-avx-vnni-inval.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx-vnni-inval.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx-vnni.d
gas/testsuite/gas/i386/x86-64-avx-vnni.s
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h