This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Big-endian fix for memcpy-armv7m.S


On Dec  9 13:54, Julian Brown wrote:
> Hi,
> 
> I noticed that memcpy-armv7m.S makes assumptions about little-endian
> byte ordering that cause it to get copies with certain sizes/alignments
> wrong in big-endian mode. We hit this with a "generic profile" ARMv7
> big-endian multilib, but I guess anyone trying to run an M-profile chip
> in big-endian mode (if such things exist) could hit the same problem.
> 
> I've tested this with (caveat, somewhat experimental!) QEMU patches:
> 
> http://lists.nongnu.org/archive/html/qemu-devel/2016-12/msg00972.html
> 
> running under the GCC testsuite with an ARMv7 big-endian multilib, and
> results show a positive delta for about 15 tests (e.g.
> gcc.c-torture/execute/memcpy-2.c, gcc.c-torture/execute/pr65369.c).
> 
> OK to apply?

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]