Fix logic inversion.

This commit is contained in:
skrll 2013-04-19 05:36:16 +00:00
parent e016df2794
commit 2d688776a6
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
#include <machine/asm.h>
RCSID("$NetBSD: __aeabi_ldivmod.S,v 1.2 2013/04/14 15:53:30 matt Exp $")
RCSID("$NetBSD: __aeabi_ldivmod.S,v 1.3 2013/04/19 05:36:16 skrll Exp $")
ENTRY(__aeabi_ldivmod)
push {r4-r5, sl, lr}
@ -80,9 +80,9 @@ ENTRY(__aeabi_ldivmod)
pop {r2, r3}
tst NEG, #2 /* does remainder need to be negative? */
bleq .Lnegate_b
blne .Lnegate_b
tst NEG, #1 /* does quotient need to be negative? */
bleq .Lnegate_a
blne .Lnegate_a
pop {r4-r5, sl, lr}
RET