linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* memmove broken
@ 2003-07-03 17:20 Joakim Tjernlund
  2003-07-04  6:17 ` Paul Mackerras
  0 siblings, 1 reply; 15+ messages in thread
From: Joakim Tjernlund @ 2003-07-03 17:20 UTC (permalink / raw)
  To: Linuxppc-Dev@Lists. Linuxppc. Org


Hi

I just tried to used memmove in zlib(zlib_inflate_fast) to avoid expensive
byte copies. That didn't work and the reason is that the ppc memmove can handle
overlapping memory it seems.

memmove(dst, dst-x, n) where x is between 1 and 39, n >= x will cause corruption for me.

  Jocke


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-07-07 13:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-03 17:20 memmove broken Joakim Tjernlund
2003-07-04  6:17 ` Paul Mackerras
2003-07-04  8:32   ` Joakim Tjernlund
2003-07-04  9:37     ` Paul Mackerras
2003-07-04 11:07       ` Joakim Tjernlund
2003-07-04 23:38         ` Paul Mackerras
2003-07-05  7:21           ` Jörn Engel
2003-07-05  9:55             ` Holger Bettag
2003-07-05 13:01             ` Paul Mackerras
2003-07-05 14:57               ` Joakim Tjernlund
2003-07-05 17:01               ` Jörn Engel
2003-07-07 10:32                 ` Joakim Tjernlund
2003-07-07 12:06                   ` Jörn Engel
2003-07-07 12:58                     ` Joakim Tjernlund
2003-07-07 13:16                       ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).