qemu-stable
[Top][All Lists]
Advanced

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

Re: [Qemu-stable] [Qemu-devel] [PATCH] cputlb: Fix regression with TCG i


From: Andreas Färber
Subject: Re: [Qemu-stable] [Qemu-devel] [PATCH] cputlb: Fix regression with TCG interpreter (bug 1310324)
Date: Mon, 28 Apr 2014 20:24:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Am 28.04.2014 19:24, schrieb Richard Henderson:
> On 04/28/2014 10:20 AM, Stefan Weil wrote:
>> Commit 0f842f8a246f2b5b51a11c13f933bf7a90ae8e96 replaced GETPC_EXT() which
>> was derived from GETPC() by GETRA_EXT() without fixing cputlb.c. A later
>> patch replaced GETRA_EXT() by GETRA() in exec/softmmu_template.h which
>> is included in cputlb.c.
>>
>> The TCG interpreter failed because the values returned by GETRA() were no
>> longer explicitly set to 0. The redefinition of GETRA() introduced here
>> fixes this.
>>
>> In addition, GETPC_ADJ which is also used in exec/softmmu_template.h is
>> set to 0. Both changes reduce the compiled code size for cputlb.c by more
>> than 100 bytes, so the normal TCG without interpreter also profits from
>> the reduced code size and slightly faster code.
>>
>> Cc: address@hidden
>> Reported-by: Giovanni Mascellani <address@hidden>
>> Signed-off-by: Stefan Weil <address@hidden>
>> ---
> 
> Reviewed-by: Richard Henderson <address@hidden>

No objections and not too familiar with that part of code myself -
suggest you take it through your tcg tree if no one else objects.

Cheers,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

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