diff options
Diffstat (limited to 'lib/libm/arch/amd64/e_asin.S')
-rw-r--r-- | lib/libm/arch/amd64/e_asin.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/e_asin.S b/lib/libm/arch/amd64/e_asin.S index 44eb4b87256..c132ea34d28 100644 --- a/lib/libm/arch/amd64/e_asin.S +++ b/lib/libm/arch/amd64/e_asin.S @@ -1,4 +1,4 @@ -/* $OpenBSD: e_asin.S,v 1.4 2016/09/12 19:47:01 guenther Exp $ */ +/* $OpenBSD: e_asin.S,v 1.5 2018/07/03 22:43:34 mortimer Exp $ */ /* * Written by J.T. Conklin <jtc@NetBSD.org>. * Public domain. @@ -10,6 +10,7 @@ /* asin = atan (x / sqrt(1 - x^2)) */ ENTRY(asin) + RETGUARD_SETUP(asin, r11) XMM_ONE_ARG_DOUBLE_PROLOGUE fldl ARG_DOUBLE_ONE /* x */ fld %st(0) @@ -19,5 +20,6 @@ ENTRY(asin) fsqrt /* sqrt (1 - x^2) */ fpatan XMM_DOUBLE_EPILOGUE + RETGUARD_CHECK(asin, r11) ret END_STD(asin) |