Lines Matching refs:ofs
619 tcg_target_long ofs, tcg_target_long val) in tcg_out_sti() argument
622 tcg_out_modrm_offset(s, opc, 0, base, ofs); in tcg_out_sti()
1190 int ofs = 0; in tcg_out_qemu_ld_slow_path() local
1192 tcg_out_st(s, TCG_TYPE_PTR, TCG_AREG0, TCG_REG_ESP, ofs); in tcg_out_qemu_ld_slow_path()
1193 ofs += 4; in tcg_out_qemu_ld_slow_path()
1195 tcg_out_st(s, TCG_TYPE_I32, l->addrlo_reg, TCG_REG_ESP, ofs); in tcg_out_qemu_ld_slow_path()
1196 ofs += 4; in tcg_out_qemu_ld_slow_path()
1199 tcg_out_st(s, TCG_TYPE_I32, l->addrhi_reg, TCG_REG_ESP, ofs); in tcg_out_qemu_ld_slow_path()
1200 ofs += 4; in tcg_out_qemu_ld_slow_path()
1203 tcg_out_sti(s, TCG_TYPE_I32, TCG_REG_ESP, ofs, l->mem_index); in tcg_out_qemu_ld_slow_path()
1204 ofs += 4; in tcg_out_qemu_ld_slow_path()
1206 tcg_out_sti(s, TCG_TYPE_I32, TCG_REG_ESP, ofs, (uintptr_t)l->raddr); in tcg_out_qemu_ld_slow_path()
1274 int ofs = 0; in tcg_out_qemu_st_slow_path() local
1276 tcg_out_st(s, TCG_TYPE_PTR, TCG_AREG0, TCG_REG_ESP, ofs); in tcg_out_qemu_st_slow_path()
1277 ofs += 4; in tcg_out_qemu_st_slow_path()
1279 tcg_out_st(s, TCG_TYPE_I32, l->addrlo_reg, TCG_REG_ESP, ofs); in tcg_out_qemu_st_slow_path()
1280 ofs += 4; in tcg_out_qemu_st_slow_path()
1283 tcg_out_st(s, TCG_TYPE_I32, l->addrhi_reg, TCG_REG_ESP, ofs); in tcg_out_qemu_st_slow_path()
1284 ofs += 4; in tcg_out_qemu_st_slow_path()
1287 tcg_out_st(s, TCG_TYPE_I32, l->datalo_reg, TCG_REG_ESP, ofs); in tcg_out_qemu_st_slow_path()
1288 ofs += 4; in tcg_out_qemu_st_slow_path()
1291 tcg_out_st(s, TCG_TYPE_I32, l->datahi_reg, TCG_REG_ESP, ofs); in tcg_out_qemu_st_slow_path()
1292 ofs += 4; in tcg_out_qemu_st_slow_path()
1295 tcg_out_sti(s, TCG_TYPE_I32, TCG_REG_ESP, ofs, l->mem_index); in tcg_out_qemu_st_slow_path()
1296 ofs += 4; in tcg_out_qemu_st_slow_path()
1300 tcg_out_st(s, TCG_TYPE_I32, retaddr, TCG_REG_ESP, ofs); in tcg_out_qemu_st_slow_path()
1342 TCGReg base, intptr_t ofs, int seg, in tcg_out_qemu_ld_direct() argument
1349 tcg_out_modrm_offset(s, OPC_MOVZBL + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1352 tcg_out_modrm_offset(s, OPC_MOVSBL + P_REXW + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1355 tcg_out_modrm_offset(s, OPC_MOVZWL + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1362 tcg_out_modrm_offset(s, OPC_MOVZWL + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1367 datalo, base, ofs); in tcg_out_qemu_ld_direct()
1371 tcg_out_modrm_offset(s, OPC_MOVL_GvEv + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1379 tcg_out_modrm_offset(s, OPC_MOVL_GvEv + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1383 tcg_out_modrm_offset(s, OPC_MOVSLQ + seg, datalo, base, ofs); in tcg_out_qemu_ld_direct()
1390 datalo, base, ofs); in tcg_out_qemu_ld_direct()
1402 datalo, base, ofs); in tcg_out_qemu_ld_direct()
1404 datahi, base, ofs + 4); in tcg_out_qemu_ld_direct()
1407 datahi, base, ofs + 4); in tcg_out_qemu_ld_direct()
1409 datalo, base, ofs); in tcg_out_qemu_ld_direct()
1482 TCGReg base, intptr_t ofs, int seg, in tcg_out_qemu_st_direct() argument
1502 datalo, base, ofs); in tcg_out_qemu_st_direct()
1511 datalo, base, ofs); in tcg_out_qemu_st_direct()
1519 tcg_out_modrm_offset(s, OPC_MOVL_EvGv + seg, datalo, base, ofs); in tcg_out_qemu_st_direct()
1529 datalo, base, ofs); in tcg_out_qemu_st_direct()
1533 tcg_out_modrm_offset(s, OPC_MOVL_EvGv + seg, scratch, base, ofs); in tcg_out_qemu_st_direct()
1536 tcg_out_modrm_offset(s, OPC_MOVL_EvGv + seg, scratch, base, ofs+4); in tcg_out_qemu_st_direct()
1538 tcg_out_modrm_offset(s, OPC_MOVL_EvGv + seg, datalo, base, ofs); in tcg_out_qemu_st_direct()
1539 tcg_out_modrm_offset(s, OPC_MOVL_EvGv + seg, datahi, base, ofs+4); in tcg_out_qemu_st_direct()