re PR target/78310 (ICE: insn does not satisfy its constraints: {*bmi2_rorxdi3_1...
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 11 Nov 2016 16:21:52 +0000 (17:21 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 11 Nov 2016 16:21:52 +0000 (17:21 +0100)
commitc901bc0d8e9c3b7cd199c141f3ebea16f0201af0
tree2d737faa3cdf675174f69e2533cf75314c5f7748
parent606f928d3805614e8d2307961198706ed9958a76
re PR target/78310 (ICE: insn does not satisfy its constraints: {*bmi2_rorxdi3_1} with -mbmi2)

PR target/78310
* config/i386/i386.md (rotate to rotatex splitter): Avoid overflow
when calculating operand 2.
(rotate to rotatex zext splitter): Ditto.

testsuite/ChangeLog:

PR target/78310
* gcc.target/i386/pr78310.c: New test.

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