Procházet zdrojové kódy

* fixed another missing swapleftright for subn

git-svn-id: trunk@557 -
Jonas Maebe před 20 roky
rodič
revize
d27fa6d0b3
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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));