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