Skip to content

RFC target/ppc: Change CR registers from i32 to tl

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/ppc: Change CR registers from i32 to tltarget/ppc/cpu.h target/ppc/cpu_init.c target/ppc/dfp_helper.c +11 more+271 -2710 replies
2/3target/ppc: Use FP CR1 update helper more widelytarget/ppc/translate/fp-impl.c.inc+6 -101 reply
3/3target/ppc: Optimise after CR register tl conversiontarget/ppc/translate.c target/ppc/translate/fixedpoint-impl.c.inc target/ppc/translate/fp-impl.c.inc+45 -720 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/3
2/3R-b
3/3

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] target/ppc: Change CR registers from i32 to tl

This is a bit of churn so I might leave it for later in the cycle (or defer if we get a lot of other changes) since it's a relatively mechanical change. So don't spend time reviewing details, I'm just wondering about concept and general approach.

I'm not sure the history of why these are 32-bit, maybe better code gen on 32-bit host emulating 64-bit? If so, that shouldn't be so important now that most people use 64-bit systems to develop and test with.

Thanks,
Nick

Nicholas Piggin (3):
target/ppc: Change CR registers from i32 to tl target/ppc: Use FP CR1 update helper more widely target/ppc: Optimise after CR register tl conversion

 target/ppc/cpu.h                             |   2 +-
 target/ppc/cpu_init.c                        |   2 +-
 target/ppc/dfp_helper.c                      |  12 +-
 target/ppc/fpu_helper.c                      |  38 +--
 target/ppc/helper.h                          | 124 +++++-----
 target/ppc/int_helper.c                      |  58 ++---
 target/ppc/machine.c                         |   2 +-
 target/ppc/translate.c                       | 239 +++++++++----------
 target/ppc/translate/fixedpoint-impl.c.inc   |   3 +-
 target/ppc/translate/fp-impl.c.inc           |  31 +--
 target/ppc/translate/spe-impl.c.inc          |  18 +-
 target/ppc/translate/storage-ctrl-impl.c.inc |   4 +-
 target/ppc/translate/vmx-impl.c.inc          |  24 +-
 target/ppc/translate/vsx-impl.c.inc          |   6 +-
 15 files changed, 267 insertions(+), 298 deletions(-)
Signature · 1 line
2.40.1