Module Name: src
Committed By: joerg
Date: Wed Sep 17 11:01:05 UTC 2014
Modified Files:
src/lib/libc/arch/mips/gen: ldexp.S
Log Message:
Use canonical three operand form of add.d.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/arch/mips/gen/ldexp.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/mips/gen/ldexp.S
diff -u src/lib/libc/arch/mips/gen/ldexp.S:1.9 src/lib/libc/arch/mips/gen/ldexp.S:1.10
--- src/lib/libc/arch/mips/gen/ldexp.S:1.9 Mon Dec 14 01:07:42 2009
+++ src/lib/libc/arch/mips/gen/ldexp.S Wed Sep 17 11:01:05 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ldexp.S,v 1.9 2009/12/14 01:07:42 matt Exp $ */
+/* $NetBSD: ldexp.S,v 1.10 2014/09/17 11:01:05 joerg Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
#if 0
RCSID("from: @(#)ldexp.s 8.1 (Berkeley) 6/4/93")
#else
- RCSID("$NetBSD: ldexp.S,v 1.9 2009/12/14 01:07:42 matt Exp $")
+ RCSID("$NetBSD: ldexp.S,v 1.10 2014/09/17 11:01:05 joerg Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -209,7 +209,7 @@ LEAF(ldexp)
bge v1, zero, 1f # should result be negative infinity?
neg.d $f0, $f0 # result is negative infinity
1:
- add.d $f0, $f0 # cause overflow faults if enabled
+ add.d $f0, $f0, $f0 # cause overflow faults if enabled
j ra
9:
mov.d $f0, $f12 # yes, result is just x