OSDN Git Service

2005-05-06 Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2005 19:31:13 +0000 (19:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2005 19:31:13 +0000 (19:31 +0000)
commit8b7880c6081da586d2778eebe17ee49102f81806
treea8c4fe03058504b928f111c7c07e133341661d9e
parent92d8416900af8d367c84f0238772f2e76455abd0
2005-05-06  Denis Vlasenko  <vda@port.imtp.ilyichevsk.odessa.ua>
    Jakub Jelinek  <jakub@redhat.com>

PR target/21329
* config/i386/i386.c (ix86_expand_movmem): Don't use rep; movsb
for -Os if (movsl;)*(movsw;)?(movsb;)? sequence is shorter.
Don't use rep; movs{l,q} if the repetition count is really small,
instead use a sequence of movs{l,q} instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99330 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c