MIPS16/GAS: Improve non-immediate operand error diagnostics
[deliverable/binutils-gdb.git] / gas / config / tc-mips.c
index 0932ceacedbca77a480f162d7a86e7d5a61e7e43..ac4fefd25b26bc6dc90308fa146853db2f2e3d55 100644 (file)
@@ -8249,10 +8249,7 @@ match_mips16_insn (struct mips_cl_insn *insn, const struct mips_opcode *opcode,
                  continue;
                }
 
-             /* We need the OT_INTEGER check because some MIPS16
-                immediate variants are listed before the register ones.  */
-             if (arg.token->type != OT_INTEGER
-                 || !match_expression (&arg, &offset_expr, offset_reloc))
+             if (!match_expression (&arg, &offset_expr, offset_reloc))
                return FALSE;
 
              /* '8' is used for SLTI(U) and has traditionally not
This page took 0.027469 seconds and 4 git commands to generate.