mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 19:09:58 +08:00
fd6942ab42
* configure.host: Add support for RX architecture. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/machine/configure.in: Likewise. * libc/include/machine/configure: Regenerate. * libc/machine/rx: New directory. * libc/machine/rx/*: New files to support RX architecture. libgloss: * configure.in: Add support for RX sub-directory. * configure: Regenerate. * rx: New directory. * rx/*: New files to support RX architecture.
11 lines
223 B
ArmAsm
11 lines
223 B
ArmAsm
.file "memcpy.S"
|
|
|
|
.section .text
|
|
.global _memcpy
|
|
.type _memcpy,@function
|
|
_memcpy:
|
|
mov r1, r4 ; Save a copy of DEST
|
|
smovf ; Copy R2 (source) to R1 (dest). Stop after R3 bytes.
|
|
mov r4, r1 ; Return DEST
|
|
rts
|