https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89902
--- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Tue Apr 2 18:37:14 2019 New Revision: 270104 URL: https://gcc.gnu.org/viewcvs?rev=270104&root=gcc&view=rev Log: PR target/89902 PR target/89903 * config/i386/i386.c (dimode_scalar_to_vector_candidate_p): Return false for variable DImode shifts. (dimode_scalar_chain::compute_convert_gain): Do not handle register count operand in variable DImode shifts. (dimode_scalar_chain::make_vector_copies): Remove support to copy count argument of a variable shift instruction to a vector register. (dimode_scalar_chain::convert_reg): Remove support to convert count argument of a variable shift instruction. testsuite/ChangeLog: PR target/89902 PR target/89903 * gcc.target/i386/pr70799-4.c: Remove. * gcc.target/i386/pr70799-5.c: Remove. * gcc.target/i386/pr89902.c: New test. * gcc.target/i386/pr89903.c: Ditto. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr89902.c branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr89903.c Removed: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr70799-4.c branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr70799-5.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/testsuite/ChangeLog