qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [5157] ppc: fix fpr TCG registers creation


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [5157] ppc: fix fpr TCG registers creation
Date: Thu, 4 Sep 2008 19:06:57 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Sep 04, 2008 at 06:43:18PM +0200, Andreas Färber wrote:
>
> Am 04.09.2008 um 17:49 schrieb Aurelien Jarno:
>
>> Modified: trunk/target-ppc/translate.c
>> ===================================================================
>> --- trunk/target-ppc/translate.c     2008-09-04 14:43:54 UTC (rev 5156)
>> +++ trunk/target-ppc/translate.c     2008-09-04 15:49:12 UTC (rev 5157)
>> @@ -141,11 +141,13 @@
>>         sprintf(p, "fp%d", i);
>>         cpu_fpr[i] = tcg_global_mem_new(TCG_TYPE_I64, TCG_AREG0,
>>                                         offsetof(CPUState, fpr[i]),  
>> p);
>> +        p += (i < 10) ? 4 : 5;
>>
>>         sprintf(p, "avr%dH", i);
>>         cpu_avrh[i] = tcg_global_mem_new(TCG_TYPE_I64, TCG_AREG0,
>
> Ouch, thanks for noticing!
>
> Where would I notice this issue btw? (apart from code review)
>

By looking at the debugging log (-d op)


-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   address@hidden         | address@hidden
   `-    people.debian.org/~aurel32 | www.aurel32.net




reply via email to

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