diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-23 20:46:09 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-23 20:46:09 +0000 |
commit | 39c61f49f456a0e24f554d372d508ab245fc8edd (patch) | |
tree | a80aa4528d6839303ef75c95c7464bffc8de9db6 /target-i386/op.c | |
parent | 4d6b6c0aec20e78c966b857c520fe0d242d64b30 (diff) |
CR8 support - FORCE_RET() fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1235 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op.c')
-rw-r--r-- | target-i386/op.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target-i386/op.c b/target-i386/op.c index ab7501e939..71365b5c2d 100644 --- a/target-i386/op.c +++ b/target-i386/op.c @@ -1198,6 +1198,13 @@ void OPPROTO op_movl_crN_T0(void) helper_movl_crN_T0(PARAM1); } +void OPPROTO op_movtl_T0_cr8(void) +{ +#if !defined(CONFIG_USER_ONLY) + T0 = cpu_get_apic_tpr(env); +#endif +} + /* DR registers access */ void OPPROTO op_movl_drN_T0(void) { @@ -1279,12 +1286,14 @@ void OPPROTO op_jnz_T0_label(void) { if (T0) GOTO_LABEL_PARAM(1); + FORCE_RET(); } void OPPROTO op_jz_T0_label(void) { if (!T0) GOTO_LABEL_PARAM(1); + FORCE_RET(); } /* slow set cases (compute x86 flags) */ |