From 4964086a669532a4daf23aab3c2978a95af42594 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 7 Sep 1999 19:48:13 +0000 Subject: [PATCH] * config/tc-hppa.c (pa_ip): Support 'Z' argument. --- gas/ChangeLog | 2 ++ gas/config/tc-hppa.c | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 47c6c1033a6..6850921902e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -3,6 +3,8 @@ Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com) * config/tc-hppa.c (pa_ip): Put strict register checks before call to pa_parse_number. + * config/tc-hppa.c (pa_ip): Support 'Z' argument. + 1999-09-06 Ian Lance Taylor * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 5f938c5df44..823238f7d64 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -2830,6 +2830,17 @@ pa_ip (str) continue; } + /* Handle '%r1' implicit operand of addil instruction. */ + case 'Z': + if (*s == ',' && *(s + 1) == '%' && *(s + 3) == '1' + && (*(s + 2) == 'r' || *(s + 2) == 'R')) + { + s += 4; + continue; + } + else + break; + /* Handle a 2 bit shift count at 25. */ case '.': num = pa_get_absolute_expression (&the_insn, &s); -- 2.30.2