mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
Fix bb instructions with double-word condition on hppa.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-07-31 John David Anglin <danglin@gcc.gnu.org>
|
||||||
|
|
||||||
|
* config/tc-hppa.c (pa_ip): Clear `d' bit in branch on bit instructions
|
||||||
|
with a double-word condition and a fixed bit position greater than 31.
|
||||||
|
|
||||||
2017-07-28 Andrew Waterman <andrew@sifive.com>
|
2017-07-28 Andrew Waterman <andrew@sifive.com>
|
||||||
|
|
||||||
* config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
|
* config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
|
||||||
|
@ -5216,9 +5216,7 @@ pa_ip (char *str)
|
|||||||
s = expr_end;
|
s = expr_end;
|
||||||
CHECK_FIELD (num, 63, 0, strict);
|
CHECK_FIELD (num, 63, 0, strict);
|
||||||
if (num & 0x20)
|
if (num & 0x20)
|
||||||
;
|
opcode &= ~(1 << 13);
|
||||||
else
|
|
||||||
opcode |= (1 << 13);
|
|
||||||
INSERT_FIELD_AND_CONTINUE (opcode, num & 0x1f, 21);
|
INSERT_FIELD_AND_CONTINUE (opcode, num & 0x1f, 21);
|
||||||
|
|
||||||
/* Handle a 5 bit immediate at 10. */
|
/* Handle a 5 bit immediate at 10. */
|
||||||
|
Reference in New Issue
Block a user