Revert "ARM: Use explicit remainder in __mesabi_uldiv call."
This reverts commit 7706fa7b80210f1439914a51ef74eb2a7a69fe6e.
This commit is contained in:
parent
6359069607
commit
67cfa52e44
|
@ -369,13 +369,10 @@
|
||||||
`(,(string-append "push___%" r0))
|
`(,(string-append "push___%" r0))
|
||||||
(armv4:call-label #f "__mesabi_idiv" 2))
|
(armv4:call-label #f "__mesabi_idiv" 2))
|
||||||
;; __mesabi_uldiv(a, b, remainderp)
|
;; __mesabi_uldiv(a, b, remainderp)
|
||||||
(append `(("push___%r3") ; slot for remainder
|
(cons* `(,(string-append "push___0"))
|
||||||
("mov____%esp,%r3")
|
`(,(string-append "push___%" r1))
|
||||||
("push___%r3") ; pointer to remainder
|
`(,(string-append "push___%" r0))
|
||||||
(,(string-append "push___%" r1))
|
(armv4:call-label #f "__mesabi_uldiv" 3)))))
|
||||||
(,(string-append "push___%" r0)))
|
|
||||||
(armv4:call-label #f "__mesabi_uldiv" 3)
|
|
||||||
`(("pop____%r3"))))))
|
|
||||||
|
|
||||||
(define (armv4:r0%r1 info signed?)
|
(define (armv4:r0%r1 info signed?)
|
||||||
(let ((r0 (get-r0 info))
|
(let ((r0 (get-r0 info))
|
||||||
|
|
Loading…
Reference in New Issue