qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 07c0f6: Hexagon (target/hexagon) fix bug in f


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 07c0f6: Hexagon (target/hexagon) fix bug in fLSBNEW*
Date: Wed, 30 Jun 2021 11:10:12 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 07c0f65385b94bbc8efc398ff82edd05953e39c2
      
https://github.com/qemu/qemu/commit/07c0f65385b94bbc8efc398ff82edd05953e39c2
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M target/hexagon/macros.h
    M target/hexagon/op_helper.c
    M tests/tcg/hexagon/misc.c

  Log Message:
  -----------
  Hexagon (target/hexagon) fix bug in fLSBNEW*

Change fLSBNEW/fLSBNEW0/fLSBNEW1 from copy to "x & 1"
Remove gen_logical_not function
Clean up fLSBNEWNOT to use andi-1 followed by xori-1

Test cases added to tests/tcg/hexagon/misc.c

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1622589584-22571-2-git-send-email-tsimpson@quicinc.com>


  Commit: a5a8d98c8537f022a14bdc70eff12e296431b80f
      
https://github.com/qemu/qemu/commit/a5a8d98c8537f022a14bdc70eff12e296431b80f
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M target/hexagon/gen_tcg.h
    M target/hexagon/imported/encode_pp.def
    M tests/tcg/hexagon/misc.c

  Log Message:
  -----------
  Hexagon (target/hexagon) fix l2fetch instructions

Y4_l2fetch == l2fetch(Rs32, Rt32)
Y5_l2fetch == l2fetch(Rs32, Rtt32)

The semantics for these instructions are present, but the encodings
are missing.

Note that these are treated as nops in qemu, so we add overrides.

Test case added to tests/tcg/hexagon/misc.c

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1622589584-22571-3-git-send-email-tsimpson@quicinc.com>


  Commit: 88725336717ab93a194bd1b100179b6a96983988
      
https://github.com/qemu/qemu/commit/88725336717ab93a194bd1b100179b6a96983988
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M target/hexagon/gen_tcg.h
    M target/hexagon/genptr.c
    M target/hexagon/macros.h

  Log Message:
  -----------
  Hexagon (target/hexagon) cleanup gen_store_conditional[48] functions

Previously the store-conditional code was writing to hex_pred[prednum].
Then, the fGEN_TCG override was reading from there to the destination
variable so that the packet commit logic would handle it properly.

The correct implementation is to write to the destination variable
and don't have the extra read in the override.

Remove the unused arguments from gen_store_conditional[48]

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1622589584-22571-4-git-send-email-tsimpson@quicinc.com>


  Commit: fb858fb76b1b2dfdf64f82669df1270c0c19a033
      
https://github.com/qemu/qemu/commit/fb858fb76b1b2dfdf64f82669df1270c0c19a033
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M target/hexagon/genptr.c
    M target/hexagon/translate.c

  Log Message:
  -----------
  Hexagon (target/hexagon) remove unused TCG variables

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1622589584-22571-5-git-send-email-tsimpson@quicinc.com>


  Commit: d940d468e29bff5eb5669c0dd8f3de0c3de17bfb
      
https://github.com/qemu/qemu/commit/d940d468e29bff5eb5669c0dd8f3de0c3de17bfb
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M target/hexagon/gen_tcg.h
    M target/hexagon/genptr.c
    M target/hexagon/imported/encode_pp.def
    M target/hexagon/macros.h
    M target/hexagon/op_helper.c
    M target/hexagon/translate.c
    M tests/tcg/hexagon/misc.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/quic/tags/pull-hex-20210629' into 
staging

Fixes for bugs found by inspection and internal testing
Tests added to tests/tcg/hexagon/misc.c

# gpg: Signature made Tue 29 Jun 2021 17:50:16 BST
# gpg:                using RSA key 7B0244FB12DE4422
# gpg: Good signature from "Taylor Simpson (Rock on) <tsimpson@quicinc.com>" 
[undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 3635 C788 CE62 B91F D4C5  9AB4 7B02 44FB 12DE 4422

* remotes/quic/tags/pull-hex-20210629:
  Hexagon (target/hexagon) remove unused TCG variables
  Hexagon (target/hexagon) cleanup gen_store_conditional[48] functions
  Hexagon (target/hexagon) fix l2fetch instructions
  Hexagon (target/hexagon) fix bug in fLSBNEW*

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


Compare: https://github.com/qemu/qemu/compare/9faef9450f9b...d940d468e29b



reply via email to

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