i386.c (ix86_expand_ashlsi3_const): New function to expand a left shift by an immedia...
authorRoger Sayle <roger@eyesopen.com>
Fri, 10 Sep 2004 02:32:19 +0000 (02:32 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 10 Sep 2004 02:32:19 +0000 (02:32 +0000)
commit1b83d20963c6db039c6530949db4da9581f86ce9
tree128d865fb09e434370de0a3bdcbdeb884d7c332d
parent903a5059b66d154ec6d064b832d896daf11aacff
i386.c (ix86_expand_ashlsi3_const): New function to expand a left shift by an immediate constant as either an ashl...

* config/i386/i386.c (ix86_expand_ashlsi3_const): New function to
expand a left shift by an immediate constant as either an ashl or
a sequence of additions.
(ix86_split_ashldi): Use new ix86_expand_ashlsi3_const function
instead of calling gen_ashlsi3 with a constant directly.

From-SVN: r87271
gcc/ChangeLog
gcc/config/i386/i386.c