re PR target/89902 (ICE: in extract_insn, at recog.c:2310: unrecognizable insn with...
authorUros Bizjak <ubizjak@gmail.com>
Tue, 2 Apr 2019 17:05:59 +0000 (19:05 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 2 Apr 2019 17:05:59 +0000 (19:05 +0200)
commitf401d62362d405ea8751b10581cf8eb5921ff4d8
treea9595a8273801e964addfdbf6bec3f9be84152e0
parent6fb8055edde15e304f77fbac2c2f317a5a44d6e9
re PR target/89902 (ICE: in extract_insn, at recog.c:2310: unrecognizable insn with -mavx512bitalg)

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.

From-SVN: r270102
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70799-4.c [deleted file]
gcc/testsuite/gcc.target/i386/pr70799-5.c [deleted file]
gcc/testsuite/gcc.target/i386/pr89902.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr89903.c [new file with mode: 0644]