]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/17886 (variable rotate and unsigned long long rotate should be bette...
authorMark Mitchell <mark@codesourcery.com>
Thu, 29 Sep 2005 03:31:23 +0000 (03:31 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 29 Sep 2005 03:31:23 +0000 (03:31 +0000)
commit0f8594eee973eb004228f171b4649cb3cb9aa536
tree31982fcfb5affaad07795757ddfef347ec078819
parent4bc7cba79582442c601bf69094b351833ad61b76
re PR middle-end/17886 (variable rotate and unsigned long long rotate should be better optimized)

PR 17886
* expmed.c (expand_shift): Move logic to reverse rotation
direction when  rotating by constants ...
* optabs.c (expand_binop): ... here.
* config/i386/i386.md (rotrdi3): Handle 32-bit mode.
(ix86_rotrdi3): New pattern.
(rotldi3): Handle 32-bit mode.
(ix86_rotldi3): New pattern.

From-SVN: r104761
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/expmed.c
gcc/optabs.c