summaryrefslogtreecommitdiffstats
path: root/target-mips/op.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 17:46:10 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 17:46:10 +0000
commit8e9ade681b18a668d7e3a69b3c34a8a1696e8f79 (patch)
tree67d1fce0ad800616cb6a2b6f7fab7fc0c7c4ac85 /target-mips/op.c
parent70cff25e78b68968953f2138b6b473a1701bf979 (diff)
downloadhqemu-8e9ade681b18a668d7e3a69b3c34a8a1696e8f79.zip
hqemu-8e9ade681b18a668d7e3a69b3c34a8a1696e8f79.tar.gz
Switch MIPS branch handling to TCG, and clean out pointless wrapper
functions/macros. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4533 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op.c')
-rw-r--r--target-mips/op.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/target-mips/op.c b/target-mips/op.c
index 69d3191..2d9cd36 100644
--- a/target-mips/op.c
+++ b/target-mips/op.c
@@ -479,48 +479,6 @@ void op_movt (void)
FORCE_RET();
}
-/* Branches */
-/* Branch to register */
-void op_save_breg_target (void)
-{
- env->btarget = T1;
- FORCE_RET();
-}
-
-void op_breg (void)
-{
- env->PC[env->current_tc] = env->btarget;
- FORCE_RET();
-}
-
-void op_save_btarget (void)
-{
- env->btarget = PARAM1;
- FORCE_RET();
-}
-
-#if defined(TARGET_MIPS64)
-void op_save_btarget64 (void)
-{
- env->btarget = ((uint64_t)PARAM1 << 32) | (uint32_t)PARAM2;
- FORCE_RET();
-}
-#endif
-
-/* Conditional branch */
-void op_set_bcond (void)
-{
- env->bcond = T0;
- FORCE_RET();
-}
-
-void op_jnz_bcond (void)
-{
- if (env->bcond)
- GOTO_LABEL_PARAM(1);
- FORCE_RET();
-}
-
/* CP0 functions */
void op_mfc0_index (void)
{
@@ -2564,20 +2522,6 @@ void op_save_state (void)
FORCE_RET();
}
-void op_save_pc (void)
-{
- env->PC[env->current_tc] = PARAM1;
- FORCE_RET();
-}
-
-#if defined(TARGET_MIPS64)
-void op_save_pc64 (void)
-{
- env->PC[env->current_tc] = ((uint64_t)PARAM1 << 32) | (uint32_t)PARAM2;
- FORCE_RET();
-}
-#endif
-
void op_wait (void)
{
env->halted = 1;
OpenPOWER on IntegriCloud