aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-09-11 14:27:32 +0000
committerNick Clifton <nickc@redhat.com>2006-09-11 14:27:32 +0000
commitf512f76fcdc982a63363490bd2829054c4d7bc7c (patch)
tree96465849b019d29b0b5463865aa7e225ed13e061 /gas
parent8d79fd448b803f22511862c457478c986aadc94b (diff)
downloadgdb-f512f76fcdc982a63363490bd2829054c4d7bc7c.zip
gdb-f512f76fcdc982a63363490bd2829054c4d7bc7c.tar.gz
gdb-f512f76fcdc982a63363490bd2829054c4d7bc7c.tar.bz2
PR gas/3172
* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers as a sub-class of wC registers.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2932e65..b69fa82 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index a6f8b6b..19244d7 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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)