Documentation/TCG: Difference between revisions

From QEMU
No edit summary
Line 11: Line 11:
* [http://git.qemu.org/?p=qemu.git;a=blob_plain;f=tcg/README;hb=HEAD TCG README]
* [http://git.qemu.org/?p=qemu.git;a=blob_plain;f=tcg/README;hb=HEAD TCG README]
* [https://dl.dropboxusercontent.com/u/8976842/TCG.pdf Slides] and [http://chemnitzer.linux-tage.de/2012/vortraege/1062 recording] of a talk on TCG mechanics
* [https://dl.dropboxusercontent.com/u/8976842/TCG.pdf Slides] and [http://chemnitzer.linux-tage.de/2012/vortraege/1062 recording] of a talk on TCG mechanics
* [http://stackoverflow.com/questions/20675226/qemu-code-flow-instruction-cache-and-tcg StackOverflow answer] showing code flow of a TCG translation

Revision as of 13:44, 23 March 2015

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.