x86: optimize pre-AVX512 {,V}PCMPGT* with identical sources
authorJan Beulich <jbeulich@suse.com>
Tue, 4 Jul 2023 15:06:51 +0000 (17:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Jul 2023 15:06:51 +0000 (17:06 +0200)
commit33889538969edd801bdaf5422c863fe2a0b7cf45
tree2dc83d94424162629c181dfae23ff1bc17eda63c
parentb7bd93bc51c49c58d0e9cdddf6b4cc44bc4c76dd
x86: optimize pre-AVX512 {,V}PCMPGT* with identical sources

These are better expressed by the zeroing idiom {,V}PXOR. In some cases
this also results in a shorter encoding.
16 files changed:
gas/config/tc-i386.c
gas/testsuite/gas/i386/optimize-1.d
gas/testsuite/gas/i386/optimize-1.s
gas/testsuite/gas/i386/optimize-1a.d
gas/testsuite/gas/i386/optimize-4.d
gas/testsuite/gas/i386/optimize-5.d
gas/testsuite/gas/i386/x86-64-optimize-2.d
gas/testsuite/gas/i386/x86-64-optimize-2.s
gas/testsuite/gas/i386/x86-64-optimize-2a.d
gas/testsuite/gas/i386/x86-64-optimize-2b.d
gas/testsuite/gas/i386/x86-64-optimize-2c.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-optimize-5.d
gas/testsuite/gas/i386/x86-64-optimize-6.d
gas/testsuite/gas/i386/x86-64.exp
opcodes/i386-opc.tbl
opcodes/i386-tbl.h