Skip to contentSkip to conversation

Inline mtc0 instruction emulation

PATCH New Thiemo Seufer 1 participant 1 message Mar 2, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Inline mtc0 instruction emulation

Hello All,

this patch inlines MIPS mtc0 instruction emulation into the TB (except for the exception/interrupt handling).

Thiemo

target-mips/exec.h +2 -1
Index: qemu-work/target-mips/exec.h
===================================================================
@@ -61,7 +61,8 @@
 #endif
 void do_mfc0_random(void);
 void do_mfc0_count(void);
-void do_mtc0(int reg, int sel);
+void do_mtc0_status_debug(uint32_t old, uint32_t val);
+void do_mtc0_status_irqraise_debug(void);
 void do_tlbwi (void);
 void do_tlbwr (void);
 void do_tlbp (void);
target-mips/op.c +179 -2

191 lines not on this page · raw message

target-mips/op_helper.c +26 -216

257 lines not on this page · raw message

target-mips/translate.c +129 -1

142 lines not on this page · raw message