fabs.S revision 103296
117749Spst/*- 217749Spst * Copyright (c) 2002 by Thomas Moestl <tmm@FreeBSD.org>. 317749Spst * All rights reserved. 417749Spst * 517749Spst * Redistribution and use in source and binary forms, with or without 617749Spst * modification, are permitted provided that the following conditions 717749Spst * are met: 817749Spst * 1. Redistributions of source code must retain the above copyright 917749Spst * notice, this list of conditions and the following disclaimer. 1017749Spst * 2. Redistributions in binary form must reproduce the above copyright 1117749Spst * notice, this list of conditions and the following disclaimer in the 1217749Spst * documentation and/or other materials provided with the distribution. 1317749Spst * 1417749Spst * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1517749Spst * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1617749Spst * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1717749Spst * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 18214518Srpaulo * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 1917749Spst * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 2017749Spst * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 2117749Spst * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2217749Spst * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 2317749Spst * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2417749Spst * 2517749Spst * $FreeBSD: head/lib/libc/sparc64/gen/fabs.S 103296 2002-09-13 16:01:26Z tmm $ 2617749Spst */ 2717749Spst 2817749Spst#include <machine/asm.h> 2917749Spst__FBSDID("$FreeBSD: head/lib/libc/sparc64/gen/fabs.S 103296 2002-09-13 16:01:26Z tmm $"); 3017749Spst 3117749Spst/* 3217749Spst * double fabs(double); 3317749Spst */ 3417749SpstENTRY(fabs) 3517749Spst retl 3617749Spst fabsd %f0, %f0 3717749SpstEND(fabs) 38127667Sbms