Lines Matching full:sregs
513 uint32_t sregs[256]; member
658 int level = (env->sregs[PS] & PS_INTLEVEL) >> PS_INTLEVEL_SHIFT; in xtensa_get_cintlevel()
659 if ((env->sregs[PS] & PS_EXCM) && env->config->excm_level > level) { in xtensa_get_cintlevel()
670 return (env->sregs[PS] & PS_RING) >> PS_RING_SHIFT; in xtensa_get_ring()
681 (env->sregs[PS] & PS_EXCM) == 0) { in xtensa_get_cring()
682 return (env->sregs[PS] & PS_RING) >> PS_RING_SHIFT; in xtensa_get_cring()
706 return env->sregs[WINDOW_START] | in xtensa_replicate_windowstart()
707 (env->sregs[WINDOW_START] << env->config->nareg / 4); in xtensa_replicate_windowstart()
741 if (env->sregs[PS] & PS_EXCM) { in cpu_get_tb_cpu_state()
745 env->sregs[LEND] - (env->pc & -(1u << TARGET_PAGE_BITS)); in cpu_get_tb_cpu_state()
762 target_ulong lbeg_off = env->sregs[LEND] - env->sregs[LBEG]; in cpu_get_tb_cpu_state()
771 (env->sregs[LITBASE] & 1)) { in cpu_get_tb_cpu_state()
778 if (xtensa_get_cintlevel(env) < env->sregs[ICOUNTLEVEL]) { in cpu_get_tb_cpu_state()
783 *flags |= env->sregs[CPENABLE] << XTENSA_TBFLAG_CPENABLE_SHIFT; in cpu_get_tb_cpu_state()
786 (env->sregs[PS] & (PS_WOE | PS_EXCM)) == PS_WOE) { in cpu_get_tb_cpu_state()
788 (env->sregs[WINDOW_BASE] + 1); in cpu_get_tb_cpu_state()
792 *flags |= extract32(env->sregs[PS], PS_CALLINC_SHIFT, in cpu_get_tb_cpu_state()