qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 4e655e: tcg/mips: Fix SoftTLB comparison on m


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 4e655e: tcg/mips: Fix SoftTLB comparison on mips backend
Date: Mon, 05 Apr 2021 11:30:13 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 4e655e3cd80535328794c763681a6aa11a69178f
      
https://github.com/qemu/qemu/commit/4e655e3cd80535328794c763681a6aa11a69178f
  Author: Kele Huang <kele.hwang@gmail.com>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M tcg/mips/tcg-target.c.inc

  Log Message:
  -----------
  tcg/mips: Fix SoftTLB comparison on mips backend

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>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210401100457.191458-1-kele.hwang@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ef951ee33fba780dd6c2b7f8ff25c84c3f87a6b8
      
https://github.com/qemu/qemu/commit/ef951ee33fba780dd6c2b7f8ff25c84c3f87a6b8
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M target/alpha/translate.c

  Log Message:
  -----------
  target/alpha: fix icount handling for timer instructions

This patch handles icount mode for timer read/write instructions,
because it is required to call gen_io_start in such cases.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: 
<161700373035.1135822.16451510827008616793.stgit@pasha-ThinkPad-X280>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ee82c086baaa534d1af26cb8b86e86fb047af918
      
https://github.com/qemu/qemu/commit/ee82c086baaa534d1af26cb8b86e86fb047af918
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M target/alpha/translate.c
    M tcg/mips/tcg-target.c.inc

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210405' into 
staging

tcg/mips tlb lookup fix
target/alpha icount fix

# gpg: Signature made Mon 05 Apr 2021 15:34:06 BST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth-gitlab/tags/pull-tcg-20210405:
  target/alpha: fix icount handling for timer instructions
  tcg/mips: Fix SoftTLB comparison on mips backend

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/25d75c99b2e5...ee82c086baaa



reply via email to

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