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

Lines Matching defs:hflags

432 static TCGv_i32 hflags;
476 uint32_t hflags, saved_hflags;
624 if (ctx->hflags & MIPS_HFLAG_F64) {
639 if (ctx->hflags & MIPS_HFLAG_F64) {
760 LOG_DISAS("hflags %08x saved %08x\n", ctx->hflags, ctx->saved_hflags);
765 if (ctx->hflags != ctx->saved_hflags) {
766 tcg_gen_movi_i32(hflags, ctx->hflags);
767 ctx->saved_hflags = ctx->hflags;
768 switch (ctx->hflags & MIPS_HFLAG_BMASK) {
782 ctx->saved_hflags = ctx->hflags;
783 switch (ctx->hflags & MIPS_HFLAG_BMASK) {
821 if (((ctx->hflags & MIPS_HFLAG_KSU) == MIPS_HFLAG_UM) &&
822 !(ctx->hflags & MIPS_HFLAG_UX)) {
830 if (unlikely(!(ctx->hflags & MIPS_HFLAG_CP0)))
836 if (unlikely(!(ctx->hflags & MIPS_HFLAG_FPU)))
846 if (unlikely(!(ctx->hflags & MIPS_HFLAG_COP1X)))
855 if (unlikely(~ctx->hflags & (MIPS_HFLAG_F64 | MIPS_HFLAG_COP1X)))
872 if (unlikely(!(ctx->hflags & MIPS_HFLAG_F64) && (regs & 1)))
888 if (unlikely(!(ctx->hflags & MIPS_HFLAG_64)))
2484 if (ctx->hflags & MIPS_HFLAG_BMASK) {
2557 ctx->hflags |= MIPS_HFLAG_B;
2564 ctx->hflags |= MIPS_HFLAG_B;
2591 ctx->hflags |= MIPS_HFLAG_B;
2596 ctx->hflags |= MIPS_HFLAG_B;
2600 ctx->hflags |= MIPS_HFLAG_BR;
2605 ctx->hflags |= MIPS_HFLAG_BR;
2682 ctx->hflags |= MIPS_HFLAG_BC;
2689 ctx->hflags |= MIPS_HFLAG_BL;
2698 blink, ctx->hflags, btgt);
3734 /* BS_STOP isn't good enough here, hflags may have changed. */
3899 /* BS_STOP isn't good enough here, hflags may have changed. */
4900 /* BS_STOP isn't good enough here, hflags may have changed. */
5054 /* BS_STOP isn't good enough here, hflags may have changed. */
5653 if (!(ctx->hflags & MIPS_HFLAG_DM)) {
5721 ctx->hflags |= MIPS_HFLAG_BL;
5781 ctx->hflags |= MIPS_HFLAG_BC;
5789 ctx->hflags, btarget);
7650 if ((ctx->hflags & MIPS_HFLAG_BMASK) == MIPS_HFLAG_BL) {
7655 tcg_gen_movi_i32(hflags, ctx->hflags & ~MIPS_HFLAG_BMASK);
7821 if (!(ctx->hflags & MIPS_HFLAG_DM)) {
8238 if (ctx->hflags & MIPS_HFLAG_BMASK) {
8239 int hflags = ctx->hflags & MIPS_HFLAG_BMASK;
8241 ctx->hflags &= ~MIPS_HFLAG_BMASK;
8245 switch (hflags) {
8308 ctx.hflags = (uint32_t)tb->flags; /* FIXME: maybe use 64 bits here? */
8313 ctx.mem_idx = ctx.hflags & MIPS_HFLAG_KSU;
8321 /* FIXME: This may print out stale hflags from env... */
8324 LOG_DISAS("\ntb %p idx %d hflags %04x\n", tb, ctx.mem_idx, ctx.hflags);
8349 gen_opc_hflags[lj] = ctx.hflags & MIPS_HFLAG_BMASK;
8364 if (ENV_GET_CPU(env)->singlestep_enabled && (ctx.hflags & MIPS_HFLAG_BMASK) == 0)
8370 if ((ctx.pc & (TARGET_PAGE_SIZE - 1)) == 0 && (ctx.hflags & MIPS_HFLAG_BMASK) == 0)
8425 qemu_log_mask(CPU_LOG_TB_CPU, "---------------- %d %08x\n", ctx.bstate, ctx.hflags);
8444 int is_fpu64 = !!(env->hflags & MIPS_HFLAG_F64);
8517 env->hflags, env->btarget, env->bcond);
8530 if (env->hflags & MIPS_HFLAG_FPU)
8572 hflags = tcg_global_mem_new_i32(TCG_AREG0,
8573 offsetof(CPUMIPSState, hflags), "hflags");
8671 env->hflags = MIPS_HFLAG_UM;
8675 env->hflags
8679 env->hflags |= MIPS_HFLAG_F64;
8683 if (env->hflags & MIPS_HFLAG_BMASK) {
8711 env->hflags = MIPS_HFLAG_CP0;
8715 env->hflags |= MIPS_HFLAG_64;
8724 env->hflags &= ~MIPS_HFLAG_BMASK;
8725 env->hflags |= gen_opc_hflags[pc_pos];