diff options
Diffstat (limited to 'lib/libm/arch/amd64/s_cos.S')
-rw-r--r-- | lib/libm/arch/amd64/s_cos.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/s_cos.S b/lib/libm/arch/amd64/s_cos.S index cb382696914..0b85c58bbe9 100644 --- a/lib/libm/arch/amd64/s_cos.S +++ b/lib/libm/arch/amd64/s_cos.S @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cos.S,v 1.3 2016/09/12 19:47:01 guenther Exp $ */ +/* $OpenBSD: s_cos.S,v 1.4 2018/07/03 22:43:34 mortimer Exp $ */ /* * Written by J.T. Conklin <jtc@NetBSD.org>. * Public domain. @@ -9,6 +9,7 @@ #include "abi.h" ENTRY(cos) + RETGUARD_SETUP(cos, r11) XMM_ONE_ARG_DOUBLE_PROLOGUE fldl ARG_DOUBLE_ONE fcos @@ -27,5 +28,6 @@ ENTRY(cos) fstp %st(1) fcos XMM_DOUBLE_EPILOGUE + RETGUARD_CHECK(cos, r11) ret END_STD(cos) |