qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)
Date: Sun, 18 Sep 2011 17:13:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Iceowl/1.0b1 Icedove/3.0.11

Am 18.09.2011 17:02, schrieb Mulyadi Santosa:
Hi :)

On Sun, Sep 18, 2011 at 02:59, Stefan Weil <address@hidden> wrote:
Hello,

these patches add a new code generator (TCG target) to qemu.

I personally congrats you for your hard work. So, here's a question
from who are not so keen with Qemu internals: what is the biggest
advantage of using TCI instead of directly using TCG?

TCG with native code support is much faster (6x to 10x),
so for emulation on a supported host, TCI has no advantage
for normal users.

Its primary purpose was support of new hosts without a native
TCG.

In addition, it's easier to trace TCG operations in TCI
than in generated native code, so TCI is really good to
examine code, to test new TCG opcodes, to make statistics
(I did some with Valgrind which now now longer works
thanks to coroutines), to test the influence of TCG parameters
like the number of available registers. I'm sure there are
even more interesting applications for which TCI could be
used.

Cheers,
Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]