Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-10-01 Thread Blue Swirl
On Sun, Sep 25, 2011 at 8:37 PM, Stefan Weil w...@mail.berlios.de wrote: Am 18.09.2011 15:00, schrieb Blue Swirl: On Sun, Sep 18, 2011 at 12:46 PM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sun, Sep 18, 2011 at 10:49 AM, malc av1...@comtv.ru wrote: On Sun, 18

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-25 Thread Stefan Weil
Am 18.09.2011 15:00, schrieb Blue Swirl: On Sun, Sep 18, 2011 at 12:46 PM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sun, Sep 18, 2011 at 10:49 AM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-19 Thread David Gilbert
On 18 September 2011 16:13, Stefan Weil w...@mail.berlios.de wrote: Am 18.09.2011 17:02, schrieb Mulyadi Santosa: Hi :) On Sun, Sep 18, 2011 at 02:59, Stefan Weil w...@mail.berlios.de wrote: Hello, these patches add a new code generator (TCG target) to qemu. I personally congrats you

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-19 Thread Stefan Hajnoczi
On Mon, Sep 19, 2011 at 9:40 AM, David Gilbert david.gilb...@linaro.org wrote: On 18 September 2011 16:13, Stefan Weil w...@mail.berlios.de wrote: Am 18.09.2011 17:02, schrieb Mulyadi Santosa: Hi :) On Sun, Sep 18, 2011 at 02:59, Stefan Weil w...@mail.berlios.de wrote: Hello, these

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-19 Thread David Gilbert
On 19 September 2011 11:20, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Sep 19, 2011 at 9:40 AM, David Gilbert david.gilb...@linaro.org wrote: snip Is it possible to dynamically switch between the two? The two cases I'm thinking of are:  1) Using the interpreter to execute one or

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-19 Thread Mulyadi Santosa
Hi Stefan On Mon, Sep 19, 2011 at 03:15, Stefan Weil w...@mail.berlios.de wrote: Am 18.09.2011 18:39, schrieb Mulyadi Santosa: On Sun, Sep 18, 2011 at 22:13, Stefan Weil w...@mail.berlios.de wrote: So, that interpreter, should it be build inside Qemu too? Or can we use/write external one?

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Blue Swirl
On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil w...@mail.berlios.de wrote: Hello, these patches add a new code generator (TCG target) to qemu. Unlike other tcg target code generators, this one does not generate machine code for some cpu. It generates machine independent bytecode which is

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread malc
On Sun, 18 Sep 2011, Blue Swirl wrote: On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil w...@mail.berlios.de wrote: Hello, these patches add a new code generator (TCG target) to qemu. Unlike other tcg target code generators, this one does not generate machine code for some cpu. It

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Blue Swirl
On Sun, Sep 18, 2011 at 10:49 AM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil w...@mail.berlios.de wrote: Hello, these patches add a new code generator (TCG target) to qemu. Unlike other tcg target code generators,

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread malc
On Sun, 18 Sep 2011, Blue Swirl wrote: On Sun, Sep 18, 2011 at 10:49 AM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil w...@mail.berlios.de wrote: Hello, these patches add a new code generator (TCG target) to qemu.

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Blue Swirl
On Sun, Sep 18, 2011 at 12:46 PM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sun, Sep 18, 2011 at 10:49 AM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sat, Sep 17, 2011 at 7:59 PM, Stefan Weil w...@mail.berlios.de wrote: Hello,

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread malc
On Sun, 18 Sep 2011, Blue Swirl wrote: On Sun, Sep 18, 2011 at 12:46 PM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: [..snip..] All the files in this directory and subdirectories are released under a BSD like license (see header in each file). No other license is

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Blue Swirl
On Sun, Sep 18, 2011 at 1:13 PM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: On Sun, Sep 18, 2011 at 12:46 PM, malc av1...@comtv.ru wrote: On Sun, 18 Sep 2011, Blue Swirl wrote: [..snip..] All the files in this directory and subdirectories are released under a

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Mulyadi Santosa
Hi :) On Sun, Sep 18, 2011 at 02:59, Stefan Weil w...@mail.berlios.de 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

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Stefan Weil
Am 18.09.2011 17:02, schrieb Mulyadi Santosa: Hi :) On Sun, Sep 18, 2011 at 02:59, Stefan Weil w...@mail.berlios.de 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

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Mulyadi Santosa
Hi Stefan... On Sun, Sep 18, 2011 at 22:13, Stefan Weil w...@mail.berlios.de wrote: Its primary purpose was support of new hosts without a native TCG. Thanks for the explanation, I got better picture now. However, still, an interpreter must be ready to grab the bytecode and execute it, right?

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Avi Kivity
On 09/17/2011 10:59 PM, Stefan Weil wrote: Hello, these patches add a new code generator (TCG target) to qemu. Unlike other tcg target code generators, this one does not generate machine code for some cpu. It generates machine independent bytecode which is interpreted later. That's why I

Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-18 Thread Stefan Weil
Am 18.09.2011 18:39, schrieb Mulyadi Santosa: Hi Stefan... On Sun, Sep 18, 2011 at 22:13, Stefan Weil w...@mail.berlios.de wrote: Its primary purpose was support of new hosts without a native TCG. Thanks for the explanation, I got better picture now. However, still, an interpreter must be

[Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine)

2011-09-17 Thread Stefan Weil
Hello, these patches add a new code generator (TCG target) to qemu. Unlike other tcg target code generators, this one does not generate machine code for some cpu. It generates machine independent bytecode which is interpreted later. That's why I called it TCI (tiny code interpreter). I wrote