summaryrefslogtreecommitdiff
path: root/lib/libm/arch/amd64/e_acos.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/arch/amd64/e_acos.S')
-rw-r--r--lib/libm/arch/amd64/e_acos.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/e_acos.S b/lib/libm/arch/amd64/e_acos.S
index 01231e67c50..1a6b2cb0f61 100644
--- a/lib/libm/arch/amd64/e_acos.S
+++ b/lib/libm/arch/amd64/e_acos.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: e_acos.S,v 1.5 2016/09/12 19:47:01 guenther Exp $ */
+/* $OpenBSD: e_acos.S,v 1.6 2018/07/03 22:43:34 mortimer Exp $ */
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
@@ -10,6 +10,7 @@
/* acos = atan (sqrt(1 - x^2) / x) */
ENTRY(acos)
+ RETGUARD_SETUP(acos, r11)
XMM_ONE_ARG_DOUBLE_PROLOGUE
fldl ARG_DOUBLE_ONE /* x */
fld %st(0)
@@ -20,5 +21,6 @@ ENTRY(acos)
fxch %st(1)
fpatan
XMM_DOUBLE_EPILOGUE
+ RETGUARD_CHECK(acos, r11)
ret
END(acos)