Sfoglia il codice sorgente

* more usual order of instructions.

git-svn-id: trunk@5481 -
yury 18 anni fa
parent
commit
35b1014207
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/arm/cgcpu.pas

+ 1 - 1
compiler/arm/cgcpu.pas

@@ -1566,8 +1566,8 @@ unit cgcpu;
           dstref.offset:=size;
           r:=getintregister(list,size2opsize[size]);
           a_load_ref_reg(list,size2opsize[size],size2opsize[size],srcref,r);
-          list.concat(setoppostfix(taicpu.op_reg_reg_const(A_SUB,countreg,countreg,1),PF_S));
           a_load_reg_ref(list,size2opsize[size],size2opsize[size],r,dstref);
+          list.concat(setoppostfix(taicpu.op_reg_reg_const(A_SUB,countreg,countreg,1),PF_S));
           a_jmp_flags(list,F_NE,l);
           srcref.offset:=1;
           dstref.offset:=1;