cris: Handle opcode zero

It's a valid branch pc + 2.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2011-06-28 20:52:37 +02:00
parent c24a9c6ef9
commit 3ab20e206c

View File

@ -262,9 +262,6 @@ static unsigned int dec10_quick_imm(DisasContext *dc)
break; break;
case CRISV10_QIMM_BCC_R0: case CRISV10_QIMM_BCC_R0:
if (!dc->ir) {
cpu_abort(dc->env, "opcode zero\n");
}
case CRISV10_QIMM_BCC_R1: case CRISV10_QIMM_BCC_R1:
case CRISV10_QIMM_BCC_R2: case CRISV10_QIMM_BCC_R2:
case CRISV10_QIMM_BCC_R3: case CRISV10_QIMM_BCC_R3: