summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-07-22 15:08:06 +0000
committermiod <miod@openbsd.org>2004-07-22 15:08:06 +0000
commiteea7ef29c9cc5832ed080d7831e237047462f673 (patch)
treee72e66d39e308ec22fab0e70d23a2f9771131dae
parentUse mutex instead of SIMPLELOCK for locking the tlb shootdown queues (diff)
downloadwireguard-openbsd-eea7ef29c9cc5832ed080d7831e237047462f673.tar.xz
wireguard-openbsd-eea7ef29c9cc5832ed080d7831e237047462f673.zip
Fix a typo and get good results in the process, fixes PR 3830 and passes
Perl's regression test; ok art@
-rw-r--r--lib/libm/arch/amd64/e_acos.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/e_acos.S b/lib/libm/arch/amd64/e_acos.S
index 0c8f20e9a04..286edbb5e92 100644
--- a/lib/libm/arch/amd64/e_acos.S
+++ b/lib/libm/arch/amd64/e_acos.S
@@ -13,7 +13,7 @@ RCSID("$NetBSD: e_acos.S,v 1.8 2003/07/26 19:24:57 salo Exp $")
ENTRY(__ieee754_acos)
XMM_ONE_ARG_DOUBLE_PROLOGUE
fldl ARG_DOUBLE_ONE /* x */
- fld %st(1)
+ fld %st(0)
fmul %st(0) /* x^2 */
fld1
fsubp /* 1 - x^2 */