Statistics
| Branch: | Revision:

root / target-s390x @ 26ca8c06

Name Size
Makefile.objs 184 Bytes
cc_helper.c 12.7 kB
cpu-qom.h 1.7 kB
cpu.c 2.6 kB
cpu.h 33.1 kB
fpu_helper.c 20.8 kB
helper.c 16.7 kB
helper.h 6.5 kB
insn-data.def 40.8 kB
insn-format.def 2.4 kB
int_helper.c 4.6 kB
interrupt.c 790 Bytes
kvm.c 15.7 kB
machine.c 930 Bytes
mem_helper.c 27.5 kB
misc_helper.c 10.1 kB
translate.c 129 kB

Latest revisions

# Date Author Comment
c95ec459 01/05/2013 10:18 pm Richard Henderson

target-s390: Optimize ADDC/SUBB

Giving the proper mask to disas_jcc allows us to generate an inline
comparison generating the carry/borrow with setcond.

In the very worst case, when we must use the external helper to compute
a value for CC, we generate (cc > 1) instead of (cc >> 1), which is only...

bacf43c6 01/05/2013 10:18 pm Richard Henderson

target-s390: Optimize get_address

Don't load the displacement into a register first, add it second
so that tcg_gen_addi_i64 can eliminate zeros. Don't mask the
displacement first so that we don't turn small negative numbers
into large positive numbers.
...

b7886de3 01/05/2013 10:18 pm Richard Henderson

target-s390: Perform COMPARE AND SWAP inline

Still no proper solution for CONFIG_USER_ONLY, but the system
version is significantly better.

Signed-off-by: Richard Henderson <>

d918a65c 01/05/2013 10:18 pm Richard Henderson

target-s390: Use TCG_CALL_NO_WG for memory helpers

Those that do not read or write tcg registers, but can
raise exceptions via memory faults.

Signed-off-by: Richard Henderson <>

c482ea94 01/05/2013 10:18 pm Richard Henderson

target-s390: Use TCG_CALL_NO_WG for floating-point helpers

None of them read or write tcg registers, but most can
raise fp exceptions.

Signed-off-by: Richard Henderson <>

c20fec40 01/05/2013 10:18 pm Richard Henderson

target-s390: Use TCG_CALL_NO_WG for integer helpers

The division routines do not read or write tcg registers,
but can raise fixed-point divide exceptions.

Signed-off-by: Richard Henderson <>

893e1660 01/05/2013 10:18 pm Richard Henderson

target-s390: Use TCG_CALL_NO_WG for misc helpers

Signed-off-by: Richard Henderson <>

26cc0a3f 01/05/2013 10:18 pm Richard Henderson

target-s390: Use noreturn for exception and load_psw

Both always exit the cpu loop.

Signed-off-by: Richard Henderson <>

de379661 01/05/2013 10:18 pm Richard Henderson

target-s390: Tidy comparisons

After full conversion, we can audit the uses of LTGT cc ops
and see that none of the instructions can ever set CC=3.
Thus we can extend the table to treat that bit as ignored.

This fixes a regression wrt the pre-conversion translation...

a359b770 01/05/2013 10:18 pm Richard Henderson

target-s390: Optimize ADDU/SUBU CC testing

We can easily generate some masks for logical add/subtract inline.

Signed-off-by: Richard Henderson <>

View revisions

Also available in: Atom