diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-25 16:46:15 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-25 16:46:15 +0000 |
commit | d4e8164f7e9342d692c1d6f1c848ed05f8007ece (patch) | |
tree | ca8f3b46553b2674eb5ab3297b39db75d78ba4d4 /ops_template.h | |
parent | 08351fb37ae0abe0d0a025ad67709f1f1fd63d59 (diff) |
direct chaining for PowerPC and i386
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@183 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'ops_template.h')
-rw-r--r-- | ops_template.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ops_template.h b/ops_template.h index 7adf7be6a7..ff28086f32 100644 --- a/ops_template.h +++ b/ops_template.h @@ -238,18 +238,18 @@ void OPPROTO glue(op_jb_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_TYPE)src1 < (DATA_TYPE)src2) - EIP = PARAM1; + JUMP_TB(PARAM1, 0, PARAM2); else - EIP = PARAM2; + JUMP_TB(PARAM1, 1, PARAM3); FORCE_RET(); } void OPPROTO glue(op_jz_sub, SUFFIX)(void) { if ((DATA_TYPE)CC_DST == 0) - EIP = PARAM1; + JUMP_TB(PARAM1, 0, PARAM2); else - EIP = PARAM2; + JUMP_TB(PARAM1, 1, PARAM3); FORCE_RET(); } @@ -260,18 +260,18 @@ void OPPROTO glue(op_jbe_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_TYPE)src1 <= (DATA_TYPE)src2) - EIP = PARAM1; + JUMP_TB(PARAM1, 0, PARAM2); else - EIP = PARAM2; + JUMP_TB(PARAM1, 1, PARAM3); FORCE_RET(); } void OPPROTO glue(op_js_sub, SUFFIX)(void) { if (CC_DST & SIGN_MASK) - EIP = PARAM1; + JUMP_TB(PARAM1, 0, PARAM2); else - EIP = PARAM2; + JUMP_TB(PARAM1, 1, PARAM3); FORCE_RET(); } @@ -282,9 +282,9 @@ void OPPROTO glue(op_jl_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_STYPE)src1 < (DATA_STYPE)src2) - EIP = PARAM1; + JUMP_TB(PARAM1, 0, PARAM2); else - EIP = PARAM2; + JUMP_TB(PARAM1, 1, PARAM3); FORCE_RET(); } @@ -295,9 +295,9 @@ void OPPROTO glue(op_jle_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_STYPE)src1 <= (DATA_STYPE)src2) - EIP = PARAM1; + JUMP_TB(PARAM1, 0, PARAM2); else - EIP = PARAM2; + JUMP_TB(PARAM1, 1, PARAM3); FORCE_RET(); } |