Lines Matching full:host
23 #include "qemu/host-utils.h"
78 /* If the two host pages are contiguous, optimize. */ in probe_contiguous()
89 void *host = probe_contiguous(env, addr, (32 - reg) * 4, in helper_lmw() local
92 if (likely(host)) { in helper_lmw()
93 /* Fast path -- the entire operation is in RAM at host. */ in helper_lmw()
95 env->gpr[reg] = (uint32_t)ldl_be_p(host); in helper_lmw()
96 host += 4; in helper_lmw()
111 void *host = probe_contiguous(env, addr, (32 - reg) * 4, in helper_stmw() local
114 if (likely(host)) { in helper_stmw()
115 /* Fast path -- the entire operation is in RAM at host. */ in helper_stmw()
117 stl_be_p(host, env->gpr[reg]); in helper_stmw()
118 host += 4; in helper_stmw()
133 void *host; in do_lsw() local
141 host = probe_contiguous(env, addr, nb, MMU_DATA_LOAD, mmu_idx, raddr); in do_lsw()
143 if (likely(host)) { in do_lsw()
144 /* Fast path -- the entire operation is in RAM at host. */ in do_lsw()
146 env->gpr[reg] = (uint32_t)ldl_be_p(host); in do_lsw()
148 host += 4; in do_lsw()
154 val = ldub_p(host) << 24; in do_lsw()
157 val = lduw_be_p(host) << 16; in do_lsw()
160 val = (lduw_be_p(host) << 16) | (ldub_p(host + 2) << 8); in do_lsw()
222 void *host; in helper_stsw() local
230 host = probe_contiguous(env, addr, nb, MMU_DATA_STORE, mmu_idx, raddr); in helper_stsw()
232 if (likely(host)) { in helper_stsw()
233 /* Fast path -- the entire operation is in RAM at host. */ in helper_stsw()
235 stl_be_p(host, env->gpr[reg]); in helper_stsw()
237 host += 4; in helper_stsw()
242 stb_p(host, val >> 24); in helper_stsw()
245 stw_be_p(host, val >> 16); in helper_stsw()
248 stw_be_p(host, val >> 16); in helper_stsw()
249 stb_p(host + 2, val >> 8); in helper_stsw()