* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
and 'f' template operand.
This commit is contained in:
parent
9ee57a5e1a
commit
51517966bc
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
Mon Jan 17 00:18:55 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Mon Jan 17 00:18:55 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
|
||||||
|
and 'f' template operand.
|
||||||
|
|
||||||
* config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
|
* config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
|
||||||
and '2' in copr and sfu instruction templates.
|
and '2' in copr and sfu instruction templates.
|
||||||
|
|
||||||
|
|
|
@ -2247,6 +2247,8 @@ pa_ip (str)
|
||||||
|
|
||||||
/* Handle a 3 bit SFU identifier at 25. */
|
/* Handle a 3 bit SFU identifier at 25. */
|
||||||
case 'f':
|
case 'f':
|
||||||
|
if (*s++ != ',')
|
||||||
|
as_bad ("Invalid SFU identifier");
|
||||||
num = pa_get_absolute_expression (&the_insn, &s);
|
num = pa_get_absolute_expression (&the_insn, &s);
|
||||||
s = expr_end;
|
s = expr_end;
|
||||||
CHECK_FIELD (num, 7, 0, 0);
|
CHECK_FIELD (num, 7, 0, 0);
|
||||||
|
@ -2285,6 +2287,8 @@ pa_ip (str)
|
||||||
|
|
||||||
/* Handle a 3-bit co-processor ID field. */
|
/* Handle a 3-bit co-processor ID field. */
|
||||||
case 'u':
|
case 'u':
|
||||||
|
if (*s++ != ',')
|
||||||
|
as_bad ("Invalid COPR identifier");
|
||||||
num = pa_get_absolute_expression (&the_insn, &s);
|
num = pa_get_absolute_expression (&the_insn, &s);
|
||||||
s = expr_end;
|
s = expr_end;
|
||||||
CHECK_FIELD (num, 7, 0, 0);
|
CHECK_FIELD (num, 7, 0, 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue