patch-2.1.79 linux/arch/sparc/lib/memcpy.S
Next file: linux/arch/sparc/mm/Makefile
Previous file: linux/arch/sparc/kernel/systbls.S
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jan 12 15:15:43 1998
- Orig file:
v2.1.78/linux/arch/sparc/lib/memcpy.S
- Orig date:
Sun Jan 26 02:07:09 1997
diff -u --recursive --new-file v2.1.78/linux/arch/sparc/lib/memcpy.S linux/arch/sparc/lib/memcpy.S
@@ -523,6 +523,15 @@
#endif /* FASTER_REVERSE */
+/* NOTE: This code is executed just for the cases,
+ where %src (=%o1) & 3 is != 0.
+ We need to align it to 4. So, for (%src & 3)
+ 1 we need to do ldub,lduh
+ 2 lduh
+ 3 just ldub
+ so even if it looks weird, the branches
+ are correct here. -jj
+ */
78: /* dword_align */
andcc %o1, 1, %g0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov