On Sat, 18 Mar 2023 at 23:54, 沈梦姣 wrote:
>
>
> Thanks Peter
>
> > 在 2023年3月19日,上午2:52,Peter Maydell 写道:
> >
> > On Fri, 17 Mar 2023 at 21:01, 沈梦姣 wrote:
> >> TCG knows what registers may be clobbered by a call into
> >> host C code (this is set up in the tcg_target_call_clobber_regs
> >> regset
Thanks Peter
> 在 2023年3月19日,上午2:52,Peter Maydell 写道:
>
> On Fri, 17 Mar 2023 at 21:01, 沈梦姣 wrote:
>> TCG knows what registers may be clobbered by a call into
>> host C code (this is set up in the tcg_target_call_clobber_regs
>> regset by code in tcg_target_init()), so the register allocator
On Fri, 17 Mar 2023 at 21:01, 沈梦姣 wrote:
> TCG knows what registers may be clobbered by a call into
> host C code (this is set up in the tcg_target_call_clobber_regs
> regset by code in tcg_target_init()), so the register allocator
> will either avoid using those registers
>
> Look at tcg_target_r
Thanks Peter
> 在 2023年3月18日,上午12:18,Peter Maydell 写道:
>
> On Fri, 17 Mar 2023 at 15:17, 沈梦姣 wrote:
>>
>> Hi,
>> When generating host code, sometimes it has to jmp to qemu common
>> code(e.g. memory management code to get host virtual address), but
>> it seems before the jmp the caller saved
On Fri, 17 Mar 2023 at 15:17, 沈梦姣 wrote:
>
> Hi,
> When generating host code, sometimes it has to jmp to qemu common
> code(e.g. memory management code to get host virtual address), but
> it seems before the jmp the caller saved registers haven’t been
> pushed to stack, qemu common code is functio
Hi,
When generating host code, sometimes it has to jmp to qemu common code(e.g.
memory management code to get host virtual address), but it seems before the
jmp the caller saved registers haven’t been pushed to stack, qemu common code
is function so it can use caller saved registers.
Does I miss