qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 94248c: tcg/ppc: Sanitize immediate shifts


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 94248c: tcg/ppc: Sanitize immediate shifts
Date: Wed, 08 Jul 2020 08:45:31 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 94248cfc04dfa08e43aacd9d5bbfba7a47bff671
      
https://github.com/qemu/qemu/commit/94248cfc04dfa08e43aacd9d5bbfba7a47bff671
  Author: Catherine A. Frederick <chocola@animebitch.es>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

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

  Log Message:
  -----------
  tcg/ppc: Sanitize immediate shifts

Sanitize shift constants so that shift operations with
large constants don't generate invalid instructions.

Signed-off-by: Catherine A. Frederick <chocola@animebitch.es>
Message-Id: <20200607211100.22858-1-agrecascino123@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 852f933e482518797f7785a2e017a215b88df815
      
https://github.com/qemu/qemu/commit/852f933e482518797f7785a2e017a215b88df815
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M tcg/tcg-op.c

  Log Message:
  -----------
  tcg: Fix do_nonatomic_op_* vs signed operations

The smin/smax/umin/umax operations require the operands to be
properly sign extended.  Do not drop the MO_SIGN bit from the
load, and additionally extend the val input.

Reviewed-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reported-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200701165646.1901320-1-richard.henderson@linaro.org>


  Commit: cd9557616fe30a1926a57b516ee2ceb07faf1cb7
      
https://github.com/qemu/qemu/commit/cd9557616fe30a1926a57b516ee2ceb07faf1cb7
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M tcg/ppc/tcg-target.inc.c
    M tcg/tcg-op.c

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

Fix for ppc shifts
Fix for non-parallel atomic ops

# gpg: Signature made Mon 06 Jul 2020 19:49:08 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/tags/pull-tcg-20200706:
  tcg: Fix do_nonatomic_op_* vs signed operations
  tcg/ppc: Sanitize immediate shifts

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


Compare: https://github.com/qemu/qemu/compare/eb2c66b10efd...cd9557616fe3



reply via email to

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