* config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when

bundling a non-delayed branch type instruction.
This commit is contained in:
Richard Henderson 2000-04-21 17:20:03 +00:00
parent c221dafc2e
commit 6677867973
2 changed files with 195 additions and 191 deletions

View File

@ -1,3 +1,8 @@
2000-04-21 Richard Henderson <rth@cygnus.com>
* config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
bundling a non-delayed branch type instruction.
2000-04-20 Alexandre Oliva <aoliva@cygnus.com> 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
* config/tc-mn10300.c (HAVE_AM30): Define. * config/tc-mn10300.c (HAVE_AM30): Define.

View File

@ -814,8 +814,7 @@ write_2_short (opcode1, insn1, opcode2, insn2, exec_type, fx)
} }
} }
else if ((opcode1->op->flags_used & (FLAG_JMP | FLAG_JSR) else if ((opcode1->op->flags_used & (FLAG_JMP | FLAG_JSR)
&& ((opcode1->op->flags_used & FLAG_DELAY) == 0) && ((opcode1->op->flags_used & FLAG_DELAY) == 0))
&& ((opcode1->ecc == ECC_AL) || ! Optimizing))
|| opcode1->op->flags_used & FLAG_RP) || opcode1->op->flags_used & FLAG_RP)
{ {
/* We must emit (non-delayed) branch type instructions /* We must emit (non-delayed) branch type instructions