Home | History | Annotate | Download | only in target-mips

Lines Matching refs:hflags

433 static TCGv_i32 hflags;
469 uint32_t hflags, saved_hflags;
617 if (ctx->hflags & MIPS_HFLAG_F64) {
632 if (ctx->hflags & MIPS_HFLAG_F64) {
753 LOG_DISAS("hflags %08x saved %08x\n", ctx->hflags, ctx->saved_hflags);
758 if (ctx->hflags != ctx->saved_hflags) {
759 tcg_gen_movi_i32(hflags, ctx->hflags);
760 ctx->saved_hflags = ctx->hflags;
761 switch (ctx->hflags & MIPS_HFLAG_BMASK) {
775 ctx->saved_hflags = ctx->hflags;
776 switch (ctx->hflags & MIPS_HFLAG_BMASK) {
814 if (((ctx->hflags & MIPS_HFLAG_KSU) == MIPS_HFLAG_UM) &&
815 !(ctx->hflags & MIPS_HFLAG_UX)) {
823 if (unlikely(!(ctx->hflags & MIPS_HFLAG_CP0)))
829 if (unlikely(!(ctx->hflags & MIPS_HFLAG_FPU)))
839 if (unlikely(!(ctx->hflags & MIPS_HFLAG_COP1X)))
848 if (unlikely(~ctx->hflags & (MIPS_HFLAG_F64 | MIPS_HFLAG_COP1X)))
865 if (unlikely(!(ctx->hflags & MIPS_HFLAG_F64) && (regs & 1)))
881 if (unlikely(!(ctx->hflags & MIPS_HFLAG_64)))
2477 if (ctx->hflags & MIPS_HFLAG_BMASK) {
2550 ctx->hflags |= MIPS_HFLAG_B;
2557 ctx->hflags |= MIPS_HFLAG_B;
2584 ctx->hflags |= MIPS_HFLAG_B;
2589 ctx->hflags |= MIPS_HFLAG_B;
2593 ctx->hflags |= MIPS_HFLAG_BR;
2598 ctx->hflags |= MIPS_HFLAG_BR;
2675 ctx->hflags |= MIPS_HFLAG_BC;
2682 ctx->hflags |= MIPS_HFLAG_BL;
2691 blink, ctx->hflags, btgt);
3727 /* BS_STOP isn't good enough here, hflags may have changed. */
3892 /* BS_STOP isn't good enough here, hflags may have changed. */
4893 /* BS_STOP isn't good enough here, hflags may have changed. */
5047 /* BS_STOP isn't good enough here, hflags may have changed. */
5646 if (!(ctx->hflags & MIPS_HFLAG_DM)) {
5714 ctx->hflags |= MIPS_HFLAG_BL;
5774 ctx->hflags |= MIPS_HFLAG_BC;
5782 ctx->hflags, btarget);
7643 if ((ctx->hflags & MIPS_HFLAG_BMASK) == MIPS_HFLAG_BL) {
7648 tcg_gen_movi_i32(hflags, ctx->hflags & ~MIPS_HFLAG_BMASK);
7814 if (!(ctx->hflags & MIPS_HFLAG_DM)) {
8231 if (ctx->hflags & MIPS_HFLAG_BMASK) {
8232 int hflags = ctx->hflags & MIPS_HFLAG_BMASK;
8234 ctx->hflags &= ~MIPS_HFLAG_BMASK;
8238 switch (hflags) {
8301 ctx.hflags = (uint32_t)tb->flags; /* FIXME: maybe use 64 bits here? */
8306 ctx.mem_idx = ctx.hflags & MIPS_HFLAG_KSU;
8314 /* FIXME: This may print out stale hflags from env... */
8317 LOG_DISAS("\ntb %p idx %d hflags %04x\n", tb, ctx.mem_idx, ctx.hflags);
8342 gen_opc_hflags[lj] = ctx.hflags & MIPS_HFLAG_BMASK;
8357 if (env->singlestep_enabled && (ctx.hflags & MIPS_HFLAG_BMASK) == 0)
8363 if ((ctx.pc & (TARGET_PAGE_SIZE - 1)) == 0 && (ctx.hflags & MIPS_HFLAG_BMASK) == 0)
8418 qemu_log_mask(CPU_LOG_TB_CPU, "---------------- %d %08x\n", ctx.bstate, ctx.hflags);
8437 int is_fpu64 = !!(env->hflags & MIPS_HFLAG_F64);
8509 env->hflags, env->btarget, env->bcond);
8522 if (env->hflags & MIPS_HFLAG_FPU)
8564 hflags = tcg_global_mem_new_i32(TCG_AREG0,
8565 offsetof(CPUState, hflags), "hflags");
8660 env->hflags = MIPS_HFLAG_UM;
8664 env->hflags |= MIPS_HFLAG_FPU;
8668 env->hflags |= MIPS_HFLAG_F64;
8672 if (env->hflags & MIPS_HFLAG_BMASK) {
8700 env->hflags = MIPS_HFLAG_CP0;
8704 env->hflags |= MIPS_HFLAG_64;
8713 env->hflags &= ~MIPS_HFLAG_BMASK;
8714 env->hflags |= gen_opc_hflags[pc_pos];