* 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.
This commit is contained in:
Maciej W. Rozycki 2010-12-09 22:45:13 +00:00
parent a605d2b30b
commit f01dc9538a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

View 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"));