aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2020-04-11 11:51:41 +0200
committerUros Bizjak <ubizjak@gmail.com>2020-04-11 11:51:41 +0200
commitf883c46b4877f637e0fa5025b4d6b5c9040ec566 (patch)
tree75961caccb7a0f16d375b0f11add6a89034697c4 /gcc/tree-ssa.c
parentbb87d5cc77db1f28083990f44e20b6c0728d925e (diff)
downloadgcc-f883c46b4877f637e0fa5025b4d6b5c9040ec566.zip
gcc-f883c46b4877f637e0fa5025b4d6b5c9040ec566.tar.gz
gcc-f883c46b4877f637e0fa5025b4d6b5c9040ec566.tar.bz2
i386: Fix REDUC_SSE_SMINMAX_MODE mode conditions.
V4SI, V8HI and V16QI modes of redux_<code>_scal_<mode> expander expand with SSE2 instructions (PSRLDQ and PCMPGTx) so use TARGET_SSE2 as relevant mode iterator codition. PR target/94494 * config/i386/sse.md (REDUC_SSE_SMINMAX_MODE): Use TARGET_SSE2 condition for V4SI, V8HI and V16QI modes. testsuite/ChangeLog: PR target/94494 * gcc.target/i386/pr94494.c: New test.
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions