Skip to content

target/alpha cleanups

Richard Henderson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8target/alpha: Remove amask from tb->flagstarget/alpha/cpu.h target/alpha/translate.c+38 -410 replies
2/8target/alpha: Copy tb->flags into DisasContexttarget/alpha/translate.c+7 -50 replies
3/8target/alpha: Merge several flag bytes into ENV->FLAGShw/alpha/dp264.c linux-user/main.c target/alpha/cpu.c +4 more+117 -992 replies
4/8target/alpha: Fix temp leak in gen_bcondtarget/alpha/translate.c+8 -80 replies
5/8target/alpha: Fix temp leak in gen_mtprtarget/alpha/translate.c+6 -40 replies
6/8target/alpha: Fix temp leak in gen_call_paltarget/alpha/translate.c+12 -80 replies
7/8target/alpha: Fix temp leak in gen_fbcondtarget/alpha/translate.c+5 -10 replies
8/8target/alpha: Log temp leakstarget/alpha/translate.c+6 -00 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchEmilio G. Cota
SeriesT-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] target/alpha cleanups

The new title holder for perf top is helper_lookup_tb_ptr. Those targets that have a complicated cpu_get_tb_cpu_state function are going to regret that.

This cleans up the Alpha version of that function such that it is just two loads and one mask. Which is one practically-free mask away from being as minimal as one can get.

Also, in anticipation of LLuis' generic translation loop, fix all of the temporary leaks. They all seem to have been on insns that end the TB, so in practice they weren't harmful, but...

r~

Richard Henderson (8):
target/alpha: Remove amask from tb->flags target/alpha: Copy tb->flags into DisasContext target/alpha: Merge several flag bytes into ENV->FLAGS target/alpha: Fix temp leak in gen_bcond target/alpha: Fix temp leak in gen_mtpr target/alpha: Fix temp leak in gen_call_pal target/alpha: Fix temp leak in gen_fbcond target/alpha: Log temp leaks

 target/alpha/cpu.h       |  79 +++++++----------
 hw/alpha/dp264.c         |   1 -
 linux-user/main.c        |  25 +++---
 target/alpha/cpu.c       |   7 +-
 target/alpha/helper.c    |  12 +--
 target/alpha/machine.c   |  10 +--
 target/alpha/translate.c | 221 +++++++++++++++++++++++++++++------------------
 7 files changed, 194 insertions(+), 161 deletions(-)
Signature · 1 line
2.9.4