const char *rn = "invalid";
switch (reg) {
- case 2:
+ case CPO_REGISTER_02:
switch (sel) {
case 0:
CP0_CHECK(ctx->hflags & MIPS_HFLAG_ELPA);
goto cp0_unimplemented;
}
break;
- case 3:
+ case CPO_REGISTER_03:
switch (sel) {
case 0:
CP0_CHECK(ctx->hflags & MIPS_HFLAG_ELPA);
goto cp0_unimplemented;
}
break;
- case 17:
+ case CPO_REGISTER_17:
switch (sel) {
case 0:
gen_mfhc0_load64(arg, offsetof(CPUMIPSState, lladdr),
goto cp0_unimplemented;
}
break;
- case 28:
+ case CPO_REGISTER_28:
switch (sel) {
case 0:
case 2:
uint64_t mask = ctx->PAMask >> 36;
switch (reg) {
- case 2:
+ case CPO_REGISTER_02:
switch (sel) {
case 0:
CP0_CHECK(ctx->hflags & MIPS_HFLAG_ELPA);
goto cp0_unimplemented;
}
break;
- case 3:
+ case CPO_REGISTER_03:
switch (sel) {
case 0:
CP0_CHECK(ctx->hflags & MIPS_HFLAG_ELPA);
goto cp0_unimplemented;
}
break;
- case 17:
+ case CPO_REGISTER_17:
switch (sel) {
case 0:
/* LLAddr is read-only (the only exception is bit 0 if LLB is
goto cp0_unimplemented;
}
break;
- case 28:
+ case CPO_REGISTER_28:
switch (sel) {
case 0:
case 2:
check_insn(ctx, ISA_MIPS32);
switch (reg) {
- case 0:
+ case CPO_REGISTER_00:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Index));
goto cp0_unimplemented;
}
break;
- case 1:
+ case CPO_REGISTER_01:
switch (sel) {
case 0:
CP0_CHECK(!(ctx->insn_flags & ISA_MIPS32R6));
goto cp0_unimplemented;
}
break;
- case 2:
+ case CPO_REGISTER_02:
switch (sel) {
case 0:
{
goto cp0_unimplemented;
}
break;
- case 3:
+ case CPO_REGISTER_03:
switch (sel) {
case 0:
{
goto cp0_unimplemented;
}
break;
- case 4:
+ case CPO_REGISTER_04:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_Context));
goto cp0_unimplemented;
}
break;
- case 5:
+ case CPO_REGISTER_05:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_PageMask));
goto cp0_unimplemented;
}
break;
- case 6:
+ case CPO_REGISTER_06:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Wired));
goto cp0_unimplemented;
}
break;
- case 7:
+ case CPO_REGISTER_07:
switch (sel) {
case 0:
check_insn(ctx, ISA_MIPS32R2);
goto cp0_unimplemented;
}
break;
- case 8:
+ case CPO_REGISTER_08:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_BadVAddr));
goto cp0_unimplemented;
}
break;
- case 9:
+ case CPO_REGISTER_09:
switch (sel) {
case 0:
/* Mark as an IO operation because we read the time. */
goto cp0_unimplemented;
}
break;
- case 10:
+ case CPO_REGISTER_10:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EntryHi));
goto cp0_unimplemented;
}
break;
- case 11:
+ case CPO_REGISTER_11:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Compare));
goto cp0_unimplemented;
}
break;
- case 12:
+ case CPO_REGISTER_12:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Status));
goto cp0_unimplemented;
}
break;
- case 13:
+ case CPO_REGISTER_13:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Cause));
goto cp0_unimplemented;
}
break;
- case 14:
+ case CPO_REGISTER_14:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EPC));
goto cp0_unimplemented;
}
break;
- case 15:
+ case CPO_REGISTER_15:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_PRid));
goto cp0_unimplemented;
}
break;
- case 16:
+ case CPO_REGISTER_16:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Config0));
goto cp0_unimplemented;
}
break;
- case 17:
+ case CPO_REGISTER_17:
switch (sel) {
case 0:
gen_helper_mfc0_lladdr(arg, cpu_env);
goto cp0_unimplemented;
}
break;
- case 18:
+ case CPO_REGISTER_18:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 19:
+ case CPO_REGISTER_19:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 20:
+ case CPO_REGISTER_20:
switch (sel) {
case 0:
#if defined(TARGET_MIPS64)
goto cp0_unimplemented;
}
break;
- case 21:
+ case CPO_REGISTER_21:
/* Officially reserved, but sel 0 is used for R1x000 framemask */
CP0_CHECK(!(ctx->insn_flags & ISA_MIPS32R6));
switch (sel) {
goto cp0_unimplemented;
}
break;
- case 22:
+ case CPO_REGISTER_22:
tcg_gen_movi_tl(arg, 0); /* unimplemented */
rn = "'Diagnostic"; /* implementation dependent */
break;
- case 23:
+ case CPO_REGISTER_23:
switch (sel) {
case 0:
gen_helper_mfc0_debug(arg, cpu_env); /* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 24:
+ case CPO_REGISTER_24:
switch (sel) {
case 0:
/* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 25:
+ case CPO_REGISTER_25:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Performance0));
goto cp0_unimplemented;
}
break;
- case 26:
+ case CPO_REGISTER_26:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_ErrCtl));
goto cp0_unimplemented;
}
break;
- case 27:
+ case CPO_REGISTER_27:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 28:
+ case CPO_REGISTER_28:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 29:
+ case CPO_REGISTER_29:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 30:
+ case CPO_REGISTER_30:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEPC));
goto cp0_unimplemented;
}
break;
- case 31:
+ case CPO_REGISTER_31:
switch (sel) {
case 0:
/* EJTAG support */
}
switch (reg) {
- case 0:
+ case CPO_REGISTER_00:
switch (sel) {
case 0:
gen_helper_mtc0_index(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 1:
+ case CPO_REGISTER_01:
switch (sel) {
case 0:
/* ignored */
goto cp0_unimplemented;
}
break;
- case 2:
+ case CPO_REGISTER_02:
switch (sel) {
case 0:
gen_helper_mtc0_entrylo0(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 3:
+ case CPO_REGISTER_03:
switch (sel) {
case 0:
gen_helper_mtc0_entrylo1(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 4:
+ case CPO_REGISTER_04:
switch (sel) {
case 0:
gen_helper_mtc0_context(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 5:
+ case CPO_REGISTER_05:
switch (sel) {
case 0:
gen_helper_mtc0_pagemask(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 6:
+ case CPO_REGISTER_06:
switch (sel) {
case 0:
gen_helper_mtc0_wired(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 7:
+ case CPO_REGISTER_07:
switch (sel) {
case 0:
check_insn(ctx, ISA_MIPS32R2);
goto cp0_unimplemented;
}
break;
- case 8:
+ case CPO_REGISTER_08:
switch (sel) {
case 0:
/* ignored */
goto cp0_unimplemented;
}
break;
- case 9:
+ case CPO_REGISTER_09:
switch (sel) {
case 0:
gen_helper_mtc0_count(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 10:
+ case CPO_REGISTER_10:
switch (sel) {
case 0:
gen_helper_mtc0_entryhi(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 11:
+ case CPO_REGISTER_11:
switch (sel) {
case 0:
gen_helper_mtc0_compare(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 12:
+ case CPO_REGISTER_12:
switch (sel) {
case 0:
save_cpu_state(ctx, 1);
goto cp0_unimplemented;
}
break;
- case 13:
+ case CPO_REGISTER_13:
switch (sel) {
case 0:
save_cpu_state(ctx, 1);
goto cp0_unimplemented;
}
break;
- case 14:
+ case CPO_REGISTER_14:
switch (sel) {
case 0:
tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EPC));
goto cp0_unimplemented;
}
break;
- case 15:
+ case CPO_REGISTER_15:
switch (sel) {
case 0:
/* ignored */
goto cp0_unimplemented;
}
break;
- case 16:
+ case CPO_REGISTER_16:
switch (sel) {
case 0:
gen_helper_mtc0_config0(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 17:
+ case CPO_REGISTER_17:
switch (sel) {
case 0:
gen_helper_mtc0_lladdr(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 18:
+ case CPO_REGISTER_18:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 19:
+ case CPO_REGISTER_19:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 20:
+ case CPO_REGISTER_20:
switch (sel) {
case 0:
#if defined(TARGET_MIPS64)
goto cp0_unimplemented;
}
break;
- case 21:
+ case CPO_REGISTER_21:
/* Officially reserved, but sel 0 is used for R1x000 framemask */
CP0_CHECK(!(ctx->insn_flags & ISA_MIPS32R6));
switch (sel) {
goto cp0_unimplemented;
}
break;
- case 22:
+ case CPO_REGISTER_22:
/* ignored */
rn = "Diagnostic"; /* implementation dependent */
break;
- case 23:
+ case CPO_REGISTER_23:
switch (sel) {
case 0:
gen_helper_mtc0_debug(cpu_env, arg); /* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 24:
+ case CPO_REGISTER_24:
switch (sel) {
case 0:
/* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 25:
+ case CPO_REGISTER_25:
switch (sel) {
case 0:
gen_helper_mtc0_performance0(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 26:
+ case CPO_REGISTER_26:
switch (sel) {
case 0:
gen_helper_mtc0_errctl(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 27:
+ case CPO_REGISTER_27:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 28:
+ case CPO_REGISTER_28:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 29:
+ case CPO_REGISTER_29:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 30:
+ case CPO_REGISTER_30:
switch (sel) {
case 0:
tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEPC));
goto cp0_unimplemented;
}
break;
- case 31:
+ case CPO_REGISTER_31:
switch (sel) {
case 0:
/* EJTAG support */
check_insn(ctx, ISA_MIPS64);
switch (reg) {
- case 0:
+ case CPO_REGISTER_00:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Index));
goto cp0_unimplemented;
}
break;
- case 1:
+ case CPO_REGISTER_01:
switch (sel) {
case 0:
CP0_CHECK(!(ctx->insn_flags & ISA_MIPS32R6));
goto cp0_unimplemented;
}
break;
- case 2:
+ case CPO_REGISTER_02:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EntryLo0));
goto cp0_unimplemented;
}
break;
- case 3:
+ case CPO_REGISTER_03:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EntryLo1));
goto cp0_unimplemented;
}
break;
- case 4:
+ case CPO_REGISTER_04:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_Context));
goto cp0_unimplemented;
}
break;
- case 5:
+ case CPO_REGISTER_05:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_PageMask));
goto cp0_unimplemented;
}
break;
- case 6:
+ case CPO_REGISTER_06:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Wired));
goto cp0_unimplemented;
}
break;
- case 7:
+ case CPO_REGISTER_07:
switch (sel) {
case 0:
check_insn(ctx, ISA_MIPS32R2);
goto cp0_unimplemented;
}
break;
- case 8:
+ case CPO_REGISTER_08:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_BadVAddr));
goto cp0_unimplemented;
}
break;
- case 9:
+ case CPO_REGISTER_09:
switch (sel) {
case 0:
/* Mark as an IO operation because we read the time. */
goto cp0_unimplemented;
}
break;
- case 10:
+ case CPO_REGISTER_10:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EntryHi));
goto cp0_unimplemented;
}
break;
- case 11:
+ case CPO_REGISTER_11:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Compare));
goto cp0_unimplemented;
}
break;
- case 12:
+ case CPO_REGISTER_12:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Status));
goto cp0_unimplemented;
}
break;
- case 13:
+ case CPO_REGISTER_13:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Cause));
goto cp0_unimplemented;
}
break;
- case 14:
+ case CPO_REGISTER_14:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EPC));
goto cp0_unimplemented;
}
break;
- case 15:
+ case CPO_REGISTER_15:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_PRid));
goto cp0_unimplemented;
}
break;
- case 16:
+ case CPO_REGISTER_16:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Config0));
goto cp0_unimplemented;
}
break;
- case 17:
+ case CPO_REGISTER_17:
switch (sel) {
case 0:
gen_helper_dmfc0_lladdr(arg, cpu_env);
goto cp0_unimplemented;
}
break;
- case 18:
+ case CPO_REGISTER_18:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 19:
+ case CPO_REGISTER_19:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 20:
+ case CPO_REGISTER_20:
switch (sel) {
case 0:
check_insn(ctx, ISA_MIPS3);
goto cp0_unimplemented;
}
break;
- case 21:
+ case CPO_REGISTER_21:
/* Officially reserved, but sel 0 is used for R1x000 framemask */
CP0_CHECK(!(ctx->insn_flags & ISA_MIPS32R6));
switch (sel) {
goto cp0_unimplemented;
}
break;
- case 22:
+ case CPO_REGISTER_22:
tcg_gen_movi_tl(arg, 0); /* unimplemented */
rn = "'Diagnostic"; /* implementation dependent */
break;
- case 23:
+ case CPO_REGISTER_23:
switch (sel) {
case 0:
gen_helper_mfc0_debug(arg, cpu_env); /* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 24:
+ case CPO_REGISTER_24:
switch (sel) {
case 0:
/* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 25:
+ case CPO_REGISTER_25:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Performance0));
goto cp0_unimplemented;
}
break;
- case 26:
+ case CPO_REGISTER_26:
switch (sel) {
case 0:
gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_ErrCtl));
goto cp0_unimplemented;
}
break;
- case 27:
+ case CPO_REGISTER_27:
switch (sel) {
/* ignored */
case 0:
goto cp0_unimplemented;
}
break;
- case 28:
+ case CPO_REGISTER_28:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 29:
+ case CPO_REGISTER_29:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 30:
+ case CPO_REGISTER_30:
switch (sel) {
case 0:
tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEPC));
goto cp0_unimplemented;
}
break;
- case 31:
+ case CPO_REGISTER_31:
switch (sel) {
case 0:
/* EJTAG support */
}
switch (reg) {
- case 0:
+ case CPO_REGISTER_00:
switch (sel) {
case 0:
gen_helper_mtc0_index(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 1:
+ case CPO_REGISTER_01:
switch (sel) {
case 0:
/* ignored */
goto cp0_unimplemented;
}
break;
- case 2:
+ case CPO_REGISTER_02:
switch (sel) {
case 0:
gen_helper_dmtc0_entrylo0(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 3:
+ case CPO_REGISTER_03:
switch (sel) {
case 0:
gen_helper_dmtc0_entrylo1(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 4:
+ case CPO_REGISTER_04:
switch (sel) {
case 0:
gen_helper_mtc0_context(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 5:
+ case CPO_REGISTER_05:
switch (sel) {
case 0:
gen_helper_mtc0_pagemask(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 6:
+ case CPO_REGISTER_06:
switch (sel) {
case 0:
gen_helper_mtc0_wired(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 7:
+ case CPO_REGISTER_07:
switch (sel) {
case 0:
check_insn(ctx, ISA_MIPS32R2);
goto cp0_unimplemented;
}
break;
- case 8:
+ case CPO_REGISTER_08:
switch (sel) {
case 0:
/* ignored */
goto cp0_unimplemented;
}
break;
- case 9:
+ case CPO_REGISTER_09:
switch (sel) {
case 0:
gen_helper_mtc0_count(cpu_env, arg);
/* Stop translation as we may have switched the execution mode */
ctx->base.is_jmp = DISAS_STOP;
break;
- case 10:
+ case CPO_REGISTER_10:
switch (sel) {
case 0:
gen_helper_mtc0_entryhi(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 11:
+ case CPO_REGISTER_11:
switch (sel) {
case 0:
gen_helper_mtc0_compare(cpu_env, arg);
/* Stop translation as we may have switched the execution mode */
ctx->base.is_jmp = DISAS_STOP;
break;
- case 12:
+ case CPO_REGISTER_12:
switch (sel) {
case 0:
save_cpu_state(ctx, 1);
goto cp0_unimplemented;
}
break;
- case 13:
+ case CPO_REGISTER_13:
switch (sel) {
case 0:
save_cpu_state(ctx, 1);
goto cp0_unimplemented;
}
break;
- case 14:
+ case CPO_REGISTER_14:
switch (sel) {
case 0:
tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_EPC));
goto cp0_unimplemented;
}
break;
- case 15:
+ case CPO_REGISTER_15:
switch (sel) {
case 0:
/* ignored */
goto cp0_unimplemented;
}
break;
- case 16:
+ case CPO_REGISTER_16:
switch (sel) {
case 0:
gen_helper_mtc0_config0(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 17:
+ case CPO_REGISTER_17:
switch (sel) {
case 0:
gen_helper_mtc0_lladdr(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 18:
+ case CPO_REGISTER_18:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 19:
+ case CPO_REGISTER_19:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 20:
+ case CPO_REGISTER_20:
switch (sel) {
case 0:
check_insn(ctx, ISA_MIPS3);
goto cp0_unimplemented;
}
break;
- case 21:
+ case CPO_REGISTER_21:
/* Officially reserved, but sel 0 is used for R1x000 framemask */
CP0_CHECK(!(ctx->insn_flags & ISA_MIPS32R6));
switch (sel) {
goto cp0_unimplemented;
}
break;
- case 22:
+ case CPO_REGISTER_22:
/* ignored */
rn = "Diagnostic"; /* implementation dependent */
break;
- case 23:
+ case CPO_REGISTER_23:
switch (sel) {
case 0:
gen_helper_mtc0_debug(cpu_env, arg); /* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 24:
+ case CPO_REGISTER_24:
switch (sel) {
case 0:
/* EJTAG support */
goto cp0_unimplemented;
}
break;
- case 25:
+ case CPO_REGISTER_25:
switch (sel) {
case 0:
gen_helper_mtc0_performance0(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 26:
+ case CPO_REGISTER_26:
switch (sel) {
case 0:
gen_helper_mtc0_errctl(cpu_env, arg);
goto cp0_unimplemented;
}
break;
- case 27:
+ case CPO_REGISTER_27:
switch (sel) {
case 0:
case 1:
goto cp0_unimplemented;
}
break;
- case 28:
+ case CPO_REGISTER_28:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 29:
+ case CPO_REGISTER_29:
switch (sel) {
case 0:
case 2:
goto cp0_unimplemented;
}
break;
- case 30:
+ case CPO_REGISTER_30:
switch (sel) {
case 0:
tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEPC));
goto cp0_unimplemented;
}
break;
- case 31:
+ case CPO_REGISTER_31:
switch (sel) {
case 0:
/* EJTAG support */