fabs.S revision 256281
1193323Sed/*-
2193323Sed * Copyright (c) 1990 The Regents of the University of California.
3193323Sed * All rights reserved.
4193323Sed *
5193323Sed * This code is derived from software contributed to Berkeley by
6193323Sed * William Jolitz.
7193323Sed *
8193323Sed * Redistribution and use in source and binary forms, with or without
9193323Sed * modification, are permitted provided that the following conditions
10193323Sed * are met:
11193323Sed * 1. Redistributions of source code must retain the above copyright
12193323Sed *    notice, this list of conditions and the following disclaimer.
13193323Sed * 2. Redistributions in binary form must reproduce the above copyright
14198090Srdivacky *    notice, this list of conditions and the following disclaimer in the
15198090Srdivacky *    documentation and/or other materials provided with the distribution.
16193323Sed * 4. Neither the name of the University nor the names of its contributors
17193323Sed *    may be used to endorse or promote products derived from this software
18223017Sdim *    without specific prior written permission.
19206274Srdivacky *
20193323Sed * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21193323Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22193323Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23206274Srdivacky * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24193323Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25193323Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26206274Srdivacky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27206274Srdivacky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28198090Srdivacky * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29199481Srdivacky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30206274Srdivacky * SUCH DAMAGE.
31206274Srdivacky */
32263508Sdim
33206274Srdivacky#if defined(LIBC_SCCS) && !defined(lint)
34193323Sed	.asciz "@(#)fabs.s	5.2 (Berkeley) 12/17/90"
35193323Sed#endif /* LIBC_SCCS and not lint */
36193323Sed#include <machine/asm.h>
37193323Sed__FBSDID("$FreeBSD: stable/10/lib/libc/i386/gen/fabs.S 217106 2011-01-07 16:08:40Z kib $");
38206274Srdivacky
39218893SdimENTRY(fabs)
40206274Srdivacky	fldl	4(%esp)
41206274Srdivacky	fabs
42206274Srdivacky	ret
43206274SrdivackyEND(fabs)
44206274Srdivacky
45206274Srdivacky	.section .note.GNU-stack,"",%progbits
46193323Sed