diff options
author | 2019-01-05 12:16:59 +0000 | |
---|---|---|
committer | 2019-01-05 12:16:59 +0000 | |
commit | b8005832ce088a40f623787f93b8656a949da366 (patch) | |
tree | bab85d5959a862a3b728e0039dd98b80c00d1ad1 /lib/libc | |
parent | match arm64 and armv7 and print unconfigured simplebus devices on octeon (diff) | |
download | wireguard-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.S | 4 |
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 |