repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle DNS timeouts in old-style lookkup code.
[glibc.git]
/
sysdeps
/
x86_64
/
fpu
/
e_fmodl.S
blob
2967bf224b4cf93c4574a4cc94a29a01088d461a
1
/*
2
* Written by J.T. Conklin <jtc@netbsd.org>.
3
* Public domain.
4
*
5
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
6
* Adapted for x86-64 by Andreas Jaeger <aj@suse.de>.
7
*/
8
9
#include <machine/asm.h>
10
11
RCSID("$NetBSD: $")
12
13
ENTRY(__ieee754_fmodl)
14
fldt 24(%rsp)
15
fldt 8(%rsp)
16
1: fprem
17
fstsw %ax
18
and $04,%ah
19
jnz 1b
20
fstp %st(1)
21
ret
22
END (__ieee754_fmodl)