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