repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add place-holder directory for the a3000 wd533c93 scsi controller implementation.
[AROS.git]
/
arch
/
i386-all
/
stdc
/
math
/
e_fmodf.s
blob
fb6547c9bfa76aeb9d989a6590e95d51086e44e8
1
/*
2
* Written by J.T. Conklin <jtc@netbsd.org>.
3
* Public domain.
4
*/
5
6
#include "aros/i386/asm.h"
7
8
.text
9
_ALIGNMENT
10
.globl AROS_CDEFNAME(fmodf)
11
_FUNCTION
(
AROS_CDEFNAME
(
fmodf
))
12
13
.set FirstArg, 4
/* Skip Return-Adress */
14
.set arg_x, FirstArg
15
16
.set SecondArg, 8
/* Skip FirstArg */
17
.set arg_y, SecondArg
18
19
AROS_CDEFNAME
(
fmodf
):
20
flds arg_y
(%
esp
)
21
flds arg_x
(%
esp
)
22
1
:
fprem
23
fstsw
%
ax
24
sahf
25
jp
1
b
26
fstp
%
st
(
1
)
27
ret