diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-06-28 20:52:37 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-06-28 20:52:37 +0200 |
commit | 3ab20e206ce74299e836bfec5ec27b7f261826be (patch) | |
tree | f36d4545dcd7d7f3bbe0384556468bdeeed9b786 /target-cris/translate_v10.c | |
parent | c24a9c6ef946ec1b5b280061d4f7b579aaac6707 (diff) |
cris: Handle opcode zero
It's a valid branch pc + 2.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-cris/translate_v10.c')
-rw-r--r-- | target-cris/translate_v10.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/target-cris/translate_v10.c b/target-cris/translate_v10.c index 5b14157d1a..637ac2084a 100644 --- a/target-cris/translate_v10.c +++ b/target-cris/translate_v10.c @@ -262,9 +262,6 @@ static unsigned int dec10_quick_imm(DisasContext *dc) break; case CRISV10_QIMM_BCC_R0: - if (!dc->ir) { - cpu_abort(dc->env, "opcode zero\n"); - } case CRISV10_QIMM_BCC_R1: case CRISV10_QIMM_BCC_R2: case CRISV10_QIMM_BCC_R3: |