On Friday 21 September 2012 01:38:41 Steve Bennett wrote:
--- a/libc/string/microblaze/memcpy.S
+++ b/libc/string/microblaze/memcpy.S
+#ifdef __MICROBLAZEEL__
+ #define BSLLI bsrli
+ #define BSRLI bslli
+#else
+ #define BSLLI bslli
+ #define BSRLI bsrli
+#endif
for
Fix the asm-optimised memcpy and memmove so they
work for little-endian as well as big-endian.
Testing has shown no issues, but I am not a microblaze
asm expert so YMMV.
Signed-off-by: Steve Bennett ste...@workware.net.au
---
libc/string/microblaze/memcpy.S | 128