re PR target/70799 (STV pass does not convert DImode shifts)
authorIlya Enkovich <ilya.enkovich@intel.com>
Tue, 10 May 2016 16:08:42 +0000 (16:08 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Tue, 10 May 2016 16:08:42 +0000 (16:08 +0000)
commitd067e238cbf20a659f024b342253230b28eb5a7f
tree317727736b5a60a6de6445b45a37dce757feb7b1
parent1e3af2a4e0f65adf5cfb2d4faf48eeab94eff280
re PR target/70799 (STV pass does not convert DImode shifts)

gcc/

PR target/70799
* config/i386/i386.c (dimode_scalar_to_vector_candidate_p): Allow
integer constants.
(dimode_scalar_chain::vector_const_cost): New.
(dimode_scalar_chain::compute_convert_gain): Handle constants.
(dimode_scalar_chain::convert_op): Likewise.
(dimode_scalar_chain::convert_insn): Likewise.

gcc/testsuite/

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

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