Stupid confusion with fdtox and fxtod
This commit is contained in:
parent
150db958da
commit
d0587ef3ab
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#
|
||||||
.global fef8, Fd0
|
.global fef8, Fd0
|
||||||
|
|
||||||
fef8:
|
fef8:
|
||||||
|
@ -14,7 +15,11 @@ fef8:
|
||||||
retl
|
retl
|
||||||
nop
|
nop
|
||||||
1:
|
1:
|
||||||
|
#ifdef __solaris
|
||||||
|
fdtoq %f0,%f0
|
||||||
|
#else
|
||||||
fdtox %f0,%f0
|
fdtox %f0,%f0
|
||||||
|
#endif
|
||||||
st %f0,[%l0+4]
|
st %f0,[%l0+4]
|
||||||
ld [%l0+4],%o0
|
ld [%l0+4],%o0
|
||||||
srl %o0,16,%o0
|
srl %o0,16,%o0
|
||||||
|
@ -39,7 +44,11 @@ fef8:
|
||||||
or %o1,%o0,%o0
|
or %o1,%o0,%o0
|
||||||
st %o0,[%l0+4]
|
st %o0,[%l0+4]
|
||||||
ld [%l0+4],%f0
|
ld [%l0+4],%f0
|
||||||
|
#ifdef __solaris
|
||||||
|
fqtod %f0,%f0
|
||||||
|
#else
|
||||||
fxtod %f0,%f0
|
fxtod %f0,%f0
|
||||||
|
#endif
|
||||||
st %f0,[%l0+4]
|
st %f0,[%l0+4]
|
||||||
st %f1,[%l0+8]
|
st %f1,[%l0+8]
|
||||||
retl
|
retl
|
||||||
|
|
Loading…
Reference in a new issue