make NAN handling depend on dummy2 parameter

This commit is contained in:
Martin Kroeker 2024-07-19 16:14:55 +02:00 committed by GitHub
parent 2020569705
commit dd6c33d34d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -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