make NAN handling depend on dummy2 parameter
This commit is contained in:
parent
2020569705
commit
dd6c33d34d
|
@ -57,19 +57,24 @@
|
||||||
#ifdef XDOUBLE
|
#ifdef XDOUBLE
|
||||||
movl 44(%esp),%edi
|
movl 44(%esp),%edi
|
||||||
movl 48(%esp),%esi
|
movl 48(%esp),%esi
|
||||||
|
movl 64(%esp),%ecx
|
||||||
#elif defined(DOUBLE)
|
#elif defined(DOUBLE)
|
||||||
movl 36(%esp),%edi
|
movl 36(%esp),%edi
|
||||||
movl 40(%esp),%esi
|
movl 40(%esp),%esi
|
||||||
|
movl 56(%esp),%ecx
|
||||||
#else
|
#else
|
||||||
movl 32(%esp),%edi
|
movl 32(%esp),%edi
|
||||||
movl 36(%esp),%esi
|
movl 36(%esp),%esi
|
||||||
|
movl 54(%esp),%ecx
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ftst
|
ftst
|
||||||
fnstsw %ax
|
fnstsw %ax
|
||||||
andb $68, %ah
|
andb $68, %ah
|
||||||
// je .L300 # Alpha != ZERO
|
je .L300 # Alpha != ZERO
|
||||||
jmp .L300
|
|
||||||
|
cmpl $1,%ecx # dummy2 flag
|
||||||
|
je .L300
|
||||||
|
|
||||||
/* Alpha == ZERO */
|
/* Alpha == ZERO */
|
||||||
cmpl $1,%esi
|
cmpl $1,%esi
|
||||||
|
|
Loading…
Reference in New Issue