qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 04/10] tcg/mips: don't use global pointer


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 04/10] tcg/mips: don't use global pointer
Date: Fri, 21 Sep 2012 11:18:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0

On 09/21/2012 09:43 AM, Aurelien Jarno wrote:
> Don't use the global pointer in TCG, in case helpers try access global
> variables.

Err.. isn't the GP computed at the entry point of functions that need to use it?

That said, under n32 and n64 abis it is call-saved; under o32 it's 
call-clobbered.
So by itself this is still a fix for new-abis, since we don't save it in the
prologue.  OTOH, this does suggest an alternate solution... ;-)


r~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]