Revision 38121543
b/target-mips/translate.c | ||
---|---|---|
1375 | 1375 |
if (ctx->hflags & MIPS_HFLAG_BMASK) { |
1376 | 1376 |
if (loglevel & CPU_LOG_TB_IN_ASM) { |
1377 | 1377 |
fprintf(logfile, |
1378 |
"undefined branch in delay slot at pc 0x%08x\n", ctx->pc); |
|
1378 |
"undefined branch in delay slot at PC " TARGET_FMT_lx "\n", |
|
1379 |
ctx->pc); |
|
1379 | 1380 |
} |
1380 | 1381 |
MIPS_INVAL("branch/jump in bdelay slot"); |
1381 | 1382 |
generate_exception(ctx, EXCP_RI); |
... | ... | |
4841 | 4842 |
} |
4842 | 4843 |
GEN_STORE_TN_REG(rt, T0); |
4843 | 4844 |
break; |
4844 |
/* Shadow registers (not implemented). */ |
|
4845 | 4845 |
case OPC_RDPGPR: |
4846 | 4846 |
case OPC_WRPGPR: |
4847 |
if ((env->CP0_Config0 & (0x7 << CP0C0_AR)) == (1 << CP0C0_AR)) { |
|
4848 |
/* Shadow registers not implemented. */ |
|
4849 |
GEN_LOAD_REG_TN(T0, rt); |
|
4850 |
GEN_STORE_TN_REG(rd, T0); |
|
4851 |
} else |
|
4852 |
generate_exception(ctx, EXCP_RI); |
|
4853 |
break; |
|
4847 | 4854 |
default: |
4848 | 4855 |
generate_exception(ctx, EXCP_RI); |
4849 | 4856 |
break; |
Also available in: Unified diff