Bladeren bron

* compilation on i386 fixed

git-svn-id: trunk@46914 -
florian 4 jaren geleden
bovenliggende
commit
9d6e34ffc8
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      compiler/x86/aoptx86.pas

+ 2 - 2
compiler/x86/aoptx86.pas

@@ -5520,10 +5520,10 @@ unit aoptx86;
                           Result:=true;
                           Result:=true;
                           exit;
                           exit;
                         end;
                         end;
+{$endif x86_64}
                     else
                     else
                       ;
                       ;
                 end;
                 end;
-{$endif x86_64}
                 { we cannot get rid of the and, but can we get rid of the movz ?}
                 { we cannot get rid of the and, but can we get rid of the movz ?}
                 if SuperRegistersEqual(taicpu(p).oper[0]^.reg,taicpu(p).oper[1]^.reg) then
                 if SuperRegistersEqual(taicpu(p).oper[0]^.reg,taicpu(p).oper[1]^.reg) then
                   begin
                   begin
@@ -5757,7 +5757,7 @@ unit aoptx86;
                (((taicpu(p).opsize=S_W) and
                (((taicpu(p).opsize=S_W) and
                  (taicpu(hp1).opsize=S_BW)) or
                  (taicpu(hp1).opsize=S_BW)) or
                 ((taicpu(p).opsize=S_L) and
                 ((taicpu(p).opsize=S_L) and
-                 (taicpu(hp1).opsize in [S_WL,S_BL,S_BQ,S_WQ]))
+                 (taicpu(hp1).opsize in [S_WL,S_BL{$ifdef x86_64},S_BQ,S_WQ{$endif x86_64}]))
 {$ifdef x86_64}
 {$ifdef x86_64}
                   or
                   or
                  ((taicpu(p).opsize=S_Q) and
                  ((taicpu(p).opsize=S_Q) and