s_expm1.S revision 1.1
11.1Sjtc/*-
21.1Sjtc * Copyright (c) 1990 The Regents of the University of California.
31.1Sjtc * All rights reserved.
41.1Sjtc *
51.1Sjtc * This code is derived from software contributed to Berkeley by
61.1Sjtc * the Systems Programming Group of the University of Utah Computer
71.1Sjtc * Science Department.
81.1Sjtc *
91.1Sjtc * Redistribution and use in source and binary forms, with or without
101.1Sjtc * modification, are permitted provided that the following conditions
111.1Sjtc * are met:
121.1Sjtc * 1. Redistributions of source code must retain the above copyright
131.1Sjtc *    notice, this list of conditions and the following disclaimer.
141.1Sjtc * 2. Redistributions in binary form must reproduce the above copyright
151.1Sjtc *    notice, this list of conditions and the following disclaimer in the
161.1Sjtc *    documentation and/or other materials provided with the distribution.
171.1Sjtc * 3. All advertising materials mentioning features or use of this software
181.1Sjtc *    must display the following acknowledgement:
191.1Sjtc *	This product includes software developed by the University of
201.1Sjtc *	California, Berkeley and its contributors.
211.1Sjtc * 4. Neither the name of the University nor the names of its contributors
221.1Sjtc *    may be used to endorse or promote products derived from this software
231.1Sjtc *    without specific prior written permission.
241.1Sjtc *
251.1Sjtc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
261.1Sjtc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
271.1Sjtc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
281.1Sjtc * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
291.1Sjtc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
301.1Sjtc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
311.1Sjtc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
321.1Sjtc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
331.1Sjtc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
341.1Sjtc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
351.1Sjtc * SUCH DAMAGE.
361.1Sjtc */
371.1Sjtc
381.1Sjtc#include <machine/asm.h>
391.1Sjtc
401.1Sjtc	.data
411.1Sjtc	.align 2
421.1Sjtc;_sccsid:
431.1Sjtc;.asciz	"from: @(#)expm1.s	5.1 (Berkeley) 5/17/90"
441.1Sjtc_rcsid:
451.1Sjtc.asciz	"$Id: s_expm1.S,v 1.1 1994/02/11 18:20:54 jtc Exp $"
461.1Sjtc
471.1SjtcENTRY(expm1)
481.1Sjtc	fetoxm1d	sp@(4),fp0
491.1Sjtc	fmoved	fp0,sp@-
501.1Sjtc	movel	sp@+,d0
511.1Sjtc	movel	sp@+,d1
521.1Sjtc	rts
53