From f512f76fcdc982a63363490bd2829054c4d7bc7c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 11 Sep 2006 14:27:32 +0000 Subject: [PATCH] PR gas/3172 * config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers as a sub-class of wC registers. --- gas/ChangeLog | 6 ++++++ gas/config/tc-arm.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2932e655c3a..b69fa8221e9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2006-09-11 Tomas Frydrych + + 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 PR gas/3165 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index a6f8b6bd3fa..19244d7d5c2 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) -- 2.30.2