target/hppa: use tb_cflags() to access tb->cflags
Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1518663946-2326-1-git-send-email-cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
47994e16b1
commit
84b41e658b
@ -2059,7 +2059,7 @@ static DisasJumpType trans_mfctl(DisasContext *ctx, uint32_t insn,
|
|||||||
/* FIXME: Respect PSW_S bit. */
|
/* FIXME: Respect PSW_S bit. */
|
||||||
nullify_over(ctx);
|
nullify_over(ctx);
|
||||||
tmp = dest_gpr(ctx, rt);
|
tmp = dest_gpr(ctx, rt);
|
||||||
if (ctx->base.tb->cflags & CF_USE_ICOUNT) {
|
if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) {
|
||||||
gen_io_start();
|
gen_io_start();
|
||||||
gen_helper_read_interval_timer(tmp);
|
gen_helper_read_interval_timer(tmp);
|
||||||
gen_io_end();
|
gen_io_end();
|
||||||
|
Loading…
Reference in New Issue
Block a user