s_cos.S revision 1.8
1/* $NetBSD: s_cos.S,v 1.8 2024/05/07 22:51:19 riastradh Exp $ */
2
3/*
4 * FPLSP wrapper for cos
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(cos, _cos)
13
14ENTRY(_cos)
15#ifdef __SVR4_ABI__
16	bral PIC_PLT(_C_LABEL(__fplsp060_0068))
17#else
18	movel %sp@(8),%sp@-
19	movel %sp@(8),%sp@-
20	bsrl PIC_PLT(_C_LABEL(__fplsp060_0068))
21	fmoved %fp0,%sp@
22	movel %sp@+,%d0
23	movel %sp@+,%d1
24	rts
25#endif
26END(_cos)
27