PR gas/3172
authorNick Clifton <nickc@redhat.com>
Mon, 11 Sep 2006 14:27:32 +0000 (14:27 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 11 Sep 2006 14:27:32 +0000 (14:27 +0000)
* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers
  as a sub-class of wC registers.

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

index 2932e655c3aeea61ea3db7c562d1c118762f59c7..b69fa8221e9cea4538b0d79a805a787535a63a56 100644 (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
index a6f8b6bd3fae112adb0a429c7fa7c5cad51b15e7..19244d7d5c24f001e8cd9447b48c010d9f1df306 100644 (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)