projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44eeb9b
)
parisc: Fix wrong comment for shr macro
author
Helge Deller
<deller@gmx.de>
Tue, 17 May 2022 15:01:12 +0000
(17:01 +0200)
committer
Helge Deller
<deller@gmx.de>
Mon, 23 May 2022 11:44:24 +0000
(13:44 +0200)
The comment that the source and target register can not be the same is
wrong. Instead on PA2.0 usage of extru can clobber upper 32-bits.
This patch fixes the comment.
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/assembly.h
patch
|
blob
|
history
diff --git
a/arch/parisc/include/asm/assembly.h
b/arch/parisc/include/asm/assembly.h
index ea0cb318b13d23ad11aa42cef988a4098ce36451..be784b41048c7ca0534414b91fc28a179ae33f7d 100644
(file)
--- a/
arch/parisc/include/asm/assembly.h
+++ b/
arch/parisc/include/asm/assembly.h
@@
-143,7
+143,7
@@
depd,z \r, 63-(\sa), 64-(\sa), \t
.endm
- /* Shift Right
- note the r and t can NOT be the same!
*/
+ /* Shift Right
for 32-bit. Clobbers upper 32-bit on PA2.0.
*/
.macro shr r, sa, t
extru \r, 31-(\sa), 32-(\sa), \t
.endm