fabs.S revision 217398
1125733Sgrehan/* 2125733Sgrehan * Copyright (c) 2004 Peter Grehan. 3125733Sgrehan * All rights reserved. 4125733Sgrehan * 5125733Sgrehan * Redistribution and use in source and binary forms, with or without 6125733Sgrehan * modification, are permitted provided that the following conditions 7125733Sgrehan * are met: 8125733Sgrehan * 1. Redistributions of source code must retain the above copyright 9125733Sgrehan * notice, this list of conditions and the following disclaimer. 10125733Sgrehan * 2. Redistributions in binary form must reproduce the above copyright 11125733Sgrehan * notice, this list of conditions and the following disclaimer in the 12125733Sgrehan * documentation and/or other materials provided with the distribution. 13125733Sgrehan * 14125733Sgrehan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15125733Sgrehan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16125733Sgrehan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17125733Sgrehan * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18125733Sgrehan * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19125733Sgrehan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20125733Sgrehan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21125733Sgrehan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22125733Sgrehan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23125733Sgrehan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24125733Sgrehan * SUCH DAMAGE. 25125733Sgrehan */ 26125733Sgrehan 27125733Sgrehan#include <machine/asm.h> 28125733Sgrehan__FBSDID("$FreeBSD: head/lib/libc/powerpc/gen/fabs.S 217398 2011-01-14 11:33:40Z kib $"); 29125733Sgrehan 30125733Sgrehan/* 31125733Sgrehan * double fabs(double) 32125733Sgrehan */ 33125733SgrehanENTRY(fabs) 34125733Sgrehan fabs %f1,%f1 35125733Sgrehan blr 36217398Skib 37217398Skib .section .note.GNU-stack,"",%progbits 38