Browse Source

* i8086 fix in tx86casenode.genlinearlist

git-svn-id: branches/i8086@23990 -
nickysn 12 years ago
parent
commit
1f5d384a1e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/x86/nx86set.pas

+ 4 - 0
compiler/x86/nx86set.pas

@@ -229,7 +229,11 @@ implementation
                 cond_le:=F_BE;
                 cond_le:=F_BE;
              end;
              end;
            { do we need to generate cmps? }
            { do we need to generate cmps? }
+{$ifdef i8086}
+           if (with_sign and (min_label<0)) or (opcgsize in [OS_32, OS_S32]) then
+{$else i8086}
            if (with_sign and (min_label<0)) then
            if (with_sign and (min_label<0)) then
+{$endif i8086}
              genlinearcmplist(hp)
              genlinearcmplist(hp)
            else
            else
              begin
              begin