Re: [Qemu-devel] Get only TCG code without execution

2012-02-02 Thread Rajat Goyal
is called the > memory model. TCG cannot currently produce these barrier instructions, > and it's not clear if it will ever be able to do so efficiently. > > -- Jamie > -- Rajat Goyal 5th year undergraduate student Master of Technology in Mathematics and Computing - Integrated Program Department of Mathematics IIT Delhi

[Qemu-devel] Get only TCG code without execution

2012-01-15 Thread Rajat Goyal
execute the binary? Any help would be appreciated. -- Rajat Goyal 5th year undergraduate student Integrated Master of Technology Mathematics and Computing Department of Mathematics IIT Delhi

Re: [Qemu-devel] Get only TCG code without execution

2012-01-16 Thread Rajat Goyal
cs for ARM instructions being written by someone else. To test my semantics, I need the corresponding TCG code for several different multi-threaded ARM binaries. Many thanks in anticipation, Rajat. On Mon, Jan 16, 2012 at 8:41 AM, Stefan Hajnoczi wrote: > On Sun, Jan 15, 2012 at 11:09:18PM

Re: [Qemu-devel] Get only TCG code without execution

2012-01-19 Thread Rajat Goyal
7;t > care about the non-determinism of the threading, you might just > as well look at them at an individual instruction or TB level, > in which case a single threaded program is just as good and less > confusing, surely? > > -- PMM > -- Rajat Goyal 5th year undergraduate student Integrated Master of Technology Mathematics and Computing Department of Mathematics IIT Delhi

[Qemu-devel] Switch off use of helper functions

2012-04-04 Thread Rajat Goyal
Is there any way in QEMU to switch off the use of helper functions and make it translate target code to TCG code using only TCG micro-ops and not calls to helper functions? Rajat.

[Qemu-devel] Handling of setend instruction for ARM

2012-04-24 Thread Rajat Goyal
The TCG translation for the ARM setend instruction for user level binaries is empty. A binary which just prints "hello world" but inverts the endianness to big endian at the beginning of main gives a segmentation fault on native ARM but prints out hello world on qemu-arm. So does QEMU continue und

[Qemu-devel] Self-emulation not working on ARM

2012-02-20 Thread Rajat Goyal
Hi All, I tried running this command on ARM "qemu-arm /usr/local/bin/qemu-arm" and it gives 'uncaught target signal 11: segmentation fault'. However, the QEMU manual says QEMU is built for self-emulation. The manual also says that for the same reason, the binary is a shared object file but qemu-ar

Re: [Qemu-devel] arm-linux-user, i386-linux-user: Make QEMU act as TCG compiler

2012-02-23 Thread Rajat Goyal
QEMU as a dynamic translator is already available. This adds extra functionality to QEMU. I needed to do this since I wanted to explore the ARM memory model over TCG micro-operations; so I needed translation of the whole binary and not just the parts which QEMU needs to execute. Don't know if other

Re: [Qemu-devel] arm-linux-user, i386-linux-user: Make QEMU act as TCG compiler

2012-02-23 Thread Rajat Goyal
, I can submit a clean patch which does not break emulation but instead adds a run-time option to generate TCG compilation. I would be grateful if you could let me know. Many thanks in anticipation. With warm regards, Rajat. 2012/2/23 Rajat Goyal > QEMU as a dynamic translator is alre