mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 14:31:48 +01:00
f776d19f07
actually the amd64 version.
21 lines
262 B
ArmAsm
21 lines
262 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
__FBSDID("$FreeBSD$")
|
|
|
|
ENTRY(fmodf)
|
|
flds 8(%esp)
|
|
flds 4(%esp)
|
|
1: fprem
|
|
fstsw %ax
|
|
sahf
|
|
jp 1b
|
|
fstp %st(1)
|
|
ret
|
|
END(fmodf)
|
|
|
|
.section .note.GNU-stack,"",%progbits
|