]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-06-17 Richard Sandiford <rsandifo@redhat.com>
authorChris Demetriou <cgd@google.com>
Wed, 18 Jun 2003 01:12:03 +0000 (01:12 +0000)
committerChris Demetriou <cgd@google.com>
Wed, 18 Jun 2003 01:12:03 +0000 (01:12 +0000)
        * mips.igen (do_dmultx): Fix check for negative operands.

sim/mips/ChangeLog
sim/mips/mips.igen

index 4d20a000d9f72e2db3bab37f0feb9b617aae2ed2..e5b5216f0d17506c5a097d1e78c91044b968430b 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-17  Richard Sandiford  <rsandifo@redhat.com>
+
+       * mips.igen (do_dmultx): Fix check for negative operands.
+
 2003-05-16  Ian Lance Taylor  <ian@airs.com>
 
        * Makefile.in (SHELL): Make sure this is defined.
index 81fb2001b27498a9141428e7021c65c2db0e7ba2..358c8ab1750687174dba19512855b21e6f824794 100644 (file)
   sign = 0;
   if (signed_p)
     {
-      if (op1 < 0)
+      if ((signed64) op1 < 0)
        {
          op1 = - op1;
          ++sign;
        }
-      if (op2 < 0)
+      if ((signed64) op2 < 0)
        {
          op2 = - op2;
          ++sign;