* config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work

for 'z' operands (target of ble branch).
This commit is contained in:
Jeff Law 1993-11-07 09:03:59 +00:00
parent f60a4a0b52
commit 163aac84be
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Nov 7 01:02:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work
for 'z' operands (target of ble branch).
Sat Nov 6 22:41:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/tc-hppa.c: (update_subspace): Fix type and name of last

View file

@ -2320,7 +2320,9 @@ pa_ip (str)
{
unsigned int w2, w1, w, result;
sign_unext (the_insn.exp.X_add_number >> 2, 17, &result);
result = evaluate_absolute (the_insn.exp,
the_insn.field_selector);
sign_unext (result >> 2, 17, &result);
dis_assemble_17 (result, &w1, &w2, &w);
opcode |= ((w2 << 2) | (w1 << 16) | w);
}