[PATCH, i386]: Do not emit "cld" instructions

Roger Sayle roger@eyesopen.com
Wed Dec 6 14:31:00 GMT 2006


On Wed, 6 Dec 2006, Jan Hubicka wrote:
> it i need makes rep;movsl quite a bit faster for small blocks!
> Basically we should use rep;movsl on those machines almost always
> for memcpy now, for memset rep;stosl wins after 48bytes up.
> I am testing the attached patch I would like to commit as obvious
> if it passes once CLD autogen is gone.

Cool.  Agreed.  Pre-approved as obvious, now that Uros' cld patch
has been approved.  Thanks again.

Roger
--



More information about the Gcc-patches mailing list