Searched refs:nwindows (Results 1 – 9 of 9) sorted by relevance
/qemu/target/sparc/ |
H A D | cpu.c | 53 env->cleanwin = env->nwindows - 2; in sparc_cpu_reset_hold() 54 env->cansave = env->nwindows - 2; in sparc_cpu_reset_hold() 218 .nwindows = 4, 227 .nwindows = 5, 236 .nwindows = 8, 245 .nwindows = 8, 254 .nwindows = 8, 263 .nwindows = 8, 272 .nwindows = 8, 281 .nwindows = 8, [all …]
|
H A D | win_helper.c | 29 if (env->cwp == env->nwindows - 1) { in cpu_set_cwp() 30 memcpy(env->regbase, env->regbase + env->nwindows * 16, in cpu_set_cwp() 36 if (new_cwp == env->nwindows - 1) { in cpu_set_cwp() 37 memcpy(env->regbase + env->nwindows * 16, env->regbase, in cpu_set_cwp() 109 if (unlikely(cwp >= env->nwindows)) { in cpu_cwp_inc() 110 cwp -= env->nwindows; in cpu_cwp_inc() 118 cwp += env->nwindows; in cpu_cwp_dec() 167 if ((new_psr & PSR_CWP) >= env->nwindows) { in helper_wrpsr() 226 if (env->cansave != env->nwindows - 2) { in helper_flushw() 247 if (env->cleanwin < env->nwindows - 1) { in helper_restored() [all …]
|
H A D | machine.c | 195 VMSTATE_UINT32(env.nwindows, SPARCCPU), 196 VMSTATE_VARRAY_MULTIPLY(env.regbase, SPARCCPU, env.nwindows, 16,
|
H A D | helper.c | 224 val = env->def.nwindows - 1; /* [4:0] NWIN */ in helper_rdasr17()
|
H A D | cpu.h | 239 uint32_t nwindows; member 490 uint32_t nwindows; member
|
H A D | mmu_helper.c | 405 for (i = 0; i < env->nwindows; i++) { in sparc_cpu_memory_rw_debug()
|
H A D | translate.c | 3440 target_ulong mask = MAKE_64BIT_MASK(0, dc->def->nwindows); in do_wrwim()
|
/qemu/linux-user/sparc/ |
H A D | cpu_loop.c | 34 index = (index + cwp * 16) % (16 * env->nwindows); in get_reg_index() 37 if (index < 8 && env->cwp == env->nwindows - 1) in get_reg_index() 38 index += 16 * env->nwindows; in get_reg_index() 68 new_wim = ((env->wim >> 1) | (env->wim << (env->nwindows - 1))) & in save_window() 69 ((1LL << env->nwindows) - 1); in save_window() 92 new_wim = ((env->wim << 1) | (env->wim >> (env->nwindows - 1))) & in restore_window() 93 ((1LL << env->nwindows) - 1); in restore_window() 114 if (env->cleanwin < env->nwindows - 1) in restore_window()
|
H A D | target_cpu.h | 52 env->cansave = env->nwindows - 2; in cpu_clone_regs_child() 53 env->cleanwin = env->nwindows - 2; in cpu_clone_regs_child()
|