1/* $NetBSD: s_cosf.S,v 1.8 2024/05/07 22:51:19 riastradh Exp $ */
2
3/*
4 * FPLSP wrapper for cosf
5 * DO NOT EDIT - this file is automatically generated by:
6 *
7 *        NetBSD: makeas.sh,v 1.16 2024/05/07 22:30:16 riastradh Exp
8 */
9
10#include <machine/asm.h>
11
12WEAK_ALIAS(cosf, _cosf)
13
14ENTRY(_cosf)
15#ifdef __SVR4_ABI__
16          bral PIC_PLT(_C_LABEL(__fplsp060_0060))
17#else
18          movel %sp@(4),%sp@-
19          bsrl PIC_PLT(_C_LABEL(__fplsp060_0060))
20          fmoves %fp0,%sp@
21          movel %sp@+,%d0
22          rts
23#endif
24END(_cosf)
25