qemu-devel
[Top][All Lists]
Advanced

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

Re: [1/1] tcg/mips: Fix SoftTLB comparison on mips backend


From: Richard Henderson
Subject: Re: [1/1] tcg/mips: Fix SoftTLB comparison on mips backend
Date: Thu, 1 Apr 2021 22:31:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/1/21 3:04 AM, Kele Huang wrote:
The addrl used to compare with SoftTLB entry should be sign-extended
in common case, and it will cause constant failing in SoftTLB
comparisons for the addrl whose address is over 0x80000000 on the
emulation of 32-bit guest on 64-bit host.

This is an important performance bug fix. Spec2000 gzip rate increase
from ~45 to ~140 on Loongson 3A4000 (MIPS compatible platform).

Signed-off-by: Kele Huang<kele.hwang@gmail.com>
---
  tcg/mips/tcg-target.c.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Queued, thanks.


r~



reply via email to

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