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