[U-Boot] [PATCH] arm: enable unaligned access on ARMv7
Wolfgang Denk
wd at denx.de
Tue Jun 26 00:02:59 CEST 2012
Dear Aneesh V,
In message <4FE8DCE7.7090700 at ti.com> you wrote:
>
> > What is the (non-contrived) problem to which allowing mis-aligned
> > accesses would be a solution?
>
> memcpy() when there is a mismatch in the alignment of source and
> destination buffers. Let's say the source buffer is 4 byte aligned
> but the destination buffer is only 2 byte aligned. I believe relaxed
> alignment requirements will help in writing an accelerated memcpy
> routine for this case.
If memcpy() has problems with handling such a situation, then clearly
memcpy() needs fixing.
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
"I dislike companies that have a we-are-the-high-priests-of-hardware-
so-you'll-like-what-we-give-you attitude. I like commodity markets in
which iron-and-silicon hawkers know that they exist to provide fast
toys for software types like me to play with..." - Eric S. Raymond
More information about the U-Boot
mailing list