Browse Source

* fixed code generation for <word>+<word> saturated

git-svn-id: trunk@3969 -
florian 19 years ago
parent
commit
6ef3a158e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/nx86add.pas

+ 1 - 1
compiler/x86/nx86add.pas

@@ -455,7 +455,7 @@ unit nx86add;
                       mmxu8bit:
                         op:=A_PADDUSB;
                       mmxs16bit,mmxfixed16:
-                        op:=A_PADDSB;
+                        op:=A_PADDSW;
                       mmxu16bit:
                         op:=A_PADDUSW;
                    end;