Skip to contentSkip to conversation

[4708] Switch remaining CP0 instructions to TCG or helper functions.

Qemu-devel Thiemo Seufer 1 participant 1 message Jun 9, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4708

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4708
Author:   ths
Date:     2008-06-09 07:13:38 +0000 (Mon, 09 Jun 2008)

Log Message:
-----------
Switch remaining CP0 instructions to TCG or helper functions.

Modified Paths:
--------------
trunk/target-mips/exec.h
trunk/target-mips/helper.h
trunk/target-mips/op.c
trunk/target-mips/op_helper.c
trunk/target-mips/translate.c

Modified: trunk/target-mips/exec.h
===================================================================

target-mips/exec.h +1 -34
@@ -48,29 +48,7 @@
 #include "softmmu_exec.h"
 #endif /* !defined(CONFIG_USER_ONLY) */
 
-#if defined(TARGET_MIPS64)
 #if TARGET_LONG_BITS > HOST_LONG_BITS
-void do_dsll (void);
-void do_dsll32 (void);
-void do_dsra (void);
-void do_dsra32 (void);
-void do_dsrl (void);
-void do_dsrl32 (void);
-void do_drotr (void);
-void do_drotr32 (void);
-void do_dsllv (void);
-void do_dsrav (void);
-void do_dsrlv (void);
-void do_drotrv (void);
-void do_dclo (void);
-void do_dclz (void);
-#endif
-#endif
-
-#if HOST_LONG_BITS < 64
-void do_div (void);
-#endif
-#if TARGET_LONG_BITS > HOST_LONG_BITS
 void do_mult (void);
 void do_multu (void);
 void do_madd (void);
@@ -92,15 +70,7 @@
 void do_mulshi (void);
 void do_mulshiu (void);
 #endif
-#if defined(TARGET_MIPS64)
-void do_ddiv (void);
-#if TARGET_LONG_BITS > HOST_LONG_BITS
-void do_ddivu (void);
-#endif
-#endif
-void do_mfc0_random(void);
-void do_mfc0_count(void);
-void do_mtc0_entryhi(uint32_t in);
+
 void do_mtc0_status_debug(uint32_t old, uint32_t val);
 void do_mtc0_status_irqraise_debug(void);
 void dump_fpu(CPUState *env);
@@ -133,9 +103,6 @@
 void cpu_mips_clock_init (CPUState *env);
 void cpu_mips_tlb_flush (CPUState *env, int flush_global);
 
-void do_cfc1 (int reg);
-void do_ctc1 (int reg);
-
 #define FOP_PROTO(op)              \
 void do_float_ ## op ## _s(void);  \
 void do_float_ ## op ## _d(void);

Modified: trunk/target-mips/helper.h
===================================================================

target-mips/helper.h +118 -0

121 lines not on this page · raw message

Modified: trunk/target-mips/op.c
===================================================================

target-mips/op.c +0 -954

966 lines not on this page · raw message

Modified: trunk/target-mips/op_helper.c
===================================================================

target-mips/op_helper.c +788 -4

845 lines not on this page · raw message

Modified: trunk/target-mips/translate.c
===================================================================

target-mips/translate.c +272 -244

1,014 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.