Added code generation for :
- TEST immediate - register versions of NOT and NEG - fixed shift versions of SHL, SHR and SAR - MOVZX and MOVSX - LEA - CMP with memory destination - JL, JNL, JLE, JNLE, JBE, JNBE
This commit is contained in:
parent
6d95f00c36
commit
9061c5d2fc
8 changed files with 683 additions and 36 deletions
|
|
@ -1249,7 +1249,6 @@ void exec386(int cycs)
|
|||
}
|
||||
else
|
||||
{
|
||||
int dirty = 0;
|
||||
uint32_t phys_addr = get_phys(cs+pc);
|
||||
int hash = HASH(phys_addr);
|
||||
codeblock_t *block = codeblock_hash[hash];
|
||||
|
|
@ -1297,14 +1296,12 @@ void exec386(int cycs)
|
|||
}
|
||||
}
|
||||
|
||||
if (valid_block && !dirty)
|
||||
if (valid_block)
|
||||
{
|
||||
void (*code)() = (void *)&block->data[BLOCK_START];
|
||||
|
||||
// if (output) pclog("Run block at %04x:%04x %04x %04x %04x %04x %04x %04x ESP=%08x %04x %08x %08x %016llx %08x\n", CS, pc, AX, BX, CX, DX, SI, DI, ESP, BP, get_phys(cs+pc), block->phys, block->page_mask, block->endpc);
|
||||
|
||||
oldcs = CS;
|
||||
oldcpl = CPL;
|
||||
inrecomp=1;
|
||||
code();
|
||||
inrecomp=0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue