fixed serious OP_FLOAT_CMP bug (boy I was tired)
This commit is contained in:
parent
e74ff6a5a4
commit
82693ccae6
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1492,10 +1492,11 @@ OP_FLOAT_CMP:
|
||||||
fld dword [edi+ecx+4]
|
fld dword [edi+ecx+4]
|
||||||
fucompp
|
fucompp
|
||||||
fnstsw ax
|
fnstsw ax
|
||||||
|
fwait
|
||||||
sahf
|
sahf
|
||||||
cmovz eax, [g_flags+4]
|
cmovz eax, [g_flags+4]
|
||||||
cmovg eax, [g_flags+8]
|
cmova eax, [g_flags+8]
|
||||||
cmovl eax, [g_flags+0]
|
cmovb eax, [g_flags+0]
|
||||||
GO_ON
|
GO_ON
|
||||||
|
|
||||||
OP_BREAK:
|
OP_BREAK:
|
||||||
|
|
|
@ -1982,10 +1982,11 @@ OP_FLOAT_CMP:
|
||||||
fld dword [esi+4]
|
fld dword [esi+4]
|
||||||
fucompp
|
fucompp
|
||||||
fnstsw ax
|
fnstsw ax
|
||||||
|
fwait
|
||||||
sahf
|
sahf
|
||||||
cmovz eax, [g_flagsjit+4]
|
cmovz eax, [g_flagsjit+4]
|
||||||
cmovg eax, [g_flagsjit+8]
|
cmova eax, [g_flagsjit+8]
|
||||||
cmovl eax, [g_flagsjit+0]
|
cmovb eax, [g_flagsjit+0]
|
||||||
CHECKCODESIZE j_float_cmp
|
CHECKCODESIZE j_float_cmp
|
||||||
|
|
||||||
OP_INVALID: ; break from the compiler with an error code
|
OP_INVALID: ; break from the compiler with an error code
|
||||||
|
|
|
@ -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)
|
static cell AMX_NATIVE_CALL int3(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#if defined _DEBUG || defined DEBUG
|
||||||
#if defined WIN32
|
#if defined WIN32
|
||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user