arm: lib: Import Thumb1 functions
[oweals/u-boot.git] / arch / arm / lib / div64.S
index 03986c26a9afc0a586eccd8b9b1c7973d86d7b46..a42a0f0a18876893fa89de4748f359ac7e657501 100644 (file)
@@ -88,8 +88,8 @@ UNWIND(.fnstart)
        @ 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