i386.c (ix86_expand_clrmem): Move gen_cld down to the places where it is actually...
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Aug 2004 10:17:14 +0000 (12:17 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Aug 2004 10:17:14 +0000 (12:17 +0200)
commit6b32b6286bcc158ec954b458576d50bcd7ed5df3
tree921579deec711673c464f2e0a1bfb3050a1f4db1
parent6797f908eec82d7ead4ca65eb970868c7489f244
i386.c (ix86_expand_clrmem): Move gen_cld down to the places where it is actually needed.

* config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to
the places where it is actually needed.  Don't use repz; stosb
for -Os with sufficiently small constant sizes.
For sufficiently small repz; stos{l,q} repeat counts use a sequence
of stos{l,q} instructions instead.

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