1 #include <linux/types.h>
3 void * memcpy(void * to
, const void * from
, size_t n
)
13 const char *cfrom
= from
;
19 if (n
> 2 && (long) to
& 2)
22 const short *sfrom
= from
;
32 const long *lfrom
= from
;
34 __asm__
__volatile__("movel %2,%3\n\t"
38 "jmp %%pc@(1f,%3:w:2)\n\t"
53 : "=a" (lfrom
), "=a" (lto
), "=d" (temp
),
55 : "0" (lfrom
), "1" (lto
), "2" (temp
)
63 const short *sfrom
= from
;
71 const char *cfrom
= from
;