Documentation/TCG

From QEMU
Revision as of 12:01, 5 January 2011 by Vapier (talk | contribs) (start a TCG topic)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.