patch-2.4.7 linux/arch/mips64/lib/memcpy.S

Next file: linux/arch/mips64/lib/memset.S
Previous file: linux/arch/mips64/kernel/unaligned.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/arch/mips64/lib/memcpy.S linux/arch/mips64/lib/memcpy.S
@@ -238,8 +238,10 @@
 	 andi	ta2, a2, 0x40
 
 move_128bytes:
+#if (_MIPS_ISA == _MIPS_ISA_MIPS4)
 	pref	0, 2*128(a0)
 	pref	1, 2*128(a1)
+#endif
 	MOVE_BIGGERCHUNK(a1, a0, 0x00, ta0, ta1, ta3, t0)
 	MOVE_BIGGERCHUNK(a1, a0, 0x40, ta0, ta1, ta3, t0)
 	dsubu	t8, t8, 0x01

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)