提交 737b01fc 编写于 作者: C Christophe Leroy 提交者: Scott Wood

powerpc32: Remove one insn in mulhdu

Remove one instruction in mulhdu
Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: NScott Wood <oss@buserror.net>
上级 716fa91d
...@@ -91,17 +91,16 @@ _GLOBAL(mulhdu) ...@@ -91,17 +91,16 @@ _GLOBAL(mulhdu)
addc r7,r0,r7 addc r7,r0,r7
addze r4,r4 addze r4,r4
1: beqlr cr1 /* all done if high part of A is 0 */ 1: beqlr cr1 /* all done if high part of A is 0 */
mr r10,r3
mullw r9,r3,r5 mullw r9,r3,r5
mulhwu r3,r3,r5 mulhwu r10,r3,r5
beq 2f beq 2f
mullw r0,r10,r6 mullw r0,r3,r6
mulhwu r8,r10,r6 mulhwu r8,r3,r6
addc r7,r0,r7 addc r7,r0,r7
adde r4,r4,r8 adde r4,r4,r8
addze r3,r3 addze r10,r10
2: addc r4,r4,r9 2: addc r4,r4,r9
addze r3,r3 addze r3,r10
blr blr
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册