11.8Sriastrad/* $NetBSD: s_cos.S,v 1.8 2024/05/07 22:51:19 riastradh Exp $ */
21.1Sis
31.1Sis/*
41.4Sis * FPLSP wrapper for cos
51.7Sriastrad * DO NOT EDIT - this file is automatically generated by:
61.7Sriastrad *
71.8Sriastrad *	NetBSD: makeas.sh,v 1.16 2024/05/07 22:30:16 riastradh Exp
81.1Sis */
91.4Sis
101.4Sis#include <machine/asm.h>
111.4Sis
121.8SriastradWEAK_ALIAS(cos, _cos)
131.8Sriastrad
141.8SriastradENTRY(_cos)
151.4Sis#ifdef __SVR4_ABI__
161.6Sphx	bral PIC_PLT(_C_LABEL(__fplsp060_0068))
171.4Sis#else
181.4Sis	movel %sp@(8),%sp@-
191.4Sis	movel %sp@(8),%sp@-
201.6Sphx	bsrl PIC_PLT(_C_LABEL(__fplsp060_0068))
211.4Sis	fmoved %fp0,%sp@
221.4Sis	movel %sp@+,%d0
231.4Sis	movel %sp@+,%d1
241.4Sis	rts
251.4Sis#endif
261.8SriastradEND(_cos)
27