aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.cc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-04-13 00:40:40 +0000
committerAndrew Pinski <apinski@marvell.com>2023-04-19 08:41:40 -0700
commit04a9209dc865dafe3c9615f5c868aa3fd89b96cf (patch)
treed79f1500e73fcaeb167fc68a85df8453cf55c823 /gcc/tree-vect-patterns.cc
parented32ec26697cc77492d094b31a0d2eebc0535644 (diff)
downloadgcc-04a9209dc865dafe3c9615f5c868aa3fd89b96cf.zip
gcc-04a9209dc865dafe3c9615f5c868aa3fd89b96cf.tar.gz
gcc-04a9209dc865dafe3c9615f5c868aa3fd89b96cf.tar.bz2
i386: Add new pattern for zero-extend cmov
After a phiopt change, I got a failure of cmov9.c. The RTL IR has zero_extend on the outside of the if_then_else rather than on the side. Both ways are considered canonical as mentioned in PR 66588. This fixes the failure I got and also adds a testcase which fails before even my phiopt patch but will pass with this patch. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. gcc/ChangeLog: * config/i386/i386.md (*movsicc_noc_zext_1): New pattern. gcc/testsuite/ChangeLog: * gcc.target/i386/cmov10.c: New test. * gcc.target/i386/cmov11.c: New test.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions