summaryrefslogtreecommitdiff
path: root/lib/libm/arch/i387/s_significand.S
blob: a4246a7912f81172a15bed8f59dce85609def8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*	$OpenBSD: s_significand.S,v 1.3 2005/08/02 11:17:31 espie Exp $ */
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>

ENTRY(significand)
	fldl	4(%esp)
	fxtract
	fstp	%st(1)
	ret