/openbmc/qemu/target/mips/tcg/ |
H A D | ldst_helper.c | 76 int mem_idx) in helper_swl() argument 85 mem_idx, GETPC()); in helper_swl() 90 mem_idx, GETPC()); in helper_swl() 95 mem_idx, GETPC()); in helper_swl() 100 int mem_idx) in helper_swr() argument 130 int mem_idx) in helper_sdl() argument 174 int mem_idx) in helper_sdr() argument 221 uint32_t mem_idx) in helper_lwm() argument 243 uint32_t mem_idx) in helper_swm() argument 265 uint32_t mem_idx) in helper_ldm() argument [all …]
|
H A D | tx79_translate.c | 343 tcg_gen_qemu_ld_i64(t0, addr, ctx->mem_idx, MO_TEUQ); in trans_LQ() 348 tcg_gen_qemu_ld_i64(t0, addr, ctx->mem_idx, MO_TEUQ); in trans_LQ() 367 tcg_gen_qemu_st_i64(t0, addr, ctx->mem_idx, MO_TEUQ); in trans_SQ() 372 tcg_gen_qemu_st_i64(t0, addr, ctx->mem_idx, MO_TEUQ); in trans_SQ()
|
H A D | translate.c | 2058 int mem_idx = ctx->mem_idx; in gen_ld() local 2116 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2124 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2132 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2140 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2147 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2154 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2164 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2174 mem_idx = MIPS_HFLAG_UM; in gen_ld() 2190 int mem_idx = ctx->mem_idx; in gen_st() local [all …]
|
H A D | mxu_translate.c | 740 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_UB); in gen_mxu_s8ldd() 746 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_UB); in gen_mxu_s8ldd() 752 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_UB); in gen_mxu_s8ldd() 758 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_UB); in gen_mxu_s8ldd() 764 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_UB); in gen_mxu_s8ldd() 842 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_UB); in gen_mxu_s8std() 942 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_UW); in gen_mxu_s16std() 1535 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, in gen_mxu_s32ldxx() 1571 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, in gen_mxu_s32stxx() 1607 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, in gen_mxu_s32ldxvx() [all …]
|
H A D | mips16e_translate.c.inc | 175 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_TEUL | 181 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_TEUL | 187 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_TEUL | 193 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_TEUL | 203 tcg_gen_qemu_st_tl(t1, t0, ctx->mem_idx, MO_TEUL | \ 306 tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_TESL | \
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_fmemory.c.inc | 22 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 38 tcg_gen_qemu_st_tl(src, addr, ctx->mem_idx, mop); 53 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 70 tcg_gen_qemu_st_tl(src3, addr, ctx->mem_idx, mop); 86 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 104 tcg_gen_qemu_st_tl(src3, addr, ctx->mem_idx, mop); 120 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 138 tcg_gen_qemu_st_tl(src3, addr, ctx->mem_idx, mop);
|
H A D | trans_memory.c.inc | 13 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 25 tcg_gen_qemu_st_tl(data, addr, ctx->mem_idx, mop); 36 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 49 tcg_gen_qemu_st_tl(data, addr, ctx->mem_idx, mop); 62 tcg_gen_qemu_ld_tl(dest, src1, ctx->mem_idx, mop); 76 tcg_gen_qemu_ld_tl(dest, src1, ctx->mem_idx, mop); 90 tcg_gen_qemu_st_tl(data, src1, ctx->mem_idx, mop); 103 tcg_gen_qemu_st_tl(data, src1, ctx->mem_idx, mop); 137 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, mop); 149 tcg_gen_qemu_st_tl(data, addr, ctx->mem_idx, mop);
|
H A D | trans_privileged.c.inc | 326 if (ctx->mem_idx != MMU_DA_IDX) { 437 TCGv_i32 mem_idx = tcg_constant_i32(ctx->mem_idx); 447 gen_helper_ldpte(tcg_env, src1, tcg_constant_tl(a->imm), mem_idx); 453 TCGv_i32 mem_idx = tcg_constant_i32(ctx->mem_idx); 464 gen_helper_lddir(dest, tcg_env, src, tcg_constant_tl(a->imm), mem_idx);
|
H A D | trans_atomic.c.inc | 12 tcg_gen_qemu_ld_i64(t1, t0, ctx->mem_idx, mop); 40 val, ctx->mem_idx, mop); 66 func(dest, addr, val, ctx->mem_idx, mop);
|
/openbmc/qemu/target/hexagon/ |
H A D | translate.c | 697 ctx->mem_idx, MO_UB); in process_store() 703 ctx->mem_idx, MO_TEUW); in process_store() 709 ctx->mem_idx, MO_TEUL); in process_store() 715 ctx->mem_idx, MO_TEUQ); in process_store() 761 tcg_gen_qemu_st_i64(zero, addr, ctx->mem_idx, MO_UQ); in process_dczeroa() 763 tcg_gen_qemu_st_i64(zero, addr, ctx->mem_idx, MO_UQ); in process_dczeroa() 765 tcg_gen_qemu_st_i64(zero, addr, ctx->mem_idx, MO_UQ); in process_dczeroa() 883 TCGv mem_idx = tcg_constant_tl(ctx->mem_idx); in gen_commit_packet() local 884 gen_helper_probe_hvx_stores(tcg_env, mem_idx); in gen_commit_packet() 912 ctx->mem_idx); in gen_commit_packet() [all …]
|
H A D | macros.h | 86 probe_noshuf_load(VA, SIZE, ctx->mem_idx); \ 97 probe_noshuf_load(EA, SIZE, ctx->mem_idx); \ 108 tcg_gen_qemu_ld_tl(DST, VA, ctx->mem_idx, MO_SB); \ 113 tcg_gen_qemu_ld_tl(DST, VA, ctx->mem_idx, MO_UB); \ 118 tcg_gen_qemu_ld_tl(DST, VA, ctx->mem_idx, MO_TESW); \ 123 tcg_gen_qemu_ld_tl(DST, VA, ctx->mem_idx, MO_TEUW); \ 128 tcg_gen_qemu_ld_tl(DST, VA, ctx->mem_idx, MO_TESL); \ 133 tcg_gen_qemu_ld_tl(DST, VA, ctx->mem_idx, MO_TEUL); \ 138 tcg_gen_qemu_ld_i64(DST, VA, ctx->mem_idx, MO_TEUQ); \ 547 gen_load_locked##SIZE##SIGN(DST, EA, ctx->mem_idx);
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-ioctl.c | 36 u8 mem_idx) in get_mem_region() argument 40 if (mem_idx & OMAPFB_MEM_IDX_ENABLED) in get_mem_region() 41 mem_idx &= OMAPFB_MEM_IDX_MASK; in get_mem_region() 43 mem_idx = ofbi->id; in get_mem_region() 45 if (mem_idx >= fbdev->num_fbs) in get_mem_region() 48 return &fbdev->regions[mem_idx]; in get_mem_region() 71 new_rg = get_mem_region(ofbi, pi->mem_idx); in omapfb_setup_plane() 194 pi->mem_idx = get_mem_idx(ofbi); in omapfb_query_plane()
|
/openbmc/qemu/target/sparc/ |
H A D | translate.c | 180 int mem_idx; member 1493 int mem_idx; member 1505 int mem_idx = dc->mem_idx; in resolve_asi() local 1527 mem_idx = MMU_USER_IDX; in resolve_asi() 1531 mem_idx = MMU_KERNEL_IDX; in resolve_asi() 1535 mem_idx = MMU_USER_IDX; in resolve_asi() 1539 mem_idx = MMU_KERNEL_IDX; in resolve_asi() 1544 mem_idx = MMU_PHYS_IDX; in resolve_asi() 1560 mem_idx = (dc->mem_idx == MMU_PHYS_IDX) ? MMU_PHYS_IDX : mem_idx; in resolve_asi() 1588 mem_idx = MMU_PHYS_IDX; in resolve_asi() [all …]
|
H A D | helper.c | 59 uint64_t helper_tick_get_count(CPUSPARCState *env, void *opaque, int mem_idx) in helper_tick_get_count() argument 64 if (timer->npt && mem_idx < MMU_KERNEL_IDX) { in helper_tick_get_count()
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 77 int mem_idx; member 216 tcg_gen_qemu_ld_tl(r1, temp, ctx->mem_idx, mop); in gen_offset_ld() 224 tcg_gen_qemu_st_tl(r1, temp, ctx->mem_idx, mop); in gen_offset_st() 265 tcg_gen_qemu_st_tl(r1, temp, ctx->mem_idx, mop); in gen_st_preincr() 274 tcg_gen_qemu_ld_tl(r1, temp, ctx->mem_idx, mop); in gen_ld_preincr() 286 tcg_gen_qemu_ld_tl(temp, ea, ctx->mem_idx, MO_LEUL); in gen_ldmst() 294 tcg_gen_qemu_st_tl(temp, ea, ctx->mem_idx, MO_LEUL); in gen_ldmst() 304 tcg_gen_qemu_ld_tl(temp, ea, ctx->mem_idx, MO_LEUL); in gen_swap() 314 tcg_gen_qemu_ld_tl(temp, ea, ctx->mem_idx, MO_LEUL); in gen_cmpswap() 327 tcg_gen_qemu_ld_tl(temp, ea, ctx->mem_idx, MO_LEUL); in gen_swapmsk() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | translate.c | 54 int mem_idx; member 298 tcg_gen_qemu_ld_i64(tmp, addr, ctx->mem_idx, MO_LEUQ | UNALIGN(ctx)); in gen_ldg() 311 tcg_gen_qemu_ld_i64(dest, addr, ctx->mem_idx, MO_LEUQ | UNALIGN(ctx)); in gen_ldt() 346 tcg_gen_qemu_ld_i64(dest, addr, ctx->mem_idx, op); in gen_load_int() 365 tcg_gen_qemu_st_i64(tmp, addr, ctx->mem_idx, MO_LEUQ | UNALIGN(ctx)); in gen_stg() 377 tcg_gen_qemu_st_i64(src, addr, ctx->mem_idx, MO_LEUQ | UNALIGN(ctx)); in gen_stt() 402 tcg_gen_qemu_st_i64(src, addr, ctx->mem_idx, op); in gen_store_int() 406 int32_t disp16, int mem_idx, in gen_store_conditional() argument 422 load_gpr(ctx, ra), mem_idx, op); in gen_store_conditional() 2778 ctx->mem_idx, MO_LESL | MO_ALIGN); in translate_one() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | translate.c | 176 int mem_idx; member 2966 tcg_gen_qemu_ld_tl(t, EA, ctx->mem_idx, memop); in LARX() 2968 tcg_gen_qemu_ld_tl(t2, t2, ctx->mem_idx, memop); in LARX() 2974 tcg_gen_qemu_st_tl(u, EA, ctx->mem_idx, memop); in LARX() 3031 tcg_gen_qemu_ld_tl(t0, EA, ctx->mem_idx, memop); in gen_ld_atomic() 3039 tcg_gen_qemu_st_tl(t1, EA, ctx->mem_idx, memop); in gen_ld_atomic() 3138 tcg_gen_qemu_ld_tl(t, EA, ctx->mem_idx, memop); in gen_st_atomic() 3143 tcg_gen_qemu_st_tl(s, EA, ctx->mem_idx, memop); in gen_st_atomic() 3185 cpu_gpr[rs], ctx->mem_idx, in gen_conditional_store() 6486 ctx->mem_idx = (hflags >> HFLAGS_DMMU_IDX) & 7; in ppc_tr_init_disas_context() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | metronomefb.c | 181 int mem_idx = 0; in load_waveform() local 281 metromem[mem_idx++] = v; in load_waveform() 291 metromem[mem_idx++] = v; in load_waveform() 303 par->frame_count = (mem_idx/64); in load_waveform()
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzacas.c.inc | 80 tcg_gen_atomic_cmpxchg_i64(dest, src1, dest, src2, ctx->mem_idx, mop); 125 tcg_gen_atomic_cmpxchg_i128(dest, src1, dest, src2, ctx->mem_idx,
|
H A D | trans_xthead.c.inc | 352 tcg_gen_qemu_ld_i64(rd, addr, ctx->mem_idx, memop); 372 tcg_gen_qemu_st_i64(rd, addr, ctx->mem_idx, memop); 571 tcg_gen_qemu_ld_tl(rd, addr, ctx->mem_idx, memop); 591 tcg_gen_qemu_st_tl(data, addr, ctx->mem_idx, memop); 746 tcg_gen_qemu_ld_tl(rd, addr, ctx->mem_idx, memop); 763 tcg_gen_qemu_st_tl(data, addr, ctx->mem_idx, memop); 923 tcg_gen_qemu_ld_tl(t1, addr1, ctx->mem_idx, memop); 924 tcg_gen_qemu_ld_tl(t2, addr2, ctx->mem_idx, memop); 961 tcg_gen_qemu_st_tl(data1, addr1, ctx->mem_idx, memop); 962 tcg_gen_qemu_st_tl(data2, addr2, ctx->mem_idx, memop);
|
H A D | trans_rvi.c.inc | 234 tcg_gen_qemu_ld_tl(dest, addr, ctx->mem_idx, memop); 250 tcg_gen_qemu_ld_tl(destl, addrl, ctx->mem_idx, memop); 258 tcg_gen_qemu_ld_tl(destl, addrl, ctx->mem_idx, MO_TEUQ); 260 tcg_gen_qemu_ld_tl(desth, addrl, ctx->mem_idx, MO_TEUQ); 346 tcg_gen_qemu_st_tl(data, addr, ctx->mem_idx, memop); 360 tcg_gen_qemu_st_tl(src2l, addrl, ctx->mem_idx, memop); 363 tcg_gen_qemu_st_tl(src2l, addrl, ctx->mem_idx, MO_TEUQ); 365 tcg_gen_qemu_st_tl(src2h, addrl, ctx->mem_idx, MO_TEUQ);
|
/openbmc/qemu/target/loongarch/ |
H A D | translate.h | 44 uint16_t mem_idx; member
|
/openbmc/qemu/target/ppc/translate/ |
H A D | vsx-impl.c.inc | 94 tcg_gen_qemu_ld_i64(t0, EA, ctx->mem_idx, MO_LEUQ); 98 tcg_gen_qemu_ld_i64(t0, EA, ctx->mem_idx, MO_LEUQ); 102 tcg_gen_qemu_ld_i64(xth, EA, ctx->mem_idx, MO_BEUQ); 104 tcg_gen_qemu_ld_i64(xtl, EA, ctx->mem_idx, MO_BEUQ); 195 tcg_gen_qemu_ld_i64(xth, EA, ctx->mem_idx, MO_BEUQ); 197 tcg_gen_qemu_ld_i64(xtl, EA, ctx->mem_idx, MO_BEUQ); 217 tcg_gen_qemu_ld_i128(data, EA, ctx->mem_idx, 404 tcg_gen_qemu_st_i128(data, EA, ctx->mem_idx, 2276 tcg_gen_qemu_st_i64(xt, ea, ctx->mem_idx, mop); 2278 tcg_gen_qemu_ld_i64(xt, ea, ctx->mem_idx, mop); [all …]
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | translate.c | 126 ctx->mem_idx = ctx->plv; in loongarch_tr_init_disas_context() 128 ctx->mem_idx = MMU_DA_IDX; in loongarch_tr_init_disas_context()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate.c | 4962 MemOp mop, int mem_idx) in op_load_rr() argument 4983 MemOp mop, int mem_idx) in op_store_rr() argument 5008 int mem_idx = get_mem_index(s); in trans_LDRD_rr() local 5037 int mem_idx = get_mem_index(s); in trans_STRD_rr() local 5109 MemOp mop, int mem_idx) in op_load_ri() argument 5155 int mem_idx = get_mem_index(s); in op_ldrd_ri() local 5194 int mem_idx = get_mem_index(s); in op_strd_ri() local 6302 int i, j, n, list, mem_idx; in op_stm() local 6332 mem_idx = get_mem_index(s); in op_stm() 6375 int i, j, n, list, mem_idx; in do_ldm() local [all …]
|