mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-17 08:29:54 +02:00
Meta: Add OpenLibm
This commit is contained in:
21
src/openlibm/i387/s_logb.S
Normal file
21
src/openlibm/i387/s_logb.S
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Written by:
|
||||
* J.T. Conklin (jtc@netbsd.org)
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <i387/bsd_asm.h>
|
||||
//__FBSDID("$FreeBSD: src/lib/msun/i387/s_logb.S,v 1.10 2011/01/07 16:13:12 kib Exp $")
|
||||
|
||||
ENTRY(logb)
|
||||
fldl 4(%esp)
|
||||
fxtract
|
||||
fstp %st
|
||||
ret
|
||||
END(logb)
|
||||
|
||||
|
||||
/* Enable stack protection */
|
||||
#if defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
Reference in New Issue
Block a user