re PR target/81471 (internal compiler error: in curr_insn_transform, at lra-constrain...
authorUros Bizjak <ubizjak@gmail.com>
Tue, 18 Jul 2017 16:10:20 +0000 (18:10 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 18 Jul 2017 16:10:20 +0000 (18:10 +0200)
commite822e8858882b88f33a975849c6474031e28ea08
tree53a86e0f124e72940605c760fa9332507f45ee0e
parent883b0e467ad1e7c9af9131b026b4446d571f3caa
re PR target/81471 (internal compiler error: in curr_insn_transform, at lra-constraints.c:3495)

PR target/81471
* config/i386/i386.md (rorx_immediate_operand): New mode attribute.
(*bmi2_rorx<mode>3_1): Use rorx_immediate_operand as
operand 2 predicate.
(*bmi2_rorxsi3_1_zext): Use const_0_to_31_operand as
operand 2 predicate.
(ror,rol -> rorx splitters): Use const_int_operand as
operand 2 predicate.

testsuite/ChangeLog:

PR target/81471
* gcc.target/i386/pr81471.c: New test.

From-SVN: r250315
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81471.c [new file with mode: 0644]