target-i386/translate: mininally change gen_intermediate_code_internal
PATCH 1/16 target-i386/translate: mininally change gen_intermediate_code_internal
--- target-i386/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-i386/translate.c +3 -3
@@ -8338,9 +8338,9 @@ static inline void gen_intermediate_code_internal(CPUX86State *env,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = pc_ptr; gen_opc_cc_op[lj] = dc->cc_op;
Signature · 1 line
1.7.2.5
PATCH 2/16 target-lm32/translate: mininally change gen_intermediate_code_internal
--- target-lm32/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-lm32/translate.c +2 -3
@@ -1052,9 +1052,8 @@ static void gen_intermediate_code_internal(CPULM32State *env,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) { - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; } } tcg_ctx.gen_opc_pc[lj] = dc->pc;
Signature · 1 line
1.7.2.5
PATCH 3/16 target-arm/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-arm/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-arm/translate.c +3 -3
@@ -9889,9 +9889,9 @@ static inline void gen_intermediate_code_internal(CPUARMState *env,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = dc->pc; gen_opc_condexec_bits[lj] = (dc->condexec_cond <<4 ) | (dc->condexec_mask >>1 );
Signature · 1 line
1.7.2.5
PATCH 4/16 target-mips/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-mips/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-mips/translate.c +3 -3
@@ -15595,9 +15595,9 @@ gen_intermediate_code_internal (CPUMIPSState *env, TranslationBlock *tb,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = ctx.pc; gen_opc_hflags[lj] = ctx.hflags &MIPS_HFLAG_BMASK ;
Signature · 1 line
1.7.2.5
PATCH 5/16 target-alpha/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-alpha/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-alpha/translate.c +3 -3
@@ -3425,9 +3425,9 @@ static inline void gen_intermediate_code_internal(CPUAlphaState *env,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = ctx.pc; tcg_ctx.gen_opc_instr_start[lj] =1 ;
Signature · 1 line
1.7.2.5
PATCH 6/16 target-cris/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-cris/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-cris/translate.c +2 -3
@@ -3258,9 +3258,8 @@ gen_intermediate_code_internal(CPUCRISState *env, TranslationBlock *tb,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) { - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; } }if (dc->delayed_branch ==1 ) {
Signature · 1 line
1.7.2.5
PATCH 7/16 target-m68k/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-m68k/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-m68k/translate.c +3 -3
@@ -3023,9 +3023,9 @@ gen_intermediate_code_internal(CPUM68KState *env, TranslationBlock *tb,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = dc->pc; tcg_ctx.gen_opc_instr_start[lj] =1 ;
Signature · 1 line
1.7.2.5
PATCH 8/16 target-microblaze/translate: mininally change gen_intermediate_code_interna
In reply to liguang--- target-microblaze/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-microblaze/translate.c +3 -3
@@ -1801,9 +1801,9 @@ gen_intermediate_code_internal(CPUMBState *env, TranslationBlock *tb,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = dc->pc; tcg_ctx.gen_opc_instr_start[lj] =1 ;
Signature · 1 line
1.7.2.5
PATCH 9/16 target-moxie/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-moxie/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-moxie/translate.c +2 -3
@@ -856,9 +856,8 @@ gen_intermediate_code_internal(MoxieCPU *cpu, TranslationBlock *tb,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) { - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; } } tcg_ctx.gen_opc_pc[lj] = ctx.pc;
Signature · 1 line
1.7.2.5
PATCH 10/16 target-openrisc/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-openrisc/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-openrisc/translate.c +2 -3
@@ -1703,9 +1703,8 @@ static inline void gen_intermediate_code_internal(OpenRISCCPU *cpu,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (k < j) { - k++; -while (k < j) { - tcg_ctx.gen_opc_instr_start[k++] =0 ; +while (++k < j) { + tcg_ctx.gen_opc_instr_start[k] =0 ; } } tcg_ctx.gen_opc_pc[k] = dc->pc;
Signature · 1 line
1.7.2.5
PATCH 11/16 target-ppc/translate: mininally change gen_intermediate_code_internal Signed-off-by: liguang <[email protected]>
In reply to liguang--- target-ppc/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-ppc/translate.c +3 -3
@@ -9565,9 +9565,9 @@ static inline void gen_intermediate_code_internal(CPUPPCState *env,if (unlikely (search_pc)) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } } tcg_ctx.gen_opc_pc[lj] = ctx.nip; tcg_ctx.gen_opc_instr_start[lj] =1 ;
Signature · 1 line
1.7.2.5
PATCH 12/16 target-s390/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-s390x/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-s390x/translate.c +2 -3
@@ -4776,9 +4776,8 @@ static inline void gen_intermediate_code_internal(CPUS390XState *env,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) { - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; } } tcg_ctx.gen_opc_pc[lj] = dc.pc;
Signature · 1 line
1.7.2.5
PATCH 13/16 target-sh4/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-sh4/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-sh4/translate.c +3 -3
@@ -1891,9 +1891,9 @@ gen_intermediate_code_internal(CPUSH4State * env, TranslationBlock * tb,if (search_pc) { i = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (ii < i) { - ii++; -while (ii < i) - tcg_ctx.gen_opc_instr_start[ii++] =0 ; +while (++ii < i) { + tcg_ctx.gen_opc_instr_start[ii] =0 ; + } } tcg_ctx.gen_opc_pc[ii] = ctx.pc; gen_opc_hflags[ii] = ctx.flags;
Signature · 1 line
1.7.2.5
PATCH 14/16 target-sparc/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-sparc/translate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
target-sparc/translate.c +3 -3
@@ -5267,9 +5267,9 @@ static inline void gen_intermediate_code_internal(TranslationBlock * tb,qemu_log ("Search PC...\n" ); j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; + } tcg_ctx.gen_opc_pc[lj] = dc->pc; gen_opc_npc[lj] = dc->npc; tcg_ctx.gen_opc_instr_start[lj] =1 ;
Signature · 1 line
1.7.2.5
PATCH 15/16 target-unicore32/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-unicore32/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-unicore32/translate.c +2 -3
@@ -1940,9 +1940,8 @@ static inline void gen_intermediate_code_internal(CPUUniCore32State *env,if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) { - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; } } tcg_ctx.gen_opc_pc[lj] = dc->pc;
Signature · 1 line
1.7.2.5
PATCH 16/16 target-xtensa/translate: mininally change gen_intermediate_code_internal
In reply to liguang--- target-xtensa/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-xtensa/translate.c +2 -3
@@ -2927,9 +2927,8 @@ static void gen_intermediate_code_internal(if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;if (lj < j) { - lj++; -while (lj < j) { - tcg_ctx.gen_opc_instr_start[lj++] =0 ; +while (++lj < j) { + tcg_ctx.gen_opc_instr_start[lj] =0 ; } } tcg_ctx.gen_opc_pc[lj] = dc.pc;
Signature · 1 line
1.7.2.5