summaryrefslogtreecommitdiff
path: root/lib/libc/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/amd64')
-rw-r--r--lib/libc/arch/amd64/gen/fabs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/amd64/gen/fabs.S b/lib/libc/arch/amd64/gen/fabs.S
index b94e862c1e9..ab31ac612fb 100644
--- a/lib/libc/arch/amd64/gen/fabs.S
+++ b/lib/libc/arch/amd64/gen/fabs.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.S,v 1.1 2004/01/28 01:44:45 mickey Exp $ */
+/* $OpenBSD: fabs.S,v 1.2 2004/02/08 17:29:57 deraadt Exp $ */
/* $NetBSD: fabs.S,v 1.1 2001/06/19 00:25:02 fvdl Exp $ */
#include <machine/asm.h>
@@ -12,6 +12,6 @@ ENTRY(fabs)
movsd %xmm0, -8(%rsp)
fldl -8(%rsp)
fabs
- fstp -8(%rsp)
+ fstpl -8(%rsp)
movsd -8(%rsp),%xmm0
ret