s_significand.S revision 61335
1258655Sbrooks/*
2244541Sbrooks * Copyright (c) 1993,94 Winning Strategies, Inc.
3244541Sbrooks * All rights reserved.
4244541Sbrooks *
5244541Sbrooks * Redistribution and use in source and binary forms, with or without
6244541Sbrooks * modification, are permitted provided that the following conditions
7244541Sbrooks * are met:
8244541Sbrooks * 1. Redistributions of source code must retain the above copyright
9244541Sbrooks *    notice, this list of conditions and the following disclaimer.
10244541Sbrooks * 2. Redistributions in binary form must reproduce the above copyright
11244541Sbrooks *    notice, this list of conditions and the following disclaimer in the
12244541Sbrooks *    documentation and/or other materials provided with the distribution.
13244541Sbrooks * 3. All advertising materials mentioning features or use of this software
14244541Sbrooks *    must display the following acknowledgement:
15244541Sbrooks *      This product includes software developed by Winning Strategies, Inc.
16244541Sbrooks * 4. The name of the author may not be used to endorse or promote products
17244541Sbrooks *    derived from this software without specific prior written permission
18244541Sbrooks *
19244541Sbrooks * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20244541Sbrooks * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21244541Sbrooks * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22244541Sbrooks * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23244541Sbrooks * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24244541Sbrooks * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25244541Sbrooks * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26244541Sbrooks * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27244541Sbrooks * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28244541Sbrooks * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29244541Sbrooks */
30244541Sbrooks
31244541Sbrooks/*
32244541Sbrooks * Written by:
33244541Sbrooks *	J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
34244541Sbrooks */
35244541Sbrooks
36244541Sbrooks#include <machine/asm.h>
37244541Sbrooks
38244541SbrooksRCSID("$FreeBSD: head/lib/msun/i387/s_significand.S 61335 2000-06-06 12:12:36Z bde $")
39244541Sbrooks
40244541SbrooksENTRY(significand)
41258655Sbrooks	fldl	4(%esp)
42244541Sbrooks	fxtract
43244541Sbrooks	fstp	%st(1)
44244541Sbrooks	ret
45244541Sbrooks