Documentation/TCG

From QEMU
Revision as of 15:12, 15 August 2013 by Agraf (talk | contribs)

Tiny Code Generator (TCG)

The Tiny Code Generator (TCG) exists to transform target insns (the processor being emulated) via the TCG frontend to TCG ops which are then transformed into host insns (the processor executing QEMU itself) via the TCG backend.

People who wish to port QEMU to run on a new processor need to be concerned with the backend. Although this whole exercise might be obsoleted by the TCI (TCG Interpreter) effort.

People who wish to port QEMU to emulate a new processor need to be concerned with the frontend.