From: Torbjorn Granlund Date: Sun, 7 Jul 1996 22:03:19 +0000 (+0000) Subject: (__udivsi3): Use faster tstw instead of btst. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3f69b6800b6959bf0ec5456c31b36e1909e5c4b;p=gcc.git (__udivsi3): Use faster tstw instead of btst. From-SVN: r12407 --- diff --git a/gcc/config/m68k/lb1sf68.asm b/gcc/config/m68k/lb1sf68.asm index 92d08ec968f..23c1373d5e6 100644 --- 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 */