Skip to contentSkip to conversation

Mips improvements

PATCH New Thiemo Seufer 1 participant 1 message May 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 Mips improvements

Hello All,

this patch takes the mtc0 operations out of line. It does this even for relatively large functions, a followup patch in this set moves them back. I didn't change the presumably broken interrupt handling in mtc0_status, since a) it doesn't fail for me, and b) it would inflate the patch set even further.

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 +213 -1

256 lines not on this page · raw message