x86: also optimize KXOR{D,Q} and KANDN{D,Q}
authorJan Beulich <jbeulich@novell.com>
Tue, 31 Jul 2018 08:58:05 +0000 (10:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 31 Jul 2018 08:58:05 +0000 (10:58 +0200)
commit1424ad867742286be44932bf29720539add19ae0
tree5461a39c1b53637faccaf9b1abab4cbf85fa8bf1
parentae2387feae3f0798dd77c98a7107fdec38a99fe3
x86: also optimize KXOR{D,Q} and KANDN{D,Q}

These can be converted to 2-byte VEX encoding when both source registers
are the same, by using KXORW / KANDNW as replacement.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/optimize-1.d
gas/testsuite/gas/i386/optimize-1.s
gas/testsuite/gas/i386/optimize-4.d
gas/testsuite/gas/i386/optimize-5.d
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h