2008-09-12 Sterling Augustine <sterling@tensilica.com>
authorBob Wilson <bob.wilson@acm.org>
Fri, 12 Sep 2008 18:53:55 +0000 (18:53 +0000)
committerBob Wilson <bob.wilson@acm.org>
Fri, 12 Sep 2008 18:53:55 +0000 (18:53 +0000)
* config/tc-xtensa.c (init_op_placement_info_table): Allow number of
operands equal to MAX_INSN_ARGS.

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

index 3ccef17c9075686408029810b3b6bb749c9b679e..284e4a8d13122e65134f195ce80a5f650832eb90 100644 (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.
index b893cef4a116ff2e73fc4104c55e725b2e9850c9..b6c35ecd33c2b2ccdaba1d4db7fd02fd2189e26e 100644 (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;