From dbe2f9eec872498a07c309a7bf769303ca0c8ae8 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 19 Sep 1999 17:09:23 +0000 Subject: [PATCH] * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands. --- gas/ChangeLog | 2 ++ gas/config/tc-hppa.c | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index f1aa1fd8603..3c157d5f3d4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com) + * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands. + * config/tc-hppa.c (pa_ip): Handle 'l' operand. * config/tc-hppa.c (pa_ip): Handle 'g' operand. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index d0e1dec4e90..a2e31291d6c 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -2698,6 +2698,24 @@ pa_ip (str) break; continue; + /* Handle ,push completer for new syntax branches. */ + case 'M': + if (*s == ',' && strcasecmp (s + 1, "push") == 0) + s += 5; + else + break; + continue; + + /* Handle ,%r2 completer for new syntax branches. */ + case 'L': + if (*s == ',' && strcasecmp (s + 1, "%r2") == 0) + s += 4; + else if (*s == ',' && strcasecmp (s + 1, "%rp") == 0) + s += 4; + else + break; + continue; + /* Handle a 11 bit immediate at 31. */ case 'i': the_insn.field_selector = pa_chk_field_selector (&s); -- 2.30.2