[U-Boot] [PATCH V2 1/3] memcpy: copy one word at a time if possible

Wolfgang Denk wd at denx.de
Thu Oct 8 22:47:39 CEST 2009


Dear Alessandro Rubini,

In message <20091008160026.GA9077 at mail.gnudd.com> you wrote:
> > No interest in the suggestion to not require count to be an exact
> > multiple of 4/8?
> 
> Actually, I wrote about that in my patch 0/3.

Hm. Your argument was not exctly convincing, though.

> Currently, I don't even know if this is going to be picked up, so I
> don't want to go too far -- and in that case I would like to measure
> things and be able to test for stupid bugs, so it takes time.
> Scrolling the video is an easy test for memcpy.

Sure this is going to ber picked uyp. And actually the implementation
can be made even simpler doing both.

> If there's interest, there's memmov to fix; it's used pretty often and
> it's the same idea as memcpy (well, scrolling should use memmove,
> in theory).

Volunteers welcome :-)

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Where humor is concerned there are no standards -- no  one  can  say
what is good or bad, although you can be sure that everyone will.
- John Kenneth Galbraith


More information about the U-Boot mailing list