From 958fb4a92cbbb2b9b49e4b4502a836c71435570a Mon Sep 17 00:00:00 2001 From: ths Date: Tue, 6 May 2008 10:57:59 +0000 Subject: Use TCG for MIPS GPR moves. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4356 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/translate_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-mips/translate_init.c') diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 72788e81c9..d069285c8b 100644 --- a/target-mips/translate_init.c +++ b/target-mips/translate_init.c @@ -543,6 +543,8 @@ static int cpu_mips_register (CPUMIPSState *env, const mips_def_t *def) env->CP0_Status_rw_bitmask = def->CP0_Status_rw_bitmask; env->CP0_TCStatus_rw_bitmask = def->CP0_TCStatus_rw_bitmask; env->CP0_SRSCtl = def->CP0_SRSCtl; + env->current_tc = 0; + env->current_tc_gprs = &env->gpr[env->current_tc][0]; env->SEGBITS = def->SEGBITS; env->SEGMask = (target_ulong)((1ULL << def->SEGBITS) - 1); #if defined(TARGET_MIPS64) -- cgit v1.2.3