Revision 2796188e target-mips/translate.c
b/target-mips/translate.c | ||
---|---|---|
7386 | 7386 |
switch (rd) { |
7387 | 7387 |
case 0: |
7388 | 7388 |
save_cpu_state(ctx, 1); |
7389 |
tcg_gen_helper_1_1(do_rdhwr_cpunum, t0, t0);
|
|
7389 |
tcg_gen_helper_1_0(do_rdhwr_cpunum, t0);
|
|
7390 | 7390 |
break; |
7391 | 7391 |
case 1: |
7392 | 7392 |
save_cpu_state(ctx, 1); |
7393 |
tcg_gen_helper_1_1(do_rdhwr_synci_step, t0, t0);
|
|
7393 |
tcg_gen_helper_1_0(do_rdhwr_synci_step, t0);
|
|
7394 | 7394 |
break; |
7395 | 7395 |
case 2: |
7396 | 7396 |
save_cpu_state(ctx, 1); |
7397 |
tcg_gen_helper_1_1(do_rdhwr_cc, t0, t0);
|
|
7397 |
tcg_gen_helper_1_0(do_rdhwr_cc, t0);
|
|
7398 | 7398 |
break; |
7399 | 7399 |
case 3: |
7400 | 7400 |
save_cpu_state(ctx, 1); |
7401 |
tcg_gen_helper_1_1(do_rdhwr_ccres, t0, t0);
|
|
7401 |
tcg_gen_helper_1_0(do_rdhwr_ccres, t0);
|
|
7402 | 7402 |
break; |
7403 | 7403 |
case 29: |
7404 | 7404 |
#if defined (CONFIG_USER_ONLY) |
... | ... | |
7548 | 7548 |
case OPC_DI: |
7549 | 7549 |
check_insn(env, ctx, ISA_MIPS32R2); |
7550 | 7550 |
save_cpu_state(ctx, 1); |
7551 |
tcg_gen_helper_1_1(do_di, t0, t0);
|
|
7551 |
tcg_gen_helper_1_0(do_di, t0);
|
|
7552 | 7552 |
/* Stop translation as we may have switched the execution mode */ |
7553 | 7553 |
ctx->bstate = BS_STOP; |
7554 | 7554 |
break; |
7555 | 7555 |
case OPC_EI: |
7556 | 7556 |
check_insn(env, ctx, ISA_MIPS32R2); |
7557 | 7557 |
save_cpu_state(ctx, 1); |
7558 |
tcg_gen_helper_1_1(do_ei, t0, t0);
|
|
7558 |
tcg_gen_helper_1_0(do_ei, t0);
|
|
7559 | 7559 |
/* Stop translation as we may have switched the execution mode */ |
7560 | 7560 |
ctx->bstate = BS_STOP; |
7561 | 7561 |
break; |
Also available in: Unified diff