diff options
Diffstat (limited to 'libc/string/powerpc')
-rw-r--r-- | libc/string/powerpc/memcpy.c | 2 | ||||
-rw-r--r-- | libc/string/powerpc/memmove.c | 4 | ||||
-rw-r--r-- | libc/string/powerpc/memset.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libc/string/powerpc/memcpy.c b/libc/string/powerpc/memcpy.c index ed8022313..bcbb806f8 100644 --- a/libc/string/powerpc/memcpy.c +++ b/libc/string/powerpc/memcpy.c @@ -21,7 +21,7 @@ #include <string.h> -libc_hidden_proto(memcpy) +/* 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++. */ diff --git a/libc/string/powerpc/memmove.c b/libc/string/powerpc/memmove.c index 327161116..7a4a7e5ff 100644 --- a/libc/string/powerpc/memmove.c +++ b/libc/string/powerpc/memmove.c @@ -21,9 +21,9 @@ #include <string.h> -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ -libc_hidden_proto(memmove) +/* Experimentally off - libc_hidden_proto(memmove) */ void *memmove(void *to, const void *from, size_t n) { unsigned long rem, chunks, tmp1, tmp2; diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c index 891e0b8aa..d62ec0ee0 100644 --- a/libc/string/powerpc/memset.c +++ b/libc/string/powerpc/memset.c @@ -21,14 +21,14 @@ #include <string.h> -libc_hidden_proto(memset) +/* Experimentally off - libc_hidden_proto(memset) */ static inline int expand_byte_word(int c){ /* this does: c = c << 8 | c; c = c << 16 | c ; */ - asm("rlwimi %0,%0,8,16,23\n" + __asm__("rlwimi %0,%0,8,16,23\n" "\trlwimi %0,%0,16,0,15\n" : "=r" (c) : "0" (c)); return c; |