re PR target/70799 (STV pass does not convert DImode shifts)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 11 Dec 2016 18:59:07 +0000 (19:59 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 11 Dec 2016 18:59:07 +0000 (19:59 +0100)
commit8c7cc1a98ff3834ac2e0a57533c08d123aeebd81
treec6056bb1d9d7da9a3538d31b3a9e61536ddac192
parenta1f7d967aa8425806836bdf291cacecb8a636df0
re PR target/70799 (STV pass does not convert DImode shifts)

PR target/70799
* config/i386/i386.c (dimode_scalar_to_vector_candidate_p)
<case ASHIFT, case LSHIFTRT>: Consider all constant shifts.
Add FIXME comment.
(dimode_scalar_chain::compute_convert_gain): Reduce gain for
constant shifts larger or equal than 32.

testsuite/ChangeLog:

PR target/70799
* gcc.target/i386/pr70799-3.c: New test.

From-SVN: r243530
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70799-3.c [new file with mode: 0644]