* [Qemu-devel] How TCG works?
@ 2008-04-30 4:10 Jun Koi
2008-04-30 6:43 ` Mulyadi Santosa
0 siblings, 1 reply; 2+ messages in thread
From: Jun Koi @ 2008-04-30 4:10 UTC (permalink / raw)
To: qemu-devel
Hi,
Could somebody explain a bit on how TCG works? Is it true that now we
translate the target CPU insns to TCG, then TCG to host insns in the
final step?
TCG is a backend of C compiler (gcc?), so how C compiler employs it?
Sorry it is tough for someone with no background on compiler to
understand how the whole work.
Many thanks,
Jun
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] How TCG works?
2008-04-30 4:10 [Qemu-devel] How TCG works? Jun Koi
@ 2008-04-30 6:43 ` Mulyadi Santosa
0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2008-04-30 6:43 UTC (permalink / raw)
To: qemu-devel
Hi
On Wed, Apr 30, 2008 at 11:10 AM, Jun Koi <junkoi2004@gmail.com> wrote:
> Hi,
>
> Could somebody explain a bit on how TCG works? Is it true that now we
> translate the target CPU insns to TCG, then TCG to host insns in the
> final step?
>
> TCG is a backend of C compiler (gcc?), so how C compiler employs it?
Start reading http://cvs.savannah.gnu.org/viewvc/qemu/tcg/README?revision=1.4&root=qemu&view=markup
by in general, you're right IMHO. TCG itself is the compiler...
regards,
Mulyadi.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-30 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 4:10 [Qemu-devel] How TCG works? Jun Koi
2008-04-30 6:43 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).