2008-09-12 Sterling Augustine <sterling@tensilica.com>

* config/tc-xtensa.c (init_op_placement_info_table): Allow number of
	operands equal to MAX_INSN_ARGS.
This commit is contained in:
Bob Wilson 2008-09-12 18:53:55 +00:00
parent 3d0bb823b0
commit 51add5c3c0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-09-12 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (init_op_placement_info_table): Allow number of
operands equal to MAX_INSN_ARGS.
2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* configure.in: Call AC_SYS_LARGEFILE.

View File

@ -11058,7 +11058,7 @@ init_op_placement_info_table (void)
{
op_placement_info *opi = &op_placement_table[opcode];
/* FIXME: Make tinsn allocation dynamic. */
if (xtensa_opcode_num_operands (isa, opcode) >= MAX_INSN_ARGS)
if (xtensa_opcode_num_operands (isa, opcode) > MAX_INSN_ARGS)
as_fatal (_("too many operands in instruction"));
opi->narrowest = XTENSA_UNDEFINED;
opi->narrowest_size = 0x7F;