.text
FUNC(__mulsi3)
.globl SYM (__mulsi3)
+ .globl SYM (__mulsi3_internal)
+ .hidden SYM (__mulsi3_internal)
SYM (__mulsi3):
+SYM (__mulsi3_internal):
movew sp@(4), d0 /* x0 -> d0 */
muluw sp@(10), d0 /* x0*y1 */
movew sp@(6), d1 /* x1 -> d1 */
.text
FUNC(__udivsi3)
.globl SYM (__udivsi3)
+ .globl SYM (__udivsi3_internal)
+ .hidden SYM (__udivsi3_internal)
SYM (__udivsi3):
+SYM (__udivsi3_internal):
#ifndef __mcoldfire__
movel d2, sp@-
movel sp@(12), d1 /* d1 = divisor */
.text
FUNC(__divsi3)
.globl SYM (__divsi3)
+ .globl SYM (__divsi3_internal)
+ .hidden SYM (__divsi3_internal)
SYM (__divsi3):
+SYM (__divsi3_internal):
movel d2, sp@-
moveq IMM (1), d2 /* sign of result stored in d2 (=1 or =-1) */
L2: movel d1, sp@-
movel d0, sp@-
- PICCALL SYM (__udivsi3) /* divide abs(dividend) by abs(divisor) */
+ PICCALL SYM (__udivsi3_internal) /* divide abs(dividend) by abs(divisor) */
addql IMM (8), sp
tstb d2
movel sp@(4), d0 /* d0 = dividend */
movel d1, sp@-
movel d0, sp@-
- PICCALL SYM (__udivsi3)
+ PICCALL SYM (__udivsi3_internal)
addql IMM (8), sp
movel sp@(8), d1 /* d1 = divisor */
#ifndef __mcoldfire__
movel d1, sp@-
movel d0, sp@-
- PICCALL SYM (__mulsi3) /* d0 = (a/b)*b */
+ PICCALL SYM (__mulsi3_internal) /* d0 = (a/b)*b */
addql IMM (8), sp
#else
mulsl d1,d0
movel sp@(4), d0 /* d0 = dividend */
movel d1, sp@-
movel d0, sp@-
- PICCALL SYM (__divsi3)
+ PICCALL SYM (__divsi3_internal)
addql IMM (8), sp
movel sp@(8), d1 /* d1 = divisor */
#ifndef __mcoldfire__
movel d1, sp@-
movel d0, sp@-
- PICCALL SYM (__mulsi3) /* d0 = (a/b)*b */
+ PICCALL SYM (__mulsi3_internal) /* d0 = (a/b)*b */
addql IMM (8), sp
#else
mulsl d1,d0