summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-01-05 12:16:59 +0000
committervisa <visa@openbsd.org>2019-01-05 12:16:59 +0000
commitb8005832ce088a40f623787f93b8656a949da366 (patch)
treebab85d5959a862a3b728e0039dd98b80c00d1ad1 /lib/libc
parentmatch arm64 and armv7 and print unconfigured simplebus devices on octeon (diff)
downloadwireguard-openbsd-b8005832ce088a40f623787f93b8656a949da366.tar.xz
wireguard-openbsd-b8005832ce088a40f623787f93b8656a949da366.zip
Replace two-operand instruction aliases that clang does not
understand with the three-operand instructions. No binary change with gas.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/mips64/gen/ldexp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/mips64/gen/ldexp.S b/lib/libc/arch/mips64/gen/ldexp.S
index 8844078ceff..914924ff634 100644
--- a/lib/libc/arch/mips64/gen/ldexp.S
+++ b/lib/libc/arch/mips64/gen/ldexp.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.S,v 1.8 2017/10/15 12:07:27 visa Exp $ */
+/* $OpenBSD: ldexp.S,v 1.9 2019/01/05 12:16:59 visa Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -159,7 +159,7 @@ LEAF(ldexp, 0)
bge t3, 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