Statistics
| Branch: | Revision:

root / target-sparc @ 94befa45

Name Size
Makefile.objs 261 Bytes
TODO 2.2 kB
cc_helper.c 10.8 kB
cpu-qom.h 1.8 kB
cpu.c 27.6 kB
cpu.h 23.3 kB
fop_helper.c 15 kB
helper.c 5.3 kB
helper.h 6.8 kB
int32_helper.c 5 kB
int64_helper.c 5.8 kB
ldst_helper.c 73.2 kB
machine.c 6.7 kB
mmu_helper.c 26.9 kB
translate.c 193.1 kB
vis_helper.c 14.8 kB
win_helper.c 9.5 kB

Latest revisions

# Date Author Comment
690995a6 10/07/2012 07:39 pm Richard Henderson

target-sparc: Use movcond for FMOV*R

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

b09b2fd3 10/07/2012 07:39 pm Richard Henderson

target-sparc: Cleanup "global" temporary allocation

There are 6 temporaries that disas_sparc_insn relies on having been
allocated. Now that they are no longer referenced across branches,
they need not be allocated as local temps.

Move the allocation/free of these temporaries to make it clear that...

fe1755cb 10/07/2012 07:39 pm Richard Henderson

target-sparc: Fall through from not-taken trap

Now that we've cleaned up global temporary allocation, we can
continue translating the fallthru path of a conditional trap.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

2a484ecf 10/07/2012 07:39 pm Richard Henderson

target-sparc: Optimize conditionals using SUBCC

Aka "normal" comparisons. We now have the infrastructure to
pass back non-boolean results from gen_compare. This will
automatically get used by both branches and conditional moves.

Signed-off-by: Richard Henderson <>...

c28ae41e 10/07/2012 07:39 pm Richard Henderson

target-sparc: Move sdivx and udivx out of line

The branches around the exception are maintaining an otherwise
unnecessary use of local temps for the cpu destination.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

bd49ed41 10/07/2012 07:39 pm Richard Henderson

target-sparc: Tidy Tcc

Share more code between unconditional and conditional paths.

Move the computation of the trap number into the conditional BB;
avoid using temporaries that have gone out of scope (cpu_tmp32)
or rely on local temps (cpu_dst).

Fully fold the exception number when the trap number is %g0+imm....

a2ea4aa9 10/07/2012 07:39 pm Richard Henderson

target-sparc: Move taddcctv and tsubcctv out of line

The branches around the exception are maintaining an otherwise
unnecessary use of local temps for the cpu destination.

Note that gen_op_t{add,sub}_cc were identical to gen_op_{add,sub}_cc.

Signed-off-by: Richard Henderson <>...

6cb675b0 10/07/2012 07:39 pm Richard Henderson

target-sparc: Use movcond in mulscc

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

c33f80f5 10/07/2012 07:39 pm Richard Henderson

target-sparc: Use DisasCompare and movcond in MOVR

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

61316742 10/07/2012 07:39 pm Richard Henderson

target-sparc: Use movcond in gen_generic_branch

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom