aboutsummaryrefslogtreecommitdiff
path: root/target-i386/translate.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-23 20:55:36 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-23 20:55:36 +0000
commit82e41634cdf063fae727fdb1563479d2209f79ee (patch)
treec2e92556a14bc64481d2304fcacc2940f47ca723 /target-i386/translate.c
parentbd3fae3df6233729591b65f7c9f008d4182f6b44 (diff)
downloadqemu-82e41634cdf063fae727fdb1563479d2209f79ee.zip
qemu-82e41634cdf063fae727fdb1563479d2209f79ee.tar.gz
qemu-82e41634cdf063fae727fdb1563479d2209f79ee.tar.bz2
avoid empty op
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1239 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r--target-i386/translate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c
index f8449e4..46bf933 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -5638,9 +5638,11 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
gen_jmp_im(s->pc - s->cs_base);
gen_eob(s);
} else {
+#if !defined(CONFIG_USER_ONLY)
if (reg == 8)
gen_op_movtl_T0_cr8();
else
+#endif
gen_op_movtl_T0_env(offsetof(CPUX86State,cr[reg]));
gen_op_mov_reg_T0[ot][rm]();
}