Branch and link instructions modify r13

This commit is contained in:
Michael Meissner 1996-11-18 20:24:47 +00:00
parent b337f8691f
commit 228835a9b6
2 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,9 @@
start-sanitize-d10v
Mon Nov 18 15:22:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-d10v.c (parallel_ok): Branch and link instructions
modify r13.
Thu Nov 14 11:17:49 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c (write_2_short): Fix bug that wouldn't

View File

@ -859,6 +859,9 @@ parallel_ok (op1, insn1, op2, insn2)
ins = insn2;
}
mod[j] = used[j] = 0;
if (op->exec_type & BRANCH_LINK)
mod[j] |= 1 << 13;
for (i = 0; op->operands[i]; i++)
{
flags = d10v_operands[op->operands[i]].flags;