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 12 WEAK_ALIAS(logb, _logb) 13 14 ENTRY(_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 26 END(_logb) 27