[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How is address of helper function for slow path calcula
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] How is address of helper function for slow path calculated ? |
Date: |
Wed, 26 Feb 2014 13:58:47 +0000 |
On 26 February 2014 13:46, Gaurav Sharma <address@hidden> 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 is nothing to do with the stack -- it's just setting up the arguments
for the function call. You probably want to find a reference to the x86_64
Linux calling convention which might make the code we're generating
make more sense to you.
-- PMM