^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) This file is part of GNU CC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <asm/export.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) .text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) .align 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) .globl __divdi3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) __divdi3:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) save %sp,-104,%sp
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) cmp %i0,0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) bge .LL40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) mov 0,%l4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) mov -1,%l4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) sub %g0,%i1,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) mov %o0,%o5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) subcc %g0,%o0,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) sub %g0,%i0,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) subx %o0,0,%o4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) mov %o4,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) mov %o5,%i1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) .LL40:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) cmp %i2,0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) bge .LL84
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) mov %i3,%o4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) xnor %g0,%l4,%l4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) sub %g0,%i3,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) mov %o0,%o3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) subcc %g0,%o0,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) sub %g0,%i2,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) subx %o0,0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) mov %o2,%i2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) mov %o3,%i3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) mov %i3,%o4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) .LL84:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) cmp %i2,0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) bne .LL45
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) mov %i1,%i3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) cmp %o4,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) bleu .LL46
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) mov %i3,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) mov 32,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) subcc %i0,%o4,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 1: bcs 5f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) sub %i0,%o4,%i0 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) addx %i0,%i0,%i0 ! so this cannot give carry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 2: bne 1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) subcc %i0,%o4,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) bcs 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) b 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) sub %i0,%o4,%i0 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 4: sub %i0,%o4,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 5: addxcc %i0,%i0,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) bcc 2b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) ! Got carry from n. Subtract next step to cancel this carry.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) bne 4b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) sub %i0,%o4,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 3: xnor %o1,0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) b .LL50
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) mov 0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) .LL46:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) cmp %o4,0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) bne .LL85
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) mov %i0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) mov 1,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) mov 0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) wr %g0, 0, %y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) udiv %o0, %o1, %o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) mov %o0,%o4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) mov %i0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) .LL85:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) mov 0,%g3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) mov 32,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) subcc %g3,%o4,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 1: bcs 5f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) sub %g3,%o4,%g3 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) addx %g3,%g3,%g3 ! so this cannot give carry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) 2: bne 1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) subcc %g3,%o4,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) bcs 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) b 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) sub %g3,%o4,%g3 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) 4: sub %g3,%o4,%g3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) 5: addxcc %g3,%g3,%g3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) bcc 2b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) ! Got carry from n. Subtract next step to cancel this carry.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) bne 4b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) addcc %o2,%o2,%o2 ! shift n1n0 and a 0-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) sub %g3,%o4,%g3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 3: xnor %o2,0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) mov %g3,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) mov %i3,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) mov 32,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) subcc %i0,%o4,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 1: bcs 5f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) sub %i0,%o4,%i0 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) addx %i0,%i0,%i0 ! so this cannot give carry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 2: bne 1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) subcc %i0,%o4,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) bcs 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) b 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) sub %i0,%o4,%i0 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 4: sub %i0,%o4,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 5: addxcc %i0,%i0,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) bcc 2b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) ! Got carry from n. Subtract next step to cancel this carry.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) bne 4b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) sub %i0,%o4,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 3: xnor %o1,0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) b .LL86
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) mov %o1,%l1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) .LL45:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) cmp %i2,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) bleu .LL51
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) sethi %hi(65535),%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) b .LL78
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) mov 0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) .LL51:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) or %o0,%lo(65535),%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) cmp %i2,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) bgu .LL58
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) mov %i2,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) cmp %i2,256
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) addx %g0,-1,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) b .LL64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) and %o0,8,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) .LL58:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) sethi %hi(16777215),%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) or %o0,%lo(16777215),%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) cmp %i2,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) bgu .LL64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) mov 24,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) mov 16,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) .LL64:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) srl %o1,%o2,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) sethi %hi(__clz_tab),%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) or %o1,%lo(__clz_tab),%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) ldub [%o0+%o1],%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) add %o0,%o2,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) mov 32,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) subcc %o1,%o0,%o3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) bne,a .LL72
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) sub %o1,%o3,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) cmp %i0,%i2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) bgu .LL74
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) cmp %i3,%o4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) blu .LL78
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) mov 0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) .LL74:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) b .LL78
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) mov 1,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) .LL72:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) sll %i2,%o3,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) srl %o4,%o1,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) or %o2,%o0,%i2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) sll %o4,%o3,%o4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) srl %i0,%o1,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) sll %i0,%o3,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) srl %i3,%o1,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) or %o0,%o1,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) sll %i3,%o3,%i3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) mov %i0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) mov 32,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) subcc %o2,%i2,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 1: bcs 5f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) sub %o2,%i2,%o2 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) addx %o2,%o2,%o2 ! so this cannot give carry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 2: bne 1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) subcc %o2,%i2,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) bcs 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) b 3f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) sub %o2,%i2,%o2 ! this kills msb of n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 4: sub %o2,%i2,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 5: addxcc %o2,%o2,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) bcc 2b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) subcc %g1,1,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) ! Got carry from n. Subtract next step to cancel this carry.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) bne 4b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) sub %o2,%i2,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 3: xnor %o1,0,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) mov %o2,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) wr %g0,%o1,%y ! SPARC has 0-3 delay insn after a wr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) sra %o4,31,%g2 ! Do not move this insn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) and %o1,%g2,%g2 ! Do not move this insn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) andcc %g0,0,%g1 ! Do not move this insn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) mulscc %g1,%o4,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) mulscc %g1,0,%g1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) add %g1,%g2,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) rd %y,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) cmp %o0,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) bgu,a .LL78
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) add %o1,-1,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) bne,a .LL50
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) mov 0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) cmp %o2,%i3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) bleu .LL50
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) mov 0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) add %o1,-1,%o1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) .LL78:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) mov 0,%o2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) .LL50:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) mov %o1,%l1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) .LL86:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) mov %o2,%l0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) mov %l0,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) mov %l1,%i1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) cmp %l4,0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) be .LL81
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) sub %g0,%i1,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) mov %o0,%l3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) subcc %g0,%o0,%g0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) sub %g0,%i0,%o0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) subx %o0,0,%l2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) mov %l2,%i0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) mov %l3,%i1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) .LL81:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) ret
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) restore
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) EXPORT_SYMBOL(__divdi3)