* [Qemu-devel] question about binary translation on qemu
[not found] <1876928241.4705653.1486475589080.ref@mail.yahoo.com>
@ 2017-02-07 13:53 ` oussema ben khedher
2017-02-08 15:06 ` Frederic Konrad
0 siblings, 1 reply; 2+ messages in thread
From: oussema ben khedher @ 2017-02-07 13:53 UTC (permalink / raw)
To: qemu-devel@nongnu.org
hi
in my academic project i needed to know how qemu exactly translate an arm instruction to the host assembly (in my case x86) so if you can help me to know the function in the source code of qemu that tdo this work
thank you
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] question about binary translation on qemu
2017-02-07 13:53 ` [Qemu-devel] question about binary translation on qemu oussema ben khedher
@ 2017-02-08 15:06 ` Frederic Konrad
0 siblings, 0 replies; 2+ messages in thread
From: Frederic Konrad @ 2017-02-08 15:06 UTC (permalink / raw)
To: oussema ben khedher; +Cc: qemu-devel@nongnu.org
On 02/07/2017 02:53 PM, oussema ben khedher wrote:
> hi
> in my academic project i needed to know how qemu exactly translate an arm instruction to the host assembly (in my case x86) so if you can help me to know the function in the source code of qemu that tdo this work
> thank you
>
Hi,
There is a lot of code involved in the whole translation:
The guest instructions are not directly translated to the host
assembly but they are first translated in some intermediate OPs
(named TCG).
This translation takes place here:
void gen_intermediate_code(CPUARMState *env, TranslationBlock *tb)
In target/arm/translate.c
Fred
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-08 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1876928241.4705653.1486475589080.ref@mail.yahoo.com>
2017-02-07 13:53 ` [Qemu-devel] question about binary translation on qemu oussema ben khedher
2017-02-08 15:06 ` Frederic Konrad
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).