patch-2.1.101 linux/arch/arm/lib/ll_char_wr.S

Next file: linux/arch/arm/lib/memfastset.S
Previous file: linux/arch/arm/lib/io-ebsa285.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/arm/lib/ll_char_wr.S linux/arch/arm/lib/ll_char_wr.S
@@ -100,13 +100,13 @@
 Lrow8bpplp:	mov	ip, r7, lsr #4
 		ldr	ip, [lr, ip, lsl #2]
 		mul	r4, r2, ip
-		and	ip, r7, #15
-		eor	r4, r3, r4
-		ldr	ip, [lr, ip, lsl #2]
-		mul	ip, r2, ip
-		tst	r1, #7
+		and	ip, r7, #15			@ avoid r4
+		ldr	ip, [lr, ip, lsl #2]		@ avoid r4
+		mul	ip, r2, ip			@ avoid r4
+		eor	r4, r3, r4			@ avoid ip
+		tst	r1, #7				@ avoid ip
+		sub	r0, r0, r5			@ avoid ip
 		eor	ip, r3, ip
-		sub	r0, r0, r5
 		stmia	r0, {r4, ip}
 		LOADREGS(eqfd, sp!, {r4 - r7, pc})
 		sub	r1, r1, #1
@@ -114,13 +114,13 @@
 		mov	ip, r7, lsr #4
 		ldr	ip, [lr, ip, lsl #2]
 		mul	r4, r2, ip
-		and	ip, r7, #15
-		eor	r4, r3, r4
-		ldr	ip, [lr, ip, lsl #2]
-		mul	ip, r2, ip
-		tst	r1, #7
+		and	ip, r7, #15			@ avoid r4
+		ldr	ip, [lr, ip, lsl #2]		@ avoid r4
+		mul	ip, r2, ip			@ avoid r4
+		eor	r4, r3, r4			@ avoid ip
+		tst	r1, #7				@ avoid ip
+		sub	r0, r0, r5			@ avoid ip
 		eor	ip, r3, ip
-		sub	r0, r0, r5
 		stmia	r0, {r4, ip}
 		subne	r1, r1, #1
 		ldrneb	r7, [r6, r1]

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov