fabs.S revision 93000
1321369Sdim/*- 2303231Sdim * Copyright (c) 1990 The Regents of the University of California. 3353358Sdim * All rights reserved. 4353358Sdim * 5353358Sdim * This code is derived from software contributed to Berkeley by 6303231Sdim * William Jolitz. 7303231Sdim * 8303231Sdim * Redistribution and use in source and binary forms, with or without 9303231Sdim * modification, are permitted provided that the following conditions 10303231Sdim * are met: 11303231Sdim * 1. Redistributions of source code must retain the above copyright 12303231Sdim * notice, this list of conditions and the following disclaimer. 13303231Sdim * 2. Redistributions in binary form must reproduce the above copyright 14303231Sdim * notice, this list of conditions and the following disclaimer in the 15303231Sdim * documentation and/or other materials provided with the distribution. 16321369Sdim * 3. All advertising materials mentioning features or use of this software 17303231Sdim * must display the following acknowledgement: 18303231Sdim * This product includes software developed by the University of 19303231Sdim * California, Berkeley and its contributors. 20314564Sdim * 4. Neither the name of the University nor the names of its contributors 21303231Sdim * may be used to endorse or promote products derived from this software 22303231Sdim * without specific prior written permission. 23303231Sdim * 24303231Sdim * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25303231Sdim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26321369Sdim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27321369Sdim * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 28314564Sdim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29314564Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30303231Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31303231Sdim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32321369Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33321369Sdim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34303231Sdim * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_SCCS) && !defined(lint) 38 .asciz "@(#)fabs.s 5.2 (Berkeley) 12/17/90" 39#endif /* LIBC_SCCS and not lint */ 40#include <machine/asm.h> 41__FBSDID("$FreeBSD: head/lib/libc/i386/gen/fabs.S 93000 2002-03-23 02:44:19Z obrien $"); 42 43ENTRY(fabs) 44 fldl 4(%esp) 45 fabs 46 ret 47