OSDN Git Service

* config/tc-hppa.c (pa_ip): Support 'Z' argument.
authorlaw <law>
Tue, 7 Sep 1999 19:48:11 +0000 (19:48 +0000)
committerlaw <law>
Tue, 7 Sep 1999 19:48:11 +0000 (19:48 +0000)
gas/ChangeLog
gas/config/tc-hppa.c

index 47c6c10..6850921 100644 (file)
@@ -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  <ian@zembu.com>
 
        * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
index 5f938c5..823238f 100644 (file)
@@ -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);