repo.or.cz
/
freebsd-src
/
fkvm-freebsd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git]
/
lib
/
msun
/
amd64
/
e_remainderf.S
blob
ad3b59e84de898e57c334706fe9947846f9ad06a
1
/*
2
* Based on the i387 version written by J.T. Conklin <jtc@netbsd.org>.
3
* Public domain.
4
*/
5
6
#include <machine/asm.h>
7
8
RCSID("from: $NetBSD: e_remainderf.S,v 1.2 1995/05/08 23:49:47 jtc Exp $")
9
__FBSDID("$FreeBSD$")
10
11
ENTRY(remainderf)
12
movss %xmm0,-4(%rsp)
13
movss %xmm1,-8(%rsp)
14
flds -8(%rsp)
15
flds -4(%rsp)
16
1: fprem1
17
fstsw %ax
18
testw $0x400,%ax
19
jne 1b
20
fstps -4(%rsp)
21
movss -4(%rsp),%xmm0
22
fstp %st
23
ret