#include <string.h>
+/* Experimentally off - libc_hidden_proto(memcpy) */
void *memcpy(void *to, const void *from, size_t n)
/* PPC can do pre increment and load/store, but not post increment and load/store.
Therefore use *++ptr instead of *ptr++. */
do {
*++tmp_to = *++tmp_from;
} while (--n);
-
+
return to;
align:
rem = 4 - rem;
goto copy_chunks;
goto lessthan8;
}
-libc_hidden_proto(memcpy)
libc_hidden_def(memcpy)