ENTRY(__do_div64)
UNWIND(.fnstart)
+.pushsection .text.__do_div64, "ax"
@ Test for easy paths first.
subs ip, r4, #1
@ Break out early if dividend reaches 0.
2: cmp xh, yl
orrcs yh, yh, ip
- subcss xh, xh, yl
- movnes ip, ip, lsr #1
+ subscs xh, xh, yl
+ movsne ip, ip, lsr #1
mov yl, yl, lsr #1
bne 2b
moveq yh, xh
moveq xh, #0
reteq lr
+.popsection
UNWIND(.fnend)
UNWIND(.fnstart)