Somebody may concisely refer tcg as a disassembler + a compiler (assembler).
I guess your question is how to calculate the value of i386 register
(%r10 in your case, the address for the helper function).
I might be wrong, my understanding is that it is calculated by the
assembler (to generate
On 26 February 2014 13:46, Gaurav Sharma wrote:
> Thanks Peter,
> So, the following instruction only make up the call stack for the function
> call :
>
> 0x2aaade72d120: mov%r14,%rdi
> 0x2aaade72d123: xor%edx,%edx
> 0x2aaade72d125: lea-0x42(%rip),%rcx# 0x2aaade72d0ea
This i
Thanks Peter,
So, the following instruction only make up the call stack for the function
call :
0x2aaade72d120: mov%r14,%rdi
0x2aaade72d123: xor%edx,%edx
0x2aaade72d125: lea-0x42(%rip),%rcx# 0x2aaade72d0ea
Thanks,
Gaurav
On Wed, Feb 26, 2014 at 6:44 PM, Peter Maydell wrote
On 26 February 2014 13:04, Gaurav Sharma wrote:
> Hi,
> I have been trying to trace the for how address translation is done for any
> load/store instructions. I was trying to emulate arm on an x86-64 machine.
> However, i need some clarifications :
> 1. During the slow path, qemu uses helper funct
Hi,
I have been trying to trace the for how address translation is done for any
load/store instructions. I was trying to emulate arm on an x86-64 machine.
However, i need some clarifications :
1. During the slow path, qemu uses helper functions to translate address.
2. This is done by calling the f