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/op.c | |
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/op.c')
-rw-r--r-- | target-i386/op.c | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/target-i386/op.c b/target-i386/op.c index 3f3e1f13a3..7bd89495f3 100644 --- a/target-i386/op.c +++ b/target-i386/op.c @@ -263,55 +263,6 @@ void OPPROTO op_cmpxchg8b(void) #endif -/* string ops helpers */ - -void OPPROTO op_addl_ESI_T0(void) -{ - ESI = (uint32_t)(ESI + T0); -} - -void OPPROTO op_addw_ESI_T0(void) -{ - ESI = (ESI & ~0xffff) | ((ESI + T0) & 0xffff); -} - -void OPPROTO op_addl_EDI_T0(void) -{ - EDI = (uint32_t)(EDI + T0); -} - -void OPPROTO op_addw_EDI_T0(void) -{ - EDI = (EDI & ~0xffff) | ((EDI + T0) & 0xffff); -} - -void OPPROTO op_decl_ECX(void) -{ - ECX = (uint32_t)(ECX - 1); -} - -void OPPROTO op_decw_ECX(void) -{ - ECX = (ECX & ~0xffff) | ((ECX - 1) & 0xffff); -} - -#ifdef TARGET_X86_64 -void OPPROTO op_addq_ESI_T0(void) -{ - ESI = (ESI + T0); -} - -void OPPROTO op_addq_EDI_T0(void) -{ - EDI = (EDI + T0); -} - -void OPPROTO op_decq_ECX(void) -{ - ECX--; -} -#endif - /* bcd */ void OPPROTO op_aam(void) @@ -460,13 +411,6 @@ void OPPROTO op_jnz_T0_label(void) FORCE_RET(); } -void OPPROTO op_jz_T0_label(void) -{ - if (!T0) - GOTO_LABEL_PARAM(1); - FORCE_RET(); -} - /* slow set cases (compute x86 flags) */ void OPPROTO op_seto_T0_cc(void) { @@ -527,11 +471,6 @@ void OPPROTO op_xor_T0_1(void) T0 ^= 1; } -void OPPROTO op_mov_T0_cc(void) -{ - T0 = cc_table[CC_OP].compute_all(); -} - /* XXX: clear VIF/VIP in all ops ? */ void OPPROTO op_movl_eflags_T0(void) |