s_scalbn.S revision 213337
114825Swollman/*
214825Swollman * Copyright (c) 1994 Winning Strategies, Inc.
314825Swollman * All rights reserved.
414825Swollman *
514825Swollman * Redistribution and use in source and binary forms, with or without
614825Swollman * modification, are permitted provided that the following conditions
714825Swollman * are met:
814825Swollman * 1. Redistributions of source code must retain the above copyright
914825Swollman *    notice, this list of conditions and the following disclaimer.
1014825Swollman * 2. Redistributions in binary form must reproduce the above copyright
1114825Swollman *    notice, this list of conditions and the following disclaimer in the
1214825Swollman *    documentation and/or other materials provided with the distribution.
1314825Swollman * 3. All advertising materials mentioning features or use of this software
1414825Swollman *    must display the following acknowledgement:
1514825Swollman *      This product includes software developed by Winning Strategies, Inc.
1614825Swollman * 4. The name of the author may not be used to endorse or promote products
1714825Swollman *    derived from this software without specific prior written permission.
1814825Swollman *
1914825Swollman * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2014825Swollman * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2114825Swollman * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2214825Swollman * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2314825Swollman * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2414825Swollman * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2514825Swollman * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2614825Swollman * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2714825Swollman * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2814825Swollman * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2950477Speter */
3014825Swollman
3114825Swollman/*
3214825Swollman * Written by:
3314825Swollman *	J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
3414825Swollman */
3514825Swollman
3614825Swollman#include <machine/asm.h>
3718444Sbde__FBSDID("$FreeBSD: head/lib/msun/i387/s_scalbn.S 213337 2010-10-01 20:14:36Z dim $")
3818444Sbde
3914825SwollmanENTRY(scalbn)
4014825Swollman	fildl	12(%esp)
4118444Sbde	fldl	4(%esp)
4218444Sbde	fscale
4314825Swollman	fstp	%st(1)
4414825Swollman	ret
4514825SwollmanEND(scalbn)
4614825Swollman