PPC_OPERAND_CR always parse as expression to allow register name
followed by an expression.
+2007-11-12 Tristan Gingold <gingold@adacore.com>
+
+ * config/tc-ppc.c (md_assemble): If -mregnames, when parsing
+ PPC_OPERAND_CR always parse as expression to allow register name
+ followed by an expression.
+
2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Re-order suffix check.
else
#endif /* TE_PE */
{
- if (! register_name (&ex))
+ if ((reg_names_p && (operand->flags & PPC_OPERAND_CR) != 0)
+ || !register_name (&ex))
{
char save_lex = lex_type['%'];