PR gas/3172

* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers
  as a sub-class of wC registers.
This commit is contained in:
Nick Clifton 2006-09-11 14:27:32 +00:00
parent 8d79fd448b
commit f512f76fcd
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-09-11 Tomas Frydrych <dr.tomas@yahoo.co.uk>
PR gas/3172
* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class
registers as a sub-class of wC registers.
2006-09-11 Alan Modra <amodra@bigpond.net.au>
PR gas/3165

View File

@ -1261,7 +1261,9 @@ parse_typed_reg_or_scalar (char **ccp, enum arm_reg_type type,
&& (reg->type == REG_TYPE_VFS || reg->type == REG_TYPE_VFD))
|| (type == REG_TYPE_NSDQ
&& (reg->type == REG_TYPE_VFS || reg->type == REG_TYPE_VFD
|| reg->type == REG_TYPE_NQ)))
|| reg->type == REG_TYPE_NQ))
|| (type == REG_TYPE_MMXWC
&& (reg->type == REG_TYPE_MMXWCG)))
type = reg->type;
if (type != reg->type)