Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4606f68f authored by Richard Henderson's avatar Richard Henderson Committed by Matt Turner
Browse files

alpha: Fix typo in ev6-copy_user.S



Patch 85250231 introduced a typo.

That said, the identity AND insns added by that patch are more
clearly written as MOV.  At the same time, re-schedule the ev6
version so that the first dispatch can execute in parallel.

Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent 4758ce82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
	.ent __copy_user
__copy_user:
	.prologue 0
	and $18,$18,$0
	mov $18,$0
	and $16,7,$3
	beq $0,$35
	beq $3,$36
+4 −3
Original line number Diff line number Diff line
@@ -45,9 +45,10 @@
				# Pipeline info: Slotting & Comments
__copy_user:
	.prologue 0
	andq $18, $18, $0
	subq $18, 32, $1	# .. E  .. ..	: Is this going to be a small copy?
	beq $0, $zerolength	# U  .. .. ..	: U L U L
	mov $18, $0		# .. .. .. E
	subq $18, 32, $1	# .. .. E. ..	: Is this going to be a small copy?
	nop			# .. E  .. ..
	beq $18, $zerolength	# U  .. .. ..	: U L U L

	and $16,7,$3		# .. .. .. E	: is leading dest misalignment
	ble $1, $onebyteloop	# .. .. U  ..	: 1st branch : small amount of data