Statistics
| Branch: | Revision:

root / target-mips @ 25e5e4c7

Name Size
TODO 1.9 kB
cpu-qom.h 1.8 kB
cpu.c 1.8 kB
cpu.h 21.5 kB
helper.c 22.1 kB
helper.h 8.8 kB
machine.c 10.6 kB
mips-defs.h 2.1 kB
op_helper.c 105.5 kB
translate.c 364.6 kB
translate_init.c 22.3 kB

Latest revisions

# Date Author Comment
b7e516ce 06/05/2012 12:00 am Andreas Färber

Kill off cpu_state_reset()

In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset()
was renamed to cpu_state_reset(), to allow introducing a new cpu_reset()
that would operate on QOM objects.

All callers have been updated except for one in target-mips, so drop all...

3bd4122e 06/05/2012 12:00 am Andreas Färber

target-mips: Use cpu_reset() in cpu_mips_init()

Commit 0f71a7095db6bc055bc5bb520d85ea650cca8a33 (target-mips: QOM'ify
CPU) hooked up cpu_state_reset() to CPUClass::reset(). Dropping the
introduction of subclasses for 1.1, due to mips_def_t the reset code...

fca1be7c 06/05/2012 12:00 am Andreas Färber

target-mips: Use cpu_reset() in do_interrupt()

Signed-off-by: Andreas Färber <>

30bf942d 06/05/2012 12:00 am Andreas Färber

target-mips: Let cpu_mips_init() return MIPSCPU

Turn cpu_init macro into a static inline function returning CPUMIPSState
for backwards compatibility.

Signed-off-by: Andreas Färber <>

d7f66b52 05/19/2012 06:51 pm Richard Sandiford

mips: Fix BC1ANY24F instructions

There's some dodgy application of De Morgan's law in the emulation
of the MIPS BC1ANY24F instructions: they end up branching only
if all CCs are false, rather than if one CC is.

Tested on mips64-linux-gnu, where it fixes the GCC MIPS3D tests....

bed38e42 05/12/2012 03:17 pm Andreas Färber

target-mips: Remove commented-out function declaration

There is no function cpu_mips_get_clock(), so drop it.

Signed-off-by: Andreas Färber <>
Acked-by: Stefan Weil <>

b3412b09 05/03/2012 08:04 am Stefan Weil

target-mips: Remove unused inline function

Function set_HILO is not needed anywhere.

Signed-off-by: Stefan Weil <>

61d25e15 05/01/2012 12:27 pm Blue Swirl

Merge branch 'qom-cpu-rest.v1' of git://github.com/afaerber/qemu-cpu

  • 'qom-cpu-rest.v1' of git://github.com/afaerber/qemu-cpu:
    Makefile: Simplify compilation of target-*/cpu.c
    target-mips: Start QOM'ifying CPU init
    target-mips: QOM'ify CPU
    target-m68k: Add QOM CPU subclasses...
0f71a709 04/30/2012 12:32 pm Andreas Färber

target-mips: QOM'ify CPU

Embed CPUMIPSState as first member of QOM MIPSCPU.

Let CPUClass::reset() call cpu_state_reset() for now.

Signed-off-by: Andreas Färber <>
Reviewed-by: Richard Henderson <>

5b0c40f7 04/30/2012 12:32 pm Andreas Färber

target-mips: Start QOM'ifying CPU init

Move code not dependent on mips_def_t from cpu_mips_init() into a
QOM initfn, as a start.

Signed-off-by: Andreas Färber <>
Reviewed-by: Richard Henderson <>

View revisions

Also available in: Atom