Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/arm/quad Fix logic inversion.



details:   https://anonhg.NetBSD.org/src/rev/5d3f38e91ccc
branches:  trunk
changeset: 786186:5d3f38e91ccc
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Apr 19 05:36:16 2013 +0000

description:
Fix logic inversion.

diffstat:

 common/lib/libc/arch/arm/quad/__aeabi_ldivmod.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 157edfb16c01 -r 5d3f38e91ccc common/lib/libc/arch/arm/quad/__aeabi_ldivmod.S
--- a/common/lib/libc/arch/arm/quad/__aeabi_ldivmod.S   Fri Apr 19 00:42:53 2013 +0000
+++ b/common/lib/libc/arch/arm/quad/__aeabi_ldivmod.S   Fri Apr 19 05:36:16 2013 +0000
@@ -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 @@
 
        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
 



Home | Main Index | Thread Index | Old Index