/* Handle a 5 bit register or control register field at 10. */
case 'b':
case '^':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 31, 0, 0);
INSERT_FIELD_AND_CONTINUE (opcode, num, 21);
/* Handle a 5 bit register field at 15. */
case 'x':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 31, 0, 0);
INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
/* Handle a 5 bit register field at 31. */
case 't':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 31, 0, 0);
INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
/* Handle a 5 bit register field at 10 and 15. */
case 'a':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 31, 0, 0);
opcode |= num << 16;
INSERT_FIELD_AND_CONTINUE (opcode, num, 21);
/* Handle a 2 bit space identifier at 17. */
case 's':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 3, 0, 1);
INSERT_FIELD_AND_CONTINUE (opcode, num, 14);
/* Handle a 3 bit space identifier at 18. */
case 'S':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 7, 0, 1);
dis_assemble_3 (num, &num);
INSERT_FIELD_AND_CONTINUE (opcode, num, 13);
{
/* Float target register. */
case 't':
- num = pa_parse_number (&s, 0);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ num = pa_parse_number (&s, 0);
CHECK_FIELD (num, 31, 0, 0);
INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= result.number_part;
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= result.number_part << 21;
if (need_pa11_opcode (&the_insn, &result))
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= result.number_part << 21;
opcode |= (result.l_r_select & 1) << 7;
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= (result.number_part & 0x1f) << 16;
if (need_pa11_opcode (&the_insn, &result))
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= (result.number_part & 0x1f) << 16;
opcode |= (result.l_r_select & 1) << 12;
struct pa_11_fp_reg_struct result;
int regnum;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= (result.number_part & 0x1c) << 11;
opcode |= (result.number_part & 0x3) << 9;
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
if (the_insn.fpof1 == SGL)
{
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
if (the_insn.fpof1 == SGL)
{
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
if (the_insn.fpof1 == SGL)
{
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
if (the_insn.fpof1 == SGL)
{
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
if (the_insn.fpof1 == SGL)
{
{
struct pa_11_fp_reg_struct result;
- pa_parse_number (&s, &result);
/* This should be more strict. Small steps. */
if (strict && *s != '%')
break;
+ pa_parse_number (&s, &result);
CHECK_FIELD (result.number_part, 31, 0, 0);
opcode |= (result.number_part & 0x1f) << 16;
if (need_pa11_opcode (&the_insn, &result))