X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=retrocrawl;a=blobdiff_plain;f=src%2Famiga%2Flibc%2Flibc_asm.s;fp=src%2Famiga%2Flibc%2Flibc_asm.s;h=0000000000000000000000000000000000000000;hp=095c8df648429c6115c111e92cd9efbf7bb2207a;hb=08dc7cfecb35a6893f7f8d96196859593272da3b;hpb=fa6997608f790933b3d4bb9f55d17084f77dfc16 diff --git a/src/amiga/libc/libc_asm.s b/src/amiga/libc/libc_asm.s deleted file mode 100644 index 095c8df..0000000 --- a/src/amiga/libc/libc_asm.s +++ /dev/null @@ -1,24 +0,0 @@ -| vi:filetype=gas68k: - .text - - | optimize: transfer words at a time - .global memcpy -memcpy: - move.l 4(%sp), %a0 - move.l 8(%sp), %a1 - move.l 12(%sp), %d0 - sub.l #1, %d0 -0: move.b (%a1)+, (%a0)+ - dbra %d0, 0b - rts - - | optimize: same as above - .global memset -memset: - move.l 4(%sp), %a0 - move.l 8(%sp), %d1 - move.l 12(%sp), %d0 - sub.l #1, %d0 -0: move.b %d1, (%a0)+ - dbra %d0, 0b - rts