diff options
author | Torbjorn Granlund <tege@gnu.org> | 1996-07-07 22:03:19 +0000 |
---|---|---|
committer | Torbjorn Granlund <tege@gnu.org> | 1996-07-07 22:03:19 +0000 |
commit | f3f69b6800b6959bf0ec5456c31b36e1909e5c4b (patch) | |
tree | 5d2c81360c4b359874ac43d77063d21581b9a553 | |
parent | 122a73f6ff217314a8f638089df426c504860cf7 (diff) | |
download | gcc-f3f69b6800b6959bf0ec5456c31b36e1909e5c4b.zip gcc-f3f69b6800b6959bf0ec5456c31b36e1909e5c4b.tar.gz gcc-f3f69b6800b6959bf0ec5456c31b36e1909e5c4b.tar.bz2 |
(__udivsi3): Use faster tstw instead of btst.
From-SVN: r12407
-rw-r--r-- | gcc/config/m68k/lb1sf68.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m68k/lb1sf68.asm b/gcc/config/m68k/lb1sf68.asm index 92d08ec..23c1373 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 */ |