Revision 6c712321
b/target-ppc/translate.c | ||
---|---|---|
9053 | 9053 |
"%02x - %02x - %02x (%08x) " TARGET_FMT_lx " %d\n", |
9054 | 9054 |
opc1(ctx.opcode), opc2(ctx.opcode), |
9055 | 9055 |
opc3(ctx.opcode), ctx.opcode, ctx.nip - 4, (int)msr_ir); |
9056 |
} else { |
|
9057 |
printf("invalid/unsupported opcode: " |
|
9058 |
"%02x - %02x - %02x (%08x) " TARGET_FMT_lx " %d\n", |
|
9059 |
opc1(ctx.opcode), opc2(ctx.opcode), |
|
9060 |
opc3(ctx.opcode), ctx.opcode, ctx.nip - 4, (int)msr_ir); |
|
9061 | 9056 |
} |
9062 | 9057 |
} else { |
9063 | 9058 |
if (unlikely((ctx.opcode & handler->inval) != 0)) { |
... | ... | |
9067 | 9062 |
ctx.opcode & handler->inval, opc1(ctx.opcode), |
9068 | 9063 |
opc2(ctx.opcode), opc3(ctx.opcode), |
9069 | 9064 |
ctx.opcode, ctx.nip - 4); |
9070 |
} else { |
|
9071 |
printf("invalid bits: %08x for opcode: " |
|
9072 |
"%02x - %02x - %02x (%08x) " TARGET_FMT_lx "\n", |
|
9073 |
ctx.opcode & handler->inval, opc1(ctx.opcode), |
|
9074 |
opc2(ctx.opcode), opc3(ctx.opcode), |
|
9075 |
ctx.opcode, ctx.nip - 4); |
|
9076 | 9065 |
} |
9077 | 9066 |
gen_inval_exception(ctxp, POWERPC_EXCP_INVAL_INVAL); |
9078 | 9067 |
break; |
Also available in: Unified diff