mirror of https://github.com/xemu-project/xemu.git
target-alpha: Honor icount for RPCC instruction.
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
6c731dc2af
commit
a9406ea127
|
@ -2721,8 +2721,16 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
|
||||||
break;
|
break;
|
||||||
case 0xC000:
|
case 0xC000:
|
||||||
/* RPCC */
|
/* RPCC */
|
||||||
if (ra != 31)
|
if (ra != 31) {
|
||||||
gen_helper_load_pcc(cpu_ir[ra]);
|
if (use_icount) {
|
||||||
|
gen_io_start();
|
||||||
|
gen_helper_load_pcc(cpu_ir[ra]);
|
||||||
|
gen_io_end();
|
||||||
|
ret = EXIT_PC_STALE;
|
||||||
|
} else {
|
||||||
|
gen_helper_load_pcc(cpu_ir[ra]);
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 0xE000:
|
case 0xE000:
|
||||||
/* RC */
|
/* RC */
|
||||||
|
|
Loading…
Reference in New Issue