summaryrefslogtreecommitdiff
path: root/lib/libm/arch/amd64/s_scalbn.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/arch/amd64/s_scalbn.S')
-rw-r--r--lib/libm/arch/amd64/s_scalbn.S21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/libm/arch/amd64/s_scalbn.S b/lib/libm/arch/amd64/s_scalbn.S
deleted file mode 100644
index 3bdea28efaf..00000000000
--- a/lib/libm/arch/amd64/s_scalbn.S
+++ /dev/null
@@ -1,21 +0,0 @@
-/* $OpenBSD: s_scalbn.S,v 1.3 2009/04/25 11:03:35 martynas Exp $ */
-/*
- * Written by J.T. Conklin <jtc@NetBSD.org>.
- * Public domain.
- */
-
-#include <machine/asm.h>
-
-#include "abi.h"
-
-ENTRY(scalbn)
- movsd %xmm0,-8(%rsp)
- movl %edi,-12(%rsp)
- fildl -12(%rsp)
- fldl -8(%rsp)
- fscale
- fstp %st(1) /* bug fix for fp stack overflow */
- fstpl -8(%rsp)
- movsd -8(%rsp),%xmm0
- ret
-