1 /* Normally compiler builtins are used, but sometimes the compiler calls out
2 of line code. Based on asm-i386/string.h.
5 #include <linux/string.h>
8 void *memmove(void * dest,const void *src,size_t count)
11 __inline_memcpy(dest,src,count);
13 /* Could be more clever and move longs */
14 unsigned long d0, d1, d2;
20 : "=&c" (d0), "=&S" (d1), "=&D" (d2)
22 "1" (count-1+(const char *)src),
23 "2" (count-1+(char *)dest)