aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-10-19 14:31:20 -0400
committerHelge Deller <deller@gmx.de>2018-10-19 16:22:05 -0400
commita45a01160f1d46a3021755a2cf2f433aec008e38 (patch)
treefa7d66e154d4145bf716a80c9c965b09ffe16ce4
parent3847dab77421867fbc77faacb2f377d44e729e1b (diff)
parisc: Use zdep for shlw macro on PA1.1 and PA2.0
The zdep and depw,z mnemonics generate the same code. The assembler will accept the depw,z mnemonic when generating PA 1.x code. The zdep mnemonic is okay when generating PA 2.0 code. This patch changes depw,z to zdep in the current shlw macro, while the binary code will be the same. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: John David Anglin <dave.anglin@bell.net>
-rw-r--r--arch/parisc/include/asm/assembly.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/parisc/include/asm/assembly.h b/arch/parisc/include/asm/assembly.h
index e9c6385ef0d1..c17ec0ee6e7c 100644
--- a/arch/parisc/include/asm/assembly.h
+++ b/arch/parisc/include/asm/assembly.h
@@ -129,15 +129,8 @@
129 .macro debug value 129 .macro debug value
130 .endm 130 .endm
131 131
132
133 /* Shift Left - note the r and t can NOT be the same! */
134 .macro shl r, sa, t
135 dep,z \r, 31-(\sa), 32-(\sa), \t
136 .endm
137
138 /* The PA 2.0 shift left */
139 .macro shlw r, sa, t 132 .macro shlw r, sa, t
140 depw,z \r, 31-(\sa), 32-(\sa), \t 133 zdep \r, 31-(\sa), 32-(\sa), \t
141 .endm 134 .endm
142 135
143 /* And the PA 2.0W shift left */ 136 /* And the PA 2.0W shift left */