Pārlūkot izejas kodu

* fixed missing swapleftright in case of substracting unsigned numbers
with overflow checking turned on

git-svn-id: trunk@6818 -

Jonas Maebe 18 gadi atpakaļ
vecāks
revīzija
1580e046ed
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      compiler/powerpc64/nppcadd.pas

+ 2 - 0
compiler/powerpc64/nppcadd.pas

@@ -325,6 +325,8 @@ begin
           end;
         subn:
           begin
+            if (nf_swapped in flags) then
+              swapleftright;
             current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg(A_SUB, location.register,
               left.location.register, right.location.register));
             current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CMPLD,