qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [7094] target-mips: don't map zero register as a TCG gl


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [7094] target-mips: don't map zero register as a TCG global
Date: Wed, 15 Apr 2009 16:45:03 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Apr 12, 2009 at 10:35:45PM +0100, Stuart Brady wrote:
> On Sat, Apr 11, 2009 at 06:43:20PM +0000, Aurelien Jarno wrote:
> > target-mips: don't map zero register as a TCG global
> 
> Just wondering, would it make some small sense to initialise cpu_gpr[0]
> to something?  For instance:
> 
>     TCGV_UNUSED(cpu_gpr[0]);
> 

I did the change mostly to detect wrong use of this register (like it
was before my optimisations commits, hopefully only in read mode). You
are right that to correctly detect it, we should use this macro. This is
fixed in the SVN.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net




reply via email to

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