move_movables emits same copy insn multiple times

Alexandre Oliva aoliva@redhat.com
Tue Jan 20 03:16:00 GMT 2004


Is there any reason for us to insert a temp copy for every instruction
we copy?  I can't see why this would be the case: it seems that
copying once would be enough.  A bootstrap and regression test on
i686-pc-linux-gnu exposed no regressions, but can anyone think of a
case in which the insns should indeed be emitted within the consec
loops?  If not, ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-loop-move-movables-temp-copy-once.patch
Type: text/x-patch
Size: 2326 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040120/8180daef/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Gcc-patches mailing list