summaryrefslogtreecommitdiff
path: root/lib/libm/arch/i387/s_significand.S
blob: c24291ff4215e3c6104f548708fd401c41e837de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*	$OpenBSD: s_significand.S,v 1.4 2016/09/12 19:47:02 guenther 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
END(significand)