Statistics
| Branch: | Revision:

root / target-sparc @ c08d7424

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.6 kB
int32_helper.c 5.1 kB
int64_helper.c 5.9 kB
ldst_helper.c 73 kB
machine.c 6.7 kB
mmu_helper.c 26.6 kB
translate.c 190.6 kB
vis_helper.c 14.8 kB
win_helper.c 9.5 kB

Latest revisions

# Date Author Comment
e7d51b34 10/30/2012 08:52 pm Richard Henderson

target-sparc: Revert setting cpu_dst to gen_dest_gpr

There is some read-after-write error within the OP=2 insns which
prevents setting cpu_dst to the real output register. Until this
is found and fixed, always write to a temporary first.

Cc: Blue Swirl <>...

c33b2353 10/28/2012 03:54 pm Aurelien Jarno

target-sparc: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Acked-by: Blue Swirl <>
Reviewed-by: Richard Henderson <>...

a8170e5e 10/23/2012 04:58 pm Avi Kivity

Rename target_phys_addr_t to hwaddr

target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific). Replace it with a finger-friendly,...

e7c8afb9 10/20/2012 12:02 pm Aurelien Jarno

target-sparc: fix FMOVr instruction

Like the MOVr instruction, the FMOVr instruction has the condition
encoded between bits 10 and 12.

Cc: Blue Swirl <>
Signed-off-by: Aurelien Jarno <>
Signed-off-by: Blue Swirl <>

3886b8a3 10/20/2012 10:56 am Richard Henderson

target-sparc: Don't use a temporary for gen_dest_fpr_D

In all cases we don't have write-before-read problems.

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

aeff993c 10/20/2012 10:56 am Richard Henderson

target-sparc: Remove cpu_tmp64 use from softint insns

The use of "tl" functions and a tmp64 is logically incompatible.
Use cpu_tmp0 instead.

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

abcc7191 10/20/2012 10:56 am Richard Henderson

target-sparc: Remove last uses of cpu_tmp64

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

7b04bd5c 10/20/2012 10:56 am Richard Henderson

target-sparc: Only use cpu_dst for eventual writes to a gpr

Use cpu_tmp0 for other stuff, like Write Priv Register.

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

5793f2a4 10/20/2012 10:56 am Richard Henderson

target-sparc: Make cpu_dst local to OP=2 insns

And initialize it such that it (may) write directly to rd.

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

de9e9d9f 10/20/2012 10:56 am Richard Henderson

target-sparc: Remove cpu_tmp0 as a global

Subroutines do their own local temporary management.
Within disas_sparc_insn we limit the existance of the variable
to OP=2 insns, and delay initialization as late as is reasonable
for the specific XOP.

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

View revisions

Also available in: Atom