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