summaryrefslogtreecommitdiff
path: root/lib/libm/arch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/arch')
-rw-r--r--lib/libm/arch/amd64/s_cos.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/s_cos.S b/lib/libm/arch/amd64/s_cos.S
index 0b85c58bbe9..de43b3b07fc 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.4 2018/07/03 22:43:34 mortimer Exp $ */
+/* $OpenBSD: s_cos.S,v 1.5 2018/07/08 12:49:16 mortimer Exp $ */
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
@@ -17,6 +17,7 @@ ENTRY(cos)
andw $0x400,%ax
jnz 1f
XMM_DOUBLE_EPILOGUE
+ RETGUARD_CHECK(cos, r11)
ret
1: fldpi
fadd %st(0)