re PR target/70799 (STV pass does not convert DImode shifts)
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 8 Nov 2016 19:06:54 +0000 (20:06 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 8 Nov 2016 19:06:54 +0000 (20:06 +0100)
commit90a2ffc01a94fbc41d451847200f580c95ff37fb
tree1ebfe2120a42fc29c87378f1c10d55322ac4fe00
parenteba5aec8e347d75013268de658efa1c7af93123a
re PR target/70799 (STV pass does not convert DImode shifts)

PR target/70799
* config/i386/i386.c (dimode_scalar_to_vector_candidate_p):
Handle ASHIFT and LSHIFTRT.
(dimode_scalar_chain::compute_convert_gain): Ditto.
(dimode_scalar_chain::convert_insn): Ditto.

testsuite/ChangeLog:

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

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