patch-2.1.17 linux/include/asm-m68k/string.h
Next file: linux/include/asm-m68k/uaccess.h
Previous file: linux/include/asm-m68k/socket.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Dec 20 11:20:03 1996
- Orig file:
v2.1.16/linux/include/asm-m68k/string.h
- Orig date:
Wed Sep 25 10:47:42 1996
diff -u --recursive --new-file v2.1.16/linux/include/asm-m68k/string.h linux/include/asm-m68k/string.h
@@ -326,7 +326,9 @@
*((unsigned long *)(s))++ = data;
__asm__ __volatile__("1:\t"
+ ".chip 68040\n\t"
"move16 %2@+,%0@+\n\t"
+ ".chip 68k\n\t"
"subqw #8,%2\n\t"
"subqw #8,%2\n\t"
"dbra %1,1b\n\t"
@@ -390,8 +392,10 @@
return memcpy(to, from, count);
__asm__ __volatile__("1:\t"
+ ".chip 68040\n\t"
"move16 %1@+,%0@+\n\t"
"move16 %1@+,%0@+\n\t"
+ ".chip 68k\n\t"
"dbra %2,1b\n\t"
: "=a" (to), "=a" (from), "=d" (tmp)
: "0" (to), "1" (from) , "2" (count / 32 - 1)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov