aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 23:39:55 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 23:39:55 +0000
commit96e6e05372837a00d26284a8ba25ecb533a2e410 (patch)
treee31b9c1e50c48ca18e43d03d6e6f474022b1f317
parente2222c39248e7a54ffdb8325ba7edf2e23171306 (diff)
fixed invalid code gen
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@361 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--ops_template.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ops_template.h b/ops_template.h
index 89480dddbf..1c6513152f 100644
--- a/ops_template.h
+++ b/ops_template.h
@@ -556,12 +556,14 @@ void OPPROTO glue(op_string_jz_sub, SUFFIX)(void)
{
if ((DATA_TYPE)CC_DST == 0)
JUMP_TB(PARAM1, 1, PARAM2);
+ FORCE_RET();
}
void OPPROTO glue(op_string_jnz_sub, SUFFIX)(void)
{
if ((DATA_TYPE)CC_DST != 0)
JUMP_TB(PARAM1, 1, PARAM2);
+ FORCE_RET();
}
#if DATA_BITS >= 16
@@ -569,6 +571,7 @@ void OPPROTO glue(op_jz_ecx, SUFFIX)(void)
{
if ((DATA_TYPE)ECX == 0)
JUMP_TB(PARAM1, 1, PARAM2);
+ FORCE_RET();
}
#endif