Skip to content

S390 TCG target, version 2

Richard Henderson qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest35 patches 39 repliesApplied

Changes v1->v2 from the cover letter

* Disassembler doesn't include GPLv3 code.

* Smashed about 20 commits into the "New TCG Target" patch, which is fully functional from the beginning.

* Merged a lot of the follow-on patches such that introducing the use of an instruction and conditionalizing the use of the instruction on the active ISA features is not split into two separate patches.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/35tcg-s390: Adjust compilation flags.configure+6 -11 reply
2/35s390x: Avoid _llseek.linux-user/syscall.c+2 -21 reply
3/35s390x: Don't use a linker script for user-only.configure+3 -01 reply
4/35tcg-s390: Compute is_write in cpu_signal_handler.cpu-exec.c+39 -31 reply
5/35tcg-s390: Icache flush is a no-op.tcg/s390/tcg-target.h+0 -53 replies
6/35tcg-s390: Allocate the code_gen_buffer near the main program.exec.c+7 -03 replies
7/35tcg: Optionally sign-extend 32-bit arguments for 64-bit host.def-helper.h target-i386/ops_sse_header.h target-ppc/helper.h +3 more+91 -363 replies
8/35s390: Update disassembler to the last GPLv2 from binutils.s390-dis.c+50 -311 reply
9/35s390: Disassemble some general-instruction-extension insns.s390-dis.c+81 -81 reply
10/35tcg-s390: New TCG targettcg/s390/tcg-target.c tcg/s390/tcg-target.h+1157 -271 reply
11/35tcg-s390: Tidy unimplemented opcodes.tcg/s390/tcg-target.c+10 -151 reply
12/35tcg-s390: Define TCG_TMP0.tcg/s390/tcg-target.c+29 -251 reply
13/35tcg-s390: Tidy regset initialization; use R14 as temporary.tcg/s390/tcg-target.c+12 -141 reply
14/35tcg-s390: Rearrange register allocation order.tcg/s390/tcg-target.c+13 -101 reply
15/35tcg-s390: Query instruction extensions that are installed.tcg/s390/tcg-target.c+113 -012 replies
16/35tcg-s390: Re-implement tcg_out_movi.tcg/s390/tcg-target.c+113 -162 replies
17/35tcg-s390: Implement sign and zero-extension operations.tcg/s390/tcg-target.c tcg/s390/tcg-target.h+158 -261 reply
18/35tcg-s390: Implement bswap operations.tcg/s390/tcg-target.c tcg/s390/tcg-target.h+29 -51 reply
19/35tcg-s390: Implement rotates.tcg/s390/tcg-target.c tcg/s390/tcg-target.h+48 -21 reply
20/35tcg-s390: Use LOAD COMPLIMENT for negate.tcg/s390/tcg-target.c+2 -81 reply
21/35tcg-s390: Use the ADD IMMEDIATE instructions.tcg/s390/tcg-target.c+80 -160 replies
22/35tcg-s390: Use the AND IMMEDIATE instructions.tcg/s390/tcg-target.c+166 -130 replies
23/35tcg-s390: Use the OR IMMEDIATE instructions.tcg/s390/tcg-target.c+111 -80 replies
24/35tcg-s390: Use the XOR IMMEDIATE instructions.tcg/s390/tcg-target.c+56 -40 replies
25/35tcg-s390: Use the MULTIPLY IMMEDIATE instructions.tcg/s390/tcg-target.c+39 -40 replies
26/35tcg-s390: Tidy goto_tb.tcg/s390/tcg-target.c+25 -120 replies
27/35tcg-s390: Rearrange qemu_ld/st to avoid register copy.tcg/s390/tcg-target.c+151 -1310 replies
28/35tcg-s390: Tidy tcg_prepare_qemu_ldst.tcg/s390/tcg-target.c+27 -370 replies
29/35tcg-s390: Tidy user qemu_ld/st.tcg/s390/tcg-target.c+21 -120 replies
30/35tcg-s390: Implement GUEST_BASE.configure tcg/s390/tcg-target.c tcg/s390/tcg-target.h+26 -20 replies
31/35tcg-s390: Use 16-bit branches for forward jumps.tcg/s390/tcg-target.c+22 -50 replies
32/35tcg-s390: Use the LOAD AND TEST instruction for compares.tcg/s390/tcg-target.c+91 -420 replies
33/35tcg-s390: Use the COMPARE IMMEDIATE instrucions for compares.tcg/s390/tcg-target.c+42 -20 replies
34/35tcg-s390: Use COMPARE AND BRANCH instructions.tcg/s390/tcg-target.c+95 -70 replies
35/35tcg-s390: Enable compile in 32-bit mode.tcg/s390/tcg-target.c tcg/s390/tcg-target.h+205 -1880 replies

Reviews trailers per patch

None of the 35 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexander Graf
SeriesA-b
1/35
2/35
3/35
4/35
5/35
6/35
7/35
8/35
9/35
10/35
11/35
12/35
13/35
14/35
15/35
16/35
17/35
18/35
19/35
20/35
21/35
22/35
23/35
24/35
25/35
26/35
27/35
28/35
29/35
30/35
31/35
32/35
33/35
34/35
35/35

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 00/35] S390 TCG target, version 2

Changes v1->v2
* Disassembler doesn't include GPLv3 code.

* Smashed about 20 commits into the "New TCG Target" patch, which is fully functional from the beginning.

* Merged a lot of the follow-on patches such that introducing the use of an instruction and conditionalizing the use of the instruction on the active ISA features is not split into two separate patches.

This patch series is available at

git://repo.or.cz/qemu/rth.git tcg-s390-3

r~

Richard Henderson (35):
tcg-s390: Adjust compilation flags.
s390x: Avoid _llseek.
s390x: Don't use a linker script for user-only.
tcg-s390: Compute is_write in cpu_signal_handler.
tcg-s390: Icache flush is a no-op.
tcg-s390: Allocate the code_gen_buffer near the main program.
tcg: Optionally sign-extend 32-bit arguments for 64-bit host.
s390: Update disassembler to the last GPLv2 from binutils.
s390: Disassemble some general-instruction-extension insns.
tcg-s390: New TCG target
tcg-s390: Tidy unimplemented opcodes.
tcg-s390: Define TCG_TMP0.
tcg-s390: Tidy regset initialization; use R14 as temporary.
tcg-s390: Rearrange register allocation order.
tcg-s390: Query instruction extensions that are installed.
tcg-s390: Re-implement tcg_out_movi.
tcg-s390: Implement sign and zero-extension operations.
tcg-s390: Implement bswap operations.
tcg-s390: Implement rotates.
tcg-s390: Use LOAD COMPLIMENT for negate.
tcg-s390: Use the ADD IMMEDIATE instructions.
tcg-s390: Use the AND IMMEDIATE instructions.
tcg-s390: Use the OR IMMEDIATE instructions.
tcg-s390: Use the XOR IMMEDIATE instructions.
tcg-s390: Use the MULTIPLY IMMEDIATE instructions.
tcg-s390: Tidy goto_tb.
tcg-s390: Rearrange qemu_ld/st to avoid register copy.
tcg-s390: Tidy tcg_prepare_qemu_ldst.
tcg-s390: Tidy user qemu_ld/st.
tcg-s390: Implement GUEST_BASE.
tcg-s390: Use 16-bit branches for forward jumps.
tcg-s390: Use the LOAD AND TEST instruction for compares.
tcg-s390: Use the COMPARE IMMEDIATE instrucions for compares.
tcg-s390: Use COMPARE AND BRANCH instructions.
tcg-s390: Enable compile in 32-bit mode.

 configure                    |   12 +-
 cpu-exec.c                   |   42 +-
 def-helper.h                 |   38 +-
 exec.c                       |    7 +
 linux-user/syscall.c         |    4 +-
 s390-dis.c                   |  168 +++-
 target-i386/ops_sse_header.h |    3 +
 target-ppc/helper.h          |    1 +
 tcg/s390/tcg-target.c        | 2248 +++++++++++++++++++++++++++++++++++++++++-
 tcg/s390/tcg-target.h        |   63 +-
 tcg/tcg-op.h                 |   42 +-
 tcg/tcg.c                    |   41 +-
 12 files changed, 2536 insertions(+), 133 deletions(-)