root/lib/libm/arch/m68060/s_expm1.S
/* $NetBSD: s_expm1.S,v 1.8 2024/05/07 22:51:19 riastradh Exp $ */

/*
 * FPLSP wrapper for expm1
 * DO NOT EDIT - this file is automatically generated by:
 *
 *      NetBSD: makeas.sh,v 1.16 2024/05/07 22:30:16 riastradh Exp
 */

#include <machine/asm.h>

WEAK_ALIAS(expm1, _expm1)

ENTRY(_expm1)
#ifdef __SVR4_ABI__
        bral PIC_PLT(_C_LABEL(__fplsp060_00b0))
#else
        movel %sp@(8),%sp@-
        movel %sp@(8),%sp@-
        bsrl PIC_PLT(_C_LABEL(__fplsp060_00b0))
        fmoved %fp0,%sp@
        movel %sp@+,%d0
        movel %sp@+,%d1
        rts
#endif
END(_expm1)