tiny optimizations from evilspy

This commit is contained in:
David Anderson 2006-02-22 01:36:29 +00:00
parent 484014e2db
commit 635d18de92
6 changed files with 55 additions and 55 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1412,7 +1412,7 @@ OP_FLOAT_MUL:
add esi,4
fld dword [edi+ecx+4]
fmul dword [edi+ecx+8]
push dword 0
sub esp,4
fstp dword [esp]
pop eax
GO_ON
@ -1421,7 +1421,7 @@ OP_FLOAT_DIV:
add esi,4
fld dword [edi+ecx+4]
fdiv dword [edi+ecx+8]
push dword 0
sub esp,4
fstp dword [esp]
pop eax
GO_ON
@ -1430,7 +1430,7 @@ OP_FLOAT_ADD:
add esi,4
fld dword [edi+ecx+4]
fadd dword [edi+ecx+8]
push dword 0
sub esp,4
fstp dword [esp]
pop eax
GO_ON
@ -1439,7 +1439,7 @@ OP_FLOAT_SUB:
add esi,4
fld dword [edi+ecx+4]
fsub dword [edi+ecx+8]
push dword 0
sub esp, 4
fstp dword [esp]
pop eax
GO_ON
@ -1447,7 +1447,7 @@ OP_FLOAT_SUB:
OP_FLOAT_TO:
add esi,4
fild dword [edi+ecx+4]
push 0
sub esp,4
fstp dword [esp]
pop eax
GO_ON

View File

@ -1896,7 +1896,7 @@ OP_FLOAT_MUL:
j_float_mul:
fld dword [esi+4]
fmul dword [esi+8]
push dword 0
sub esp, 4
fstp dword [esp]
pop eax
CHECKCODESIZE j_float_mul
@ -1906,7 +1906,7 @@ OP_FLOAT_DIV:
j_float_div:
fld dword [esi+4]
fdiv dword [esi+8]
push dword 0
sub esp, 4
fstp dword [esp]
pop eax
CHECKCODESIZE j_float_div
@ -1916,7 +1916,7 @@ OP_FLOAT_ADD:
j_float_add:
fld dword [esi+4]
fadd dword [esi+8]
push dword 0
sub esp, 4
fstp dword [esp]
pop eax
CHECKCODESIZE j_float_add
@ -1926,7 +1926,7 @@ OP_FLOAT_SUB:
j_float_sub:
fld dword [esi+4]
fsub dword [esi+8]
push dword 0
sub esp, 4
fstp dword [esp]
pop eax
CHECKCODESIZE j_float_sub
@ -1935,7 +1935,7 @@ OP_FLOAT_TO:
GO_ON j_float_to, OP_FLOAT_ROUND
j_float_to:
fild dword [esi+4]
push 0
sub esp, 4
fstp dword [esp]
pop eax
CHECKCODESIZE j_float_to