* config/tc-mips.c (macro)
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 9 Dec 2010 22:45:13 +0000 (22:45 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 9 Dec 2010 22:45:13 +0000 (22:45 +0000)
<M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant
used to compare against for the always-false/true case.

gas/ChangeLog
gas/config/tc-mips.c

index aa6508f..a3f72b7 100644 (file)
@@ -1,5 +1,11 @@
 2010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
 
+       * config/tc-mips.c (macro)
+       <M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant
+       used to compare against for the always-false/true case.
+
+2010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
+
        * config/tc-mips.c (macro): Remove a trailing 0 from NOP
        requests.
 
index 18db325..3be00bc 100644 (file)
@@ -5068,7 +5068,7 @@ macro (struct mips_cl_insn *ip)
       if (sreg == 0
          || (HAVE_32BIT_GPRS
              && imm_expr.X_op == O_constant
-             && imm_expr.X_add_number == (offsetT) 0xffffffff))
+             && imm_expr.X_add_number == -1))
        goto do_false;
       if (imm_expr.X_op != O_constant)
        as_bad (_("Unsupported large constant"));
@@ -5203,7 +5203,7 @@ macro (struct mips_cl_insn *ip)
       if (sreg == 0
          || (HAVE_32BIT_GPRS
              && imm_expr.X_op == O_constant
-             && imm_expr.X_add_number == (offsetT) 0xffffffff))
+             && imm_expr.X_add_number == -1))
        goto do_true;
       if (imm_expr.X_op != O_constant)
        as_bad (_("Unsupported large constant"));