diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-18 19:28:26 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-18 19:28:26 +0000 |
commit | 6e0d8677cb443e7408c0b7a25a93c6596d7fa380 (patch) | |
tree | 558eac55ec84fa401bc877e2dffb8b11625d42ed /target-i386/ops_template.h | |
parent | cd31fefaf217330ffd31a28ab121df18ac1de5d8 (diff) |
converted string OPs and LOOP insns to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4494 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/ops_template.h')
-rw-r--r-- | target-i386/ops_template.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/target-i386/ops_template.h b/target-i386/ops_template.h index f91d19e397..f271e7ed20 100644 --- a/target-i386/ops_template.h +++ b/target-i386/ops_template.h @@ -118,40 +118,6 @@ void OPPROTO glue(op_jle_sub, SUFFIX)(void) FORCE_RET(); } -/* oldies */ - -#if DATA_BITS >= 16 - -void OPPROTO glue(op_loopnz, SUFFIX)(void) -{ - if ((DATA_TYPE)ECX != 0 && !(T0 & CC_Z)) - GOTO_LABEL_PARAM(1); - FORCE_RET(); -} - -void OPPROTO glue(op_loopz, SUFFIX)(void) -{ - if ((DATA_TYPE)ECX != 0 && (T0 & CC_Z)) - GOTO_LABEL_PARAM(1); - FORCE_RET(); -} - -void OPPROTO glue(op_jz_ecx, SUFFIX)(void) -{ - if ((DATA_TYPE)ECX == 0) - GOTO_LABEL_PARAM(1); - FORCE_RET(); -} - -void OPPROTO glue(op_jnz_ecx, SUFFIX)(void) -{ - if ((DATA_TYPE)ECX != 0) - GOTO_LABEL_PARAM(1); - FORCE_RET(); -} - -#endif - /* various optimized set cases */ void OPPROTO glue(op_setb_T0_sub, SUFFIX)(void) @@ -200,13 +166,6 @@ void OPPROTO glue(op_setle_T0_sub, SUFFIX)(void) T0 = ((DATA_STYPE)src1 <= (DATA_STYPE)src2); } -/* string operations */ - -void OPPROTO glue(op_movl_T0_Dshift, SUFFIX)(void) -{ - T0 = DF << SHIFT; -} - #undef DATA_BITS #undef SHIFT_MASK #undef SHIFT1_MASK |