1*2fbf033eSmartynas/* $OpenBSD: fabs.S,v 1.8 2013/03/28 18:09:38 martynas Exp $ */ 2aeb694e3Smartynas/* $NetBSD: fabs.S,v 1.2 1996/10/17 03:08:05 cgd Exp $ */ 3aeb694e3Smartynas 4aeb694e3Smartynas/* 5aeb694e3Smartynas * Copyright (c) 1994, 1995 Carnegie-Mellon University. 6aeb694e3Smartynas * All rights reserved. 7aeb694e3Smartynas * 8aeb694e3Smartynas * Author: Chris G. Demetriou 9aeb694e3Smartynas * 10aeb694e3Smartynas * Permission to use, copy, modify and distribute this software and 11aeb694e3Smartynas * its documentation is hereby granted, provided that both the copyright 12aeb694e3Smartynas * notice and this permission notice appear in all copies of the 13aeb694e3Smartynas * software, derivative works or modified versions, and any portions 14aeb694e3Smartynas * thereof, and that both notices appear in supporting documentation. 15aeb694e3Smartynas * 16aeb694e3Smartynas * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 17aeb694e3Smartynas * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 18aeb694e3Smartynas * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 19aeb694e3Smartynas * 20aeb694e3Smartynas * Carnegie Mellon requests users of this software to return to 21aeb694e3Smartynas * 22aeb694e3Smartynas * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 23aeb694e3Smartynas * School of Computer Science 24aeb694e3Smartynas * Carnegie Mellon University 25aeb694e3Smartynas * Pittsburgh PA 15213-3890 26aeb694e3Smartynas * 27aeb694e3Smartynas * any improvements or extensions that they make and grant Carnegie the 28aeb694e3Smartynas * rights to redistribute these changes. 29aeb694e3Smartynas */ 30aeb694e3Smartynas 31aeb694e3Smartynas#include <machine/asm.h> 32aeb694e3Smartynas 33*2fbf033eSmartynasSTRONG_ALIAS(fabsl, fabs) 34aeb694e3SmartynasLEAF(fabs, 1) 35aeb694e3Smartynas cpys fzero, fa0, fv0 36aeb694e3Smartynas RET 37aeb694e3SmartynasEND(fabs) 38