[4304] CRIS: Do post-increment without going via T0.
Revision: 4304
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4304 Author: edgar_igl Date: 2008-05-03 06:54:52 +0000 (Sat, 03 May 2008)
Log Message:
-----------
CRIS: Do post-increment without going via T0.
Modified Paths:
--------------
trunk/target-cris/translate.c
Modified: trunk/target-cris/translate.c
===================================================================
target-cris/translate.c +3 -6
@@ -958,13 +958,10 @@ } } -static void do_postinc (DisasContext *dc,int size) +static inline void do_postinc (DisasContext *dc,int size) { -if (!dc->postinc) -return ; -t_gen_mov_TN_reg (cpu_T[0 ], dc->op1); -tcg_gen_addi_tl (cpu_T[0 ], cpu_T[0 ], size); -t_gen_mov_reg_TN (dc->op1, cpu_T[0 ]); +if (dc->postinc) +tcg_gen_addi_tl (cpu_R[dc->op1], cpu_R[dc->op1], size); }