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 a bug in the divby0 case.



details:   https://anonhg.NetBSD.org/src/rev/1b8af400a63b
branches:  trunk
changeset: 325212:1b8af400a63b
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Dec 12 18:01:14 2013 +0000

description:
Fix a bug in the divby0 case.

diffstat:

 common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 713e99429fdc -r 1b8af400a63b common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S
--- a/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S  Thu Dec 12 17:53:03 2013 +0000
+++ b/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S  Thu Dec 12 18:01:14 2013 +0000
@@ -29,7 +29,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: __aeabi_uldivmod.S,v 1.7 2013/08/19 03:43:07 matt Exp $")
+RCSID("$NetBSD: __aeabi_uldivmod.S,v 1.8 2013/12/12 18:01:14 matt Exp $")
 
 /*
  * typedef struct { unsigned long long quo, rem } ulldiv_t;
@@ -105,7 +105,7 @@
 #else
        mvn     r0, #0
 #endif
-       mvns    r1, r0
+       movs    r1, r0
        bl      PLT_SYM(__aeabi_ldiv0)
        pop     {r2-r4,pc}
 #endif



Home | Main Index | Thread Index | Old Index