re PR target/21329 (optimize i386 block copy)
authorDenis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Fri, 6 May 2005 19:31:13 +0000 (19:31 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 May 2005 19:31:13 +0000 (21:31 +0200)
commit95935e2db5c45bef5631f51538d1e10d8b5b7524
treea8c4fe03058504b928f111c7c07e133341661d9e
parent2b41c040165ff3e5fe42a491f17b9e8a5475afff
re PR target/21329 (optimize i386 block copy)

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.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r99330
gcc/ChangeLog
gcc/config/i386/i386.c