projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122a73f
)
(__udivsi3): Use faster tstw instead of btst.
author
Torbjorn Granlund
<tege@gnu.org>
Sun, 7 Jul 1996 22:03:19 +0000
(22:03 +0000)
committer
Torbjorn Granlund
<tege@gnu.org>
Sun, 7 Jul 1996 22:03:19 +0000
(22:03 +0000)
From-SVN: r12407
gcc/config/m68k/lb1sf68.asm
patch
|
blob
|
history
diff --git
a/gcc/config/m68k/lb1sf68.asm
b/gcc/config/m68k/lb1sf68.asm
index 92d08ec968ff91df8ae8d4425c6d7effa5fd5aca..23c1373d5e6c95edd900e010f7186614ef76ace6 100644
(file)
--- a/
gcc/config/m68k/lb1sf68.asm
+++ b/
gcc/config/m68k/lb1sf68.asm
@@
-326,7
+326,7
@@
L4: lsrl IMM (1), d1 /* shift divisor */
swap d2
mulu d0, d2 /* high part, at most 17 bits */
swap d2 /* align high part with low part */
-
btst IMM (0), d2
/* high part 17 bits? */
+
tstw d2
/* high part 17 bits? */
jne L5 /* if 17 bits, quotient was too large */
addl d2, d1 /* add parts */
jcs L5 /* if sum is 33 bits, quotient was too large */