Skip to content

tcg/arm: cleanup and improvements

Aurelien Jarno qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 0 repliesNew
  2. v118 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18tcg/arm: remove SAVE_LR codetcg/arm/tcg-target.c+0 -430 replies
2/18tcg/arm: explicitely list clobbered/reserved regstcg/arm/tcg-target.c tcg/arm/tcg-target.h+11 -50 replies
3/18tcg/arm: remove store signed functionstcg/arm/tcg-target.c+10 -620 replies
4/18tcg/arm: replace integer values by registers enumtcg/arm/tcg-target.c+124 -1090 replies
5/18tcg/arm: align 64-bit arguments in function callstcg/arm/tcg-target.h+1 -00 replies
6/18tcg/arm: add variables to define the allowed instructions settcg/arm/tcg-target.c+84 -390 replies
7/18tcg/arm: sxtb and sxth are available starting with ARMv6tcg/arm/tcg-target.c+2 -20 replies
8/18tcg/arm: use the blx instruction when possibletcg/arm/tcg-target.c+12 -40 replies
9/18tcg/arm: add rotation opstcg/arm/tcg-target.c tcg/arm/tcg-target.h+20 -10 replies
10/18tcg/arm: add ext16u optcg/arm/tcg-target.c tcg/arm/tcg-target.h+50 -200 replies
11/18tcg/arm: add bswap opstcg/arm/tcg-target.c tcg/arm/tcg-target.h+44 -20 replies
12/18tcg/arm: remove conditional argument for qemu_ld/sttcg/arm/tcg-target.c+49 -510 replies
13/18tcg/arm: use ext* ops in qemu_ldtcg/arm/tcg-target.c+12 -180 replies
14/18tcg/arm: bswap arguments in qemu_ld/st if neededtcg/arm/tcg-target.c+159 -690 replies
15/18tcg/arm: remove useless register tests in qemu_ld/sttcg/arm/tcg-target.c+10 -200 replies
16/18tcg/arm: fix argument alignment in qemu_st64tcg/arm/tcg-target.c+10 -90 replies
17/18tcg/arm: optimize register allocation ordertcg/arm/tcg-target.c+5 -50 replies
18/18tcg/arm: don't try to load constants using pctcg/arm/tcg-target.c+0 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/18] tcg/arm: cleanup and improvements

This patch series clean-up and improves the tcg/arm code. The first patches are just a clean-up and should not change the resulting binaries, while the other ones use new ARM instructions, and fix 64-bit and/or big-endian targets.

With this patch series I am able to successfully:
- boot debian-installer on qemu-system-mips/mipsel
- run libc.so on qemu-i386, qemu-mips, qemu-mipsel, qemu-ppc, qemu-ppc64, qemu-sh4, qemu-x86_64

With this patch series I am able to partially:
- boot debian-installer on qemu-system-i386 and qemu-system-x86_64, but ld.so segfaults while coming to userland.
- boot the kernel on qemu-ppc. It deadlocks in the middle of the kernel boot. Strangely openbios crashes in initialize-forth on some machines (Feroceon 88FR131), but not on some others (Cortex-A9, qemu-system-arm emulating a versatilepb board).

With this patch series I am not able to:
- run libc.so on qemu-alpha. ld.so works though.

I have verified that all the problem above are not regressions (when possible, as without this series, it is not possible to emulate a big endian CPU).