[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to Disable Fixed Host Register Usage in QEMU TCG ve
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] How to Disable Fixed Host Register Usage in QEMU TCG version |
Date: |
Fri, 17 Apr 2009 22:23:15 +0300 |
On 4/17/09, Prasad <address@hidden> wrote:
>
>
> Hi,
>
> I am trying to disable the use of dedicated host registers for variables
> such as 'env' 'T0' and 'T1'.
> I have tried on 0.9.1 version of QEMU, when I remove register keyword and
> asm(AREG0) in the below line from exec.h
> for env, T0, and T1 everything works fine.
> register CPUARMState *env asm(AREG0)
>
> But with the TCG version things does not seem to work, Can someone guide me,
> how can I do the same with TCG version.
> Waiting for your reply...
This is not possible anymore, at least without heavy modifications to
tcg/hostarch/tcg-target.c (qemu_ld, qemu_st code) and
target-arch/translate.c (creates TCG variables which use AREG0 as base
register).