projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716fa91
)
powerpc32: Remove one insn in mulhdu
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Tue, 9 Feb 2016 16:08:33 +0000
(17:08 +0100)
committer
Scott Wood
<oss@buserror.net>
Fri, 11 Mar 2016 23:20:12 +0000
(17:20 -0600)
Remove one instruction in mulhdu
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/kernel/misc_32.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/misc_32.S
b/arch/powerpc/kernel/misc_32.S
index
3ec5a22
..
bf5160f
100644
(file)
--- a/
arch/powerpc/kernel/misc_32.S
+++ b/
arch/powerpc/kernel/misc_32.S
@@
-91,17
+91,16
@@
_GLOBAL(mulhdu)
addc r7,r0,r7
addze r4,r4
1: beqlr cr1 /* all done if high part of A is 0 */
- mr r10,r3
mullw r9,r3,r5
- mulhwu r
3
,r3,r5
+ mulhwu r
10
,r3,r5
beq 2f
- mullw r0,r
10
,r6
- mulhwu r8,r
10
,r6
+ mullw r0,r
3
,r6
+ mulhwu r8,r
3
,r6
addc r7,r0,r7
adde r4,r4,r8
- addze r
3,r3
+ addze r
10,r10
2: addc r4,r4,r9
- addze r3,r
3
+ addze r3,r
10
blr
/*