fabs.S revision 93000
1227569Sphilip/*- 2227569Sphilip * Copyright (c) 1990 The Regents of the University of California. 3227569Sphilip * All rights reserved. 4227569Sphilip * 5227569Sphilip * This code is derived from software contributed to Berkeley by 6227569Sphilip * William Jolitz. 7227569Sphilip * 8227569Sphilip * Redistribution and use in source and binary forms, with or without 9227569Sphilip * modification, are permitted provided that the following conditions 10227569Sphilip * are met: 11227569Sphilip * 1. Redistributions of source code must retain the above copyright 12227569Sphilip * notice, this list of conditions and the following disclaimer. 13227569Sphilip * 2. Redistributions in binary form must reproduce the above copyright 14227569Sphilip * notice, this list of conditions and the following disclaimer in the 15227569Sphilip * documentation and/or other materials provided with the distribution. 16227569Sphilip * 3. All advertising materials mentioning features or use of this software 17227569Sphilip * must display the following acknowledgement: 18227569Sphilip * This product includes software developed by the University of 19227569Sphilip * California, Berkeley and its contributors. 20227569Sphilip * 4. Neither the name of the University nor the names of its contributors 21227569Sphilip * may be used to endorse or promote products derived from this software 22227569Sphilip * without specific prior written permission. 23227569Sphilip * 24227569Sphilip * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25227569Sphilip * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26228100Sphilip * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27228100Sphilip * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 28228100Sphilip * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29227569Sphilip * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30227569Sphilip * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31227569Sphilip * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32227569Sphilip * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33227569Sphilip * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34227569Sphilip * SUCH DAMAGE. 35227569Sphilip */ 36227569Sphilip 37227569Sphilip#if defined(LIBC_SCCS) && !defined(lint) 38227569Sphilip .asciz "@(#)fabs.s 5.2 (Berkeley) 12/17/90" 39227569Sphilip#endif /* LIBC_SCCS and not lint */ 40227569Sphilip#include <machine/asm.h> 41227569Sphilip__FBSDID("$FreeBSD: head/lib/libc/i386/gen/fabs.S 93000 2002-03-23 02:44:19Z obrien $"); 42227569Sphilip 43227569SphilipENTRY(fabs) 44227569Sphilip fldl 4(%esp) 45227569Sphilip fabs 46227569Sphilip ret 47227569Sphilip