Selaa lähdekoodia

Merged revisions 557 via svnmerge from
/trunk

git-svn-id: branches/fixes_2_0@559 -

Jonas Maebe 20 vuotta sitten
vanhempi
commit
6984a33578
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      compiler/powerpc/nppcadd.pas

+ 2 - 0
compiler/powerpc/nppcadd.pas

@@ -1429,6 +1429,8 @@ interface
                     end;
                   subn:
                     begin
+                      if nf_swaped in flags then
+                        swapleftright;
                       exprasmlist.concat(taicpu.op_reg_reg_reg(A_SUB,location.register,
                         left.location.register,right.location.register));
                       exprasmlist.concat(taicpu.op_reg_reg(A_CMPLW,left.location.register,location.register));