diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-08-11 22:19:11 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-08-11 22:19:11 +0000 |
commit | 2573109866ead12fd0fa7442b33c8bf4aa125456 (patch) | |
tree | 6bdbcdc79ef8c987ecdb9a775a7206e0f0c52585 /ops_template.h | |
parent | 9dfa5b421dcb7f213163d2bd80549d6ca4bc74a6 (diff) |
pass function name to JMUP_TB()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@366 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'ops_template.h')
-rw-r--r-- | ops_template.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ops_template.h b/ops_template.h index 1c6513152f..b55ccf9dbb 100644 --- a/ops_template.h +++ b/ops_template.h @@ -238,18 +238,18 @@ void OPPROTO glue(op_jb_sub, SUFFIX)(void) src2 = CC_SRC; if ((DATA_TYPE)src1 < (DATA_TYPE)src2) - JUMP_TB(PARAM1, 0, PARAM2); + JUMP_TB(glue(op_jb_sub, SUFFIX), PARAM1, 0, PARAM2); else - JUMP_TB(PARAM1, 1, PARAM3); + JUMP_TB(glue(op_jb_sub, SUFFIX), PARAM1, 1, PARAM3); FORCE_RET(); } void OPPROTO glue(op_jz_sub, SUFFIX)(void) { if ((DATA_TYPE)CC_DST == 0) - JUMP_TB(PARAM1, 0, PARAM2); + JUMP_TB(glue(op_jz_sub, SUFFIX), PARAM1, 0, PARAM2); else - JUMP_TB(PARAM1, 1, PARAM3); + JUMP_TB(glue(op_jz_sub, SUFFIX), PARAM1, 1, PARAM3); FORCE_RET(); } @@ -260,18 +260,18 @@ void OPPROTO glue(op_jbe_sub, SUFFIX)(void) src2 = CC_SRC; if ((DATA_TYPE)src1 <= (DATA_TYPE)src2) - JUMP_TB(PARAM1, 0, PARAM2); + JUMP_TB(glue(op_jbe_sub, SUFFIX), PARAM1, 0, PARAM2); else - JUMP_TB(PARAM1, 1, PARAM3); + JUMP_TB(glue(op_jbe_sub, SUFFIX), PARAM1, 1, PARAM3); FORCE_RET(); } void OPPROTO glue(op_js_sub, SUFFIX)(void) { if (CC_DST & SIGN_MASK) - JUMP_TB(PARAM1, 0, PARAM2); + JUMP_TB(glue(op_js_sub, SUFFIX), PARAM1, 0, PARAM2); else - JUMP_TB(PARAM1, 1, PARAM3); + JUMP_TB(glue(op_js_sub, SUFFIX), PARAM1, 1, PARAM3); FORCE_RET(); } @@ -282,9 +282,9 @@ void OPPROTO glue(op_jl_sub, SUFFIX)(void) src2 = CC_SRC; if ((DATA_STYPE)src1 < (DATA_STYPE)src2) - JUMP_TB(PARAM1, 0, PARAM2); + JUMP_TB(glue(op_jl_sub, SUFFIX), PARAM1, 0, PARAM2); else - JUMP_TB(PARAM1, 1, PARAM3); + JUMP_TB(glue(op_jl_sub, SUFFIX), PARAM1, 1, PARAM3); FORCE_RET(); } @@ -295,9 +295,9 @@ void OPPROTO glue(op_jle_sub, SUFFIX)(void) src2 = CC_SRC; if ((DATA_STYPE)src1 <= (DATA_STYPE)src2) - JUMP_TB(PARAM1, 0, PARAM2); + JUMP_TB(glue(op_jle_sub, SUFFIX), PARAM1, 0, PARAM2); else - JUMP_TB(PARAM1, 1, PARAM3); + JUMP_TB(glue(op_jle_sub, SUFFIX), PARAM1, 1, PARAM3); FORCE_RET(); } @@ -555,14 +555,14 @@ void OPPROTO glue(op_movl_T0_Dshift, SUFFIX)(void) void OPPROTO glue(op_string_jz_sub, SUFFIX)(void) { if ((DATA_TYPE)CC_DST == 0) - JUMP_TB(PARAM1, 1, PARAM2); + JUMP_TB(glue(op_string_jz_sub, SUFFIX), 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); + JUMP_TB(glue(op_string_jnz_sub, SUFFIX), PARAM1, 1, PARAM2); FORCE_RET(); } @@ -570,7 +570,7 @@ void OPPROTO glue(op_string_jnz_sub, SUFFIX)(void) void OPPROTO glue(op_jz_ecx, SUFFIX)(void) { if ((DATA_TYPE)ECX == 0) - JUMP_TB(PARAM1, 1, PARAM2); + JUMP_TB(glue(op_jz_ecx, SUFFIX), PARAM1, 1, PARAM2); FORCE_RET(); } #endif |