qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 246ae2: tcg: add separate monitor command to


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 246ae2: tcg: add separate monitor command to dump opcode c...
Date: Wed, 17 Dec 2014 11:30:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 246ae24d7df47f05d7b102f9c84e00b536eadc43
      
https://github.com/qemu/qemu/commit/246ae24d7df47f05d7b102f9c84e00b536eadc43
  Author: Max Filippov <address@hidden>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M include/exec/cpu-all.h
    M monitor.c
    M tcg/tcg.c
    M tcg/tcg.h
    M translate-all.c

  Log Message:
  -----------
  tcg: add separate monitor command to dump opcode counters

Currently 'info jit' outputs half of the information to monitor and the
rest to qemu log. Dumping opcode counts to monitor as a part of 'info
jit' command doesn't sound useful. Add new monitor command 'info
opcount' that only dumps opcode counters.

Signed-off-by: Max Filippov <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>


  Commit: 01673a3401614b4199c9946ad47b97bedfc7a7c2
      
https://github.com/qemu/qemu/commit/01673a3401614b4199c9946ad47b97bedfc7a7c2
  Author: Max Filippov <address@hidden>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M target-xtensa/translate.c

  Log Message:
  -----------
  target-xtensa: fix translation for opcodes crossing page boundary

If TB ends with an opcode that crosses page boundary and the following
page is not executable then EPC1 for the code fetch exception wrongly
points at the beginning of the TB. Always treat instruction that crosses
page boundary as a separate TB.

Cc: address@hidden
Signed-off-by: Max Filippov <address@hidden>


  Commit: 85d36377e4ff8b98119420099d445369bfd6b7bb
      
https://github.com/qemu/qemu/commit/85d36377e4ff8b98119420099d445369bfd6b7bb
  Author: Max Filippov <address@hidden>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M tests/tcg/xtensa/test_mmu.S

  Log Message:
  -----------
  target-xtensa: test cross-page opcode

Alter cross-page TB test to also test cross-page opcode.

Signed-off-by: Max Filippov <address@hidden>


  Commit: 2db59a76c421cdd1039d10e32a9798952d3ff5ba
      
https://github.com/qemu/qemu/commit/2db59a76c421cdd1039d10e32a9798952d3ff5ba
  Author: Max Filippov <address@hidden>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M target-xtensa/cpu.h
    M target-xtensa/helper.h
    M target-xtensa/op_helper.c
    M target-xtensa/translate.c

  Log Message:
  -----------
  target-xtensa: record available window in TB flags

Record last valid 4-register window pane number in TB flags so that a
window overflow exception throw point is known at the translation time.

Signed-off-by: Max Filippov <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 97e89ee914411384dcda771d38bf89f13726d71e
      
https://github.com/qemu/qemu/commit/97e89ee914411384dcda771d38bf89f13726d71e
  Author: Max Filippov <address@hidden>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M target-xtensa/translate.c

  Log Message:
  -----------
  target-xtensa: don't generate dead code

Don't generate TCG operations when privilege, register window or
coprocessor checks fail.

Signed-off-by: Max Filippov <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 86b182ac0e0b44726d85598cbefb468ed22517fc
      
https://github.com/qemu/qemu/commit/86b182ac0e0b44726d85598cbefb468ed22517fc
  Author: Peter Maydell <address@hidden>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M include/exec/cpu-all.h
    M monitor.c
    M target-xtensa/cpu.h
    M target-xtensa/helper.h
    M target-xtensa/op_helper.c
    M target-xtensa/translate.c
    M tcg/tcg.c
    M tcg/tcg.h
    M tests/tcg/xtensa/test_mmu.S
    M translate-all.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/xtensa/tags/20141217-xtensa' into 
staging

Xtensa updates for 2.3:

- fix cross-page opcode handling;
- move window overflow exception generation decision to translation phase;
- don't generate dead code after privilege, window overflow or coprocessor
  exception;
- add monitor command 'info opcount' for dumping TCG opcode counters.

# gpg: Signature made Wed 17 Dec 2014 02:57:01 GMT using RSA key ID F83FA044
# gpg: Good signature from "Max Filippov <address@hidden>"
# gpg:                 aka "Max Filippov <address@hidden>"

* remotes/xtensa/tags/20141217-xtensa:
  target-xtensa: don't generate dead code
  target-xtensa: record available window in TB flags
  target-xtensa: test cross-page opcode
  target-xtensa: fix translation for opcodes crossing page boundary
  tcg: add separate monitor command to dump opcode counters

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/84afc4dd5664...86b182ac0e0b

reply via email to

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