OSDN Git Service

(__udivsi3): Use faster tstw instead of btst.
authortege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jul 1996 22:03:19 +0000 (22:03 +0000)
committertege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jul 1996 22:03:19 +0000 (22:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12407 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/m68k/lb1sf68.asm

index 92d08ec..23c1373 100644 (file)
@@ -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 */