[U-Boot] [PATCH] arm: enable unaligned access on ARMv7

Wolfgang Denk
2012-06-25T22:02:59Z

Dear Aneesh V,

In message <4FE8DCE7.7090700@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