Quellcode durchsuchen

* compilation with i386 fixed

florian vor 3 Jahren
Ursprung
Commit
6147d6d8a0
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11 0
      compiler/x86/aoptx86.pas

+ 11 - 0
compiler/x86/aoptx86.pas

@@ -8285,6 +8285,17 @@ unit aoptx86;
                     (taicpu(hp1).oper[0]^.val <> 0) then
                     begin
                       WorkingValue := taicpu(hp1).oper[0]^.val;
+                      case MinSize of
+                        S_B:
+                          if (WorkingValue and $ff)<>WorkingValue then
+                            break;
+                        S_W:
+                          if (WorkingValue and $ffff)<>WorkingValue then
+                            break;
+                        else
+                          ;
+                      end;
+
 
                       TestValMin := TestValMin - WorkingValue;
                       TestValMax := TestValMax - WorkingValue;