1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00

* sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.

2003-03-21  Alexandre Oliva  <aoliva@redhat.com>

	* sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
	* sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
This commit is contained in:
Alexandre Oliva
2003-03-21 19:44:24 +00:00
parent 5d13bfc0c0
commit ee7b703635
5 changed files with 237 additions and 32 deletions

View File

@@ -21,12 +21,7 @@
#include <endian.h>
/* void *memcpy(void *s1, const void *s2, size_t n);
This routine could be optimized further for MIPS64, but this is left
as an exercise for the future. When it is done, the file should be kept
as a sisterfile to this one, and placed in the sysdeps/mips/mips64
directory. */
/* void *memcpy(void *s1, const void *s2, size_t n); */
#if __BYTE_ORDER == __BIG_ENDIAN
# define LWHI lwl /* high part is left in big-endian */
@@ -40,19 +35,6 @@
# define SWLO swl /* low part is left in little-endian */
#endif
#ifndef t0
# define t0 a4
#endif
#ifndef t1
# define t1 a5
#endif
#ifndef t2
# define t2 a6
#endif
#ifndef t3
# define t3 a7
#endif
ENTRY (memcpy)
.set noreorder