PCSX2 Documentation/PCSX2 EE Recompiler: Difference between revisions

Line 16: Line 16:


==== The 3 recompiler phases ====
==== The 3 recompiler phases ====
# The recompilation phase:<br />The purpose is to compile an EE instruction list into an X86 instruction list (also know as an instruction block). Instructions are stored in a buffer called x86Ptr. It can be seen as instruction cache.
# The recompilation phase:<br />The purpose is to compile an EE instruction list into an X86 instruction list (also know as an instruction block). Instructions are stored in a buffer called x86Ptr. It can be seen as an instruction cache.
# The execution phase:<br /> The x86 instruction block will be executed.
# The execution phase:<br /> The x86 instruction block will be executed.
# The pause phase:<br > The purpose is to emulate the others HW block (VU, GIF, DMA etc..) In particular EE interrupts are handled here.
# The pause phase:<br > The purpose is to emulate the others HW block (VU, GIF, DMA etc..) In particular EE interrupts are handled here.
ninja
56

edits