8 void *memcpy(void *dst
, const void *src
, size_t n
)
14 asm volatile ("cld ; rep ; movsl ; movl %3,%0 ; rep ; movsb":"+c" (nl
),
17 #elif defined(__x86_64__)
19 asm volatile ("cld ; rep ; movsq ; movl %3,%%ecx ; rep ; movsb":"+c"
20 (nq
), "+S"(p
), "+D"(q
)
21 :"r"((uint32_t) (n
& 7)));