/* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% * * This code is derived from software contributed to Berkeley by * Computer Consoles Inc. */ #if defined(LIBC_SCCS) && !defined(lint) .asciz "@(#)fabs.s 1.4 (Berkeley) 06/01/90" #endif /* LIBC_SCCS and not lint */ #include "DEFS.h" ENTRY(fabs, 0) movl 8(fp),r1 movl 4(fp),r0 bgeq 1f xorl2 $0x80000000,r0 1: ret