aboutsummaryrefslogtreecommitdiff
path: root/target-cris/translate_v10.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-06-28 20:52:37 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-06-28 20:52:37 +0200
commit3ab20e206ce74299e836bfec5ec27b7f261826be (patch)
treef36d4545dcd7d7f3bbe0384556468bdeeed9b786 /target-cris/translate_v10.c
parentc24a9c6ef946ec1b5b280061d4f7b579aaac6707 (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.c3
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: