target: e2k: Gen rt exception in udivs hack.
This commit is contained in:
parent
c8dc14e3a6
commit
16ef8861b7
|
@ -838,7 +838,7 @@ static void execute_alopf_simple(DisasContext *dc, int chan)
|
|||
TCGLabel *l0 = gen_new_label();
|
||||
TCGv_i64 src2 = get_src2(dc, als);
|
||||
tcg_gen_brcondi_i64(TCG_COND_NE, src2, 0, l0);
|
||||
e2k_tr_gen_exception(dc, 0);
|
||||
e2k_gen_exception(0);
|
||||
gen_set_label(l0);
|
||||
|
||||
gen_alopf1_i32(dc, chan, tcg_gen_divu_i32);
|
||||
|
|
Loading…
Reference in New Issue