summaryrefslogtreecommitdiff
path: root/lib/libm/arch/amd64/e_atan2f.S
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2018-07-03 22:43:35 +0000
committermortimer <mortimer@cvs.openbsd.org>2018-07-03 22:43:35 +0000
commit8e58489b257b1aa53deea6bd33d90e6de1e2ab94 (patch)
tree94b4dbbda5a790cea831ab3057988e9a68655302 /lib/libm/arch/amd64/e_atan2f.S
parent7172f60910c3353e8a649d297b80d3bcab9cabfe (diff)
Add retguard macros to libm assembly.
ok deraadt
Diffstat (limited to 'lib/libm/arch/amd64/e_atan2f.S')
-rw-r--r--lib/libm/arch/amd64/e_atan2f.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/e_atan2f.S b/lib/libm/arch/amd64/e_atan2f.S
index af9f9bb26f6..a80234a1c76 100644
--- a/lib/libm/arch/amd64/e_atan2f.S
+++ b/lib/libm/arch/amd64/e_atan2f.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: e_atan2f.S,v 1.4 2016/09/12 19:47:01 guenther Exp $ */
+/* $OpenBSD: e_atan2f.S,v 1.5 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(atan2f)
+ RETGUARD_SETUP(atan2f, r11)
XMM_TWO_ARG_FLOAT_PROLOGUE
flds ARG_FLOAT_ONE
flds ARG_FLOAT_TWO
fpatan
XMM_FLOAT_EPILOGUE
+ RETGUARD_CHECK(atan2f, r11)
ret
END_STD(atan2f)