diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-07-05 09:40:40 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-07-05 09:40:40 +0200 |
commit | 607613e516670dd817e7467e774ed2e3440bdb21 (patch) | |
tree | 43cf2861c30e0faa19d9f1c4a2956dec89d9e842 /gcc/go | |
parent | 450b9566d5888931aa6f8bee9799c0b60abf75c8 (diff) | |
download | gcc-607613e516670dd817e7467e774ed2e3440bdb21.zip gcc-607613e516670dd817e7467e774ed2e3440bdb21.tar.gz gcc-607613e516670dd817e7467e774ed2e3440bdb21.tar.bz2 |
x86: use VPTERNLOG for further bitwise two-vector operations
All combinations of and, ior, xor, and not involving two operands can be
expressed that way in a single insn.
gcc/
PR target/93768
* config/i386/i386.cc (ix86_rtx_costs): Further special-case
bitwise vector operations.
* config/i386/sse.md (*iornot<mode>3): New insn.
(*xnor<mode>3): Likewise.
(*<nlogic><mode>3): Likewise.
(andor): New code iterator.
(nlogic): New code attribute.
(ternlog_nlogic): Likewise.
gcc/testsuite/
PR target/93768
* gcc.target/i386/avx512-binop-not-1.h: New.
* gcc.target/i386/avx512-binop-not-2.h: New.
* gcc.target/i386/avx512f-orn-si-zmm-1.c: New test.
* gcc.target/i386/avx512f-orn-si-zmm-2.c: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions