re PR target/36786 (ICE in extract_insn, at recog.c:1990)
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 18 Jul 2008 21:01:59 +0000 (23:01 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 18 Jul 2008 21:01:59 +0000 (23:01 +0200)
commit72ea2555d7e28eacb2248e803d6a5bd96b523215
treea8a0c2387eb83cb793323e9deb36bf624b5da376
parent6b3a665caf8ddc83110639630d7feb021d58ed63
re PR target/36786 (ICE in extract_insn, at recog.c:1990)

PR target/36786
* config/i386/i386.md (x86_64_shift_adj_1): Rename from
x86_64_shift_adj.
(x86_64_shift_adj_2): New expander.
(x86_64_shift_adj_3): Ditto.
* config/i386/i386.c (ix86_split_ashr): Use gen_x86_64_shift_adj_3
to split TImode operands.
(ix86_split_ashl): Use gen_x86_64_shift_adj_2 to split TImode operands.
(ix86_split_lshr): Ditto.

testsuite/ChangeLog:

PR target/36786
* gcc.target/i386/pr36786.c: New test.

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