x86: Properly set YMM/ZMM features
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Jul 2020 17:33:25 +0000 (10:33 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Jul 2020 17:33:43 +0000 (10:33 -0700)
commit39776b1117bdbdc34eb46151edc8e09eecce1530
tree15716b073961fbec542d624a6830a9af24b89253
parentfc238d4a066cdb1a979475ffdf5bd45cdb8a00f0
x86: Properly set YMM/ZMM features

Since VEX/EVEX vector instructions will always update the full YMM/ZMM
registers, set YMM/ZMM features for VEX/EVEX vector instructions.

* config/tc-i386.c (output_insn): Set YMM/ZMM features for
VEX/EVEX vector instructions.
* testsuite/gas/i386/property-4.d: New file.
* testsuite/gas/i386/property-4.s: Likewise.
* testsuite/gas/i386/property-5.d: Likewise.
* testsuite/gas/i386/property-5.s: Likewise.
* testsuite/gas/i386/x86-64-property-4.d: Likewise.
* testsuite/gas/i386/x86-64-property-5.d: Likewise.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/property-4.d [new file with mode: 0644]
gas/testsuite/gas/i386/property-4.s [new file with mode: 0644]
gas/testsuite/gas/i386/property-5.d [new file with mode: 0644]
gas/testsuite/gas/i386/property-5.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-property-4.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-property-5.d [new file with mode: 0644]