Iterate in interpreted mode until a jump is found
This commit is contained in:
parent
37ef4bd7f4
commit
ab0bcf8535
|
@ -539,6 +539,15 @@ static void jit_run_interpreted(int32_t phys_addr)
|
||||||
(*timestamp_counter)++;
|
(*timestamp_counter)++;
|
||||||
run_instruction(opcode | !!*is_32 << 8);
|
run_instruction(opcode | !!*is_32 << 8);
|
||||||
|
|
||||||
|
while(!jit_jump)
|
||||||
|
{
|
||||||
|
previous_ip[0] = instruction_pointer[0];
|
||||||
|
(*timestamp_counter)++;
|
||||||
|
|
||||||
|
int32_t opcode = read_imm8();
|
||||||
|
run_instruction(opcode | !!*is_32 << 8);
|
||||||
|
}
|
||||||
|
|
||||||
profiler_end(P_RUN_INTERPRETED);
|
profiler_end(P_RUN_INTERPRETED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue