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
Fixed compatibility of output.
[AROS.git]
/
arch
/
m68k-all
/
libgcc1
/
_gesf2.s
blob
16123492b3c205a7c69764d438b43dafeae4cf70
1
.text
2
.even
3
.globl __gesf2
4
5
__gesf2
:
6
moveml
%
sp@
(
4
),%
d0-
%
d1 | get u
and
v
7
tstl
%
d1 | check sign bit
8
bpl L_1
9
negl
%
d1 | negate
10
eorl
#0x80000000,%d1 | toggle sign bit
11
L_1
:
12
tstl
%
d0 | check sign bit
13
bpl L_2
14
negl
%
d0 | negate
15
eorl
#0x80000000,%d0 | toggle sign bit
16
L_2
:
17
cmpl
%
d1
,%
d0
18
sge
%
d0
19
andl
#1,%d0
20
subql
#1,%d0
21
rts