fixed serious OP_FLOAT_CMP bug (boy I was tired)

This commit is contained in:
David Anderson 2006-02-11 21:51:28 +00:00
parent e74ff6a5a4
commit 82693ccae6
7 changed files with 7 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1492,10 +1492,11 @@ OP_FLOAT_CMP:
fld dword [edi+ecx+4]
fucompp
fnstsw ax
fwait
sahf
cmovz eax, [g_flags+4]
cmovg eax, [g_flags+8]
cmovl eax, [g_flags+0]
cmova eax, [g_flags+8]
cmovb eax, [g_flags+0]
GO_ON
OP_BREAK:

View File

@ -1982,10 +1982,11 @@ OP_FLOAT_CMP:
fld dword [esi+4]
fucompp
fnstsw ax
fwait
sahf
cmovz eax, [g_flagsjit+4]
cmovg eax, [g_flagsjit+8]
cmovl eax, [g_flagsjit+0]
cmova eax, [g_flagsjit+8]
cmovb eax, [g_flagsjit+0]
CHECKCODESIZE j_float_cmp
OP_INVALID: ; break from the compiler with an error code

View File

@ -3468,7 +3468,7 @@ static cell AMX_NATIVE_CALL find_plugin_byfile(AMX *amx, cell *params)
static cell AMX_NATIVE_CALL int3(AMX *amx, cell *params)
{
#ifdef DEBUG
#if defined _DEBUG || defined DEBUG
#if defined WIN32
__asm
{