* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.

(pa_ip, case 'm'): Failure to get a CBIT specifier just means the
        insn does not match and we should try the next insn in the table.
This commit is contained in:
Jeff Law 1999-09-22 15:43:26 +00:00
parent 913f265c25
commit b1039fc41e
2 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,9 @@
Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
(pa_ip, case 'm'): Failure to get a CBIT specifier just means the
insn does not match and we should try the next insn in the table.
1999-09-22 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.

View file

@ -2139,9 +2139,13 @@ pa_ip (str)
case '*':
if (*s++ == ',')
{
int permloc[4] = {13,10,8,6};
int permloc[4];
int perm = 0;
int i = 0;
permloc[0] = 13;
permloc[1] = 10;
permloc[2] = 8;
permloc[3] = 6;
for (; i < 4; i++)
{
switch (*s++)
@ -2777,16 +2781,16 @@ pa_ip (str)
are 0..6 inclusive. */
case 'm':
get_expression (s);
s = expr_end;
if (the_insn.exp.X_op == O_constant)
{
s = expr_end;
num = evaluate_absolute (&the_insn);
CHECK_FIELD (num, 6, 0, 0);
num = (num + 1) ^ 1;
INSERT_FIELD_AND_CONTINUE (opcode, num, 13);
}
else
as_bad (_("Invalid CBit Specification: %s"), s);
break;
/* Handle graphics test completers for ftest */
case '=':