summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-06-23 17:20:01 -0400
committerMatt Turner <mattst88@gmail.com>2017-08-29 15:01:49 -0400
commit4606f68faff1b16734f9379937fc49ae289d4c6e (patch)
treeb3fba5c2240d6d822a6444a4ae2368ed5f79682e
parent4758ce82e66711b1a4557577e30a5f9b88d4a4b5 (diff)
alpha: Fix typo in ev6-copy_user.S
Patch 8525023121de4848b5f0a7d867ffeadbc477774d 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: Richard Henderson <rth@twiddle.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--arch/alpha/lib/copy_user.S2
-rw-r--r--arch/alpha/lib/ev6-copy_user.S7
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/alpha/lib/copy_user.S b/arch/alpha/lib/copy_user.S
index 159f1b7e6e49..c277a1a4383e 100644
--- a/arch/alpha/lib/copy_user.S
+++ b/arch/alpha/lib/copy_user.S
@@ -34,7 +34,7 @@
34 .ent __copy_user 34 .ent __copy_user
35__copy_user: 35__copy_user:
36 .prologue 0 36 .prologue 0
37 and $18,$18,$0 37 mov $18,$0
38 and $16,7,$3 38 and $16,7,$3
39 beq $0,$35 39 beq $0,$35
40 beq $3,$36 40 beq $3,$36
diff --git a/arch/alpha/lib/ev6-copy_user.S b/arch/alpha/lib/ev6-copy_user.S
index 35e6710d0700..954ca03ebebe 100644
--- a/arch/alpha/lib/ev6-copy_user.S
+++ b/arch/alpha/lib/ev6-copy_user.S
@@ -45,9 +45,10 @@
45 # Pipeline info: Slotting & Comments 45 # Pipeline info: Slotting & Comments
46__copy_user: 46__copy_user:
47 .prologue 0 47 .prologue 0
48 andq $18, $18, $0 48 mov $18, $0 # .. .. .. E
49 subq $18, 32, $1 # .. E .. .. : Is this going to be a small copy? 49 subq $18, 32, $1 # .. .. E. .. : Is this going to be a small copy?
50 beq $0, $zerolength # U .. .. .. : U L U L 50 nop # .. E .. ..
51 beq $18, $zerolength # U .. .. .. : U L U L
51 52
52 and $16,7,$3 # .. .. .. E : is leading dest misalignment 53 and $16,7,$3 # .. .. .. E : is leading dest misalignment
53 ble $1, $onebyteloop # .. .. U .. : 1st branch : small amount of data 54 ble $1, $onebyteloop # .. .. U .. : 1st branch : small amount of data