diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2020-04-11 11:51:41 +0200 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2020-04-11 11:51:41 +0200 |
commit | f883c46b4877f637e0fa5025b4d6b5c9040ec566 (patch) | |
tree | 75961caccb7a0f16d375b0f11add6a89034697c4 /gcc/tree-ssa.c | |
parent | bb87d5cc77db1f28083990f44e20b6c0728d925e (diff) | |
download | gcc-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