mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
processing.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
|
||||||
|
|
||||||
|
* config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
|
||||||
|
processing.
|
||||||
|
|
||||||
1999-07-27 Ian Lance Taylor <ian@zembu.com>
|
1999-07-27 Ian Lance Taylor <ian@zembu.com>
|
||||||
|
|
||||||
* config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
|
* config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
|
||||||
|
@ -2468,6 +2468,18 @@ pa_ip (str)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Float operand 1 similar to 'b' but with l/r registers. */
|
||||||
|
case 'J':
|
||||||
|
{
|
||||||
|
struct pa_11_fp_reg_struct result;
|
||||||
|
|
||||||
|
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;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* Handle L/R register halves like 'b'. */
|
/* Handle L/R register halves like 'b'. */
|
||||||
case '3':
|
case '3':
|
||||||
{
|
{
|
||||||
@ -2513,6 +2525,18 @@ pa_ip (str)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Float operand 2, like 'x' but with l/r register halves. */
|
||||||
|
case 'K':
|
||||||
|
{
|
||||||
|
struct pa_11_fp_reg_struct result;
|
||||||
|
|
||||||
|
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;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* Handle a 5 bit register field at 10. */
|
/* Handle a 5 bit register field at 10. */
|
||||||
case '4':
|
case '4':
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user