target: e2k: Replace some panics with messages.
This commit is contained in:
parent
b06832979a
commit
44279d5914
|
@ -972,14 +972,18 @@ static MemOp gen_mas(DisasContext *ctx, int chan, MemOp memop, TCGv_i64 addr)
|
|||
|
||||
if ((mas & 0x7) == 7) {
|
||||
// TODO: special mas
|
||||
e2k_tr_gen_exception(ctx, E2K_EXCP_ILLOPC);
|
||||
// e2k_tr_gen_exception(ctx, E2K_EXCP_ILLOPC);
|
||||
qemu_log_mask(LOG_UNIMP, "0x%lx: mas=0x%x is not implemented!\n",
|
||||
ctx->pc, mas);
|
||||
} else if (mas) {
|
||||
int mod = extract8(mas, 0, 3);
|
||||
// int dc = extract8(mas, 5, 2);
|
||||
|
||||
if (mod != 0) {
|
||||
// TODO: mas modes
|
||||
e2k_tr_gen_exception(ctx, E2K_EXCP_ILLOPC);
|
||||
// e2k_tr_gen_exception(ctx, E2K_EXCP_ILLOPC);
|
||||
qemu_log_mask(LOG_UNIMP, "0x%lx: mas=0x%x is not implemented!\n",
|
||||
ctx->pc, mas);
|
||||
}
|
||||
|
||||
memop |= GET_BIT(mas, 3) ? MO_BE : MO_LE;
|
||||
|
|
|
@ -448,7 +448,7 @@ static void gen_cs1(DisasContext *dc)
|
|||
// my_printf ("trap = %d, ", trap);
|
||||
}
|
||||
|
||||
abort();
|
||||
qemu_log_mask(LOG_UNIMP, "0x%lx: wait is not implemented!\n", dc->pc);
|
||||
// my_printf ("ma_c = %d, fl_c = %d, ld_c = %d, st_c = %d, all_e = %d, "
|
||||
// "all_c = %d", ma_c, fl_c, ld_c, st_c, all_e, all_c);
|
||||
} else if (opc == CALL) {
|
||||
|
|
Loading…
Reference in New Issue