/openbmc/qemu/include/tcg/ |
H A D | tcg-op-common.h | 145 void tcg_gen_ext_i32(TCGv_i32 ret, TCGv_i32 val, MemOp opc); 251 void tcg_gen_ext_i64(TCGv_i64 ret, TCGv_i64 val, MemOp opc); 315 void tcg_gen_qemu_ld_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType); 316 void tcg_gen_qemu_st_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType); 317 void tcg_gen_qemu_ld_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType); 318 void tcg_gen_qemu_st_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType); 319 void tcg_gen_qemu_ld_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType); 320 void tcg_gen_qemu_st_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType); 325 TCGArg, MemOp, TCGType); 327 TCGArg, MemOp, TCGType); [all …]
|
H A D | tcg-op.h | 70 tcg_gen_qemu_ld_i32(TCGv_i32 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i32() 76 tcg_gen_qemu_st_i32(TCGv_i32 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i32() 82 tcg_gen_qemu_ld_i64(TCGv_i64 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i64() 88 tcg_gen_qemu_st_i64(TCGv_i64 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i64() 94 tcg_gen_qemu_ld_i128(TCGv_i128 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i128() 100 tcg_gen_qemu_st_i128(TCGv_i128 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i128() 107 TCGArg i, MemOp m) \ 112 TCGv_##S n, TCGArg i, MemOp m) \
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a32.h | 36 void read_neon_element32(TCGv_i32 dest, int reg, int ele, MemOp memop); 37 void read_neon_element64(TCGv_i64 dest, int reg, int ele, MemOp memop); 38 void write_neon_element32(TCGv_i32 src, int reg, int ele, MemOp memop); 39 void write_neon_element64(TCGv_i64 src, int reg, int ele, MemOp memop); 47 long neon_element_offset(int reg, int element, MemOp memop); 107 TCGv_i32 a32, int index, MemOp opc); 109 TCGv_i32 a32, int index, MemOp opc); 111 TCGv_i32 a32, int index, MemOp opc); 113 TCGv_i32 a32, int index, MemOp opc); 115 int index, MemOp opc); [all …]
|
H A D | translate.h | 61 MemOp be_data; 340 MemOp pow2_align(unsigned i); 499 TCGv_i64 a, TCGv_i64 b, MemOp esz); 505 TCGv_i64 a, TCGv_i64 b, MemOp esz); 511 TCGv_i64 a, TCGv_i64 b, MemOp esz); 517 TCGv_i64 a, TCGv_i64 b, MemOp esz); 616 typedef void AtomicThreeOpFn(TCGv_i64, TCGv_i64, TCGv_i64, TCGArg, MemOp); 702 static inline MemOp finalize_memop_atom(DisasContext *s, MemOp opc, MemOp atom) in finalize_memop_atom() 717 static inline MemOp finalize_memop(DisasContext *s, MemOp opc) in finalize_memop() 719 MemOp atom = s->lse2 ? MO_ATOM_WITHIN16 : MO_ATOM_IFALIGN; in finalize_memop() [all …]
|
H A D | translate-a64.h | 54 bool tag_checked, MemOp memop); 56 bool tag_checked, int total_size, MemOp memop); 81 int element, MemOp size) in vec_reg_offset() 202 TCGv_i64 a, TCGv_i64 b, MemOp esz); 209 TCGv_i64 a, TCGv_i64 b, MemOp esz);
|
H A D | translate-a64.c | 286 MemOp memop, bool is_unpriv, in gen_mte_check1_mmuidx() 309 bool tag_checked, MemOp memop) in gen_mte_check1() 319 bool tag_checked, int total_size, MemOp single_mop) in gen_mte_checkN() 347 bool is_write, MemOp mop) in check_lse2_align() 377 static MemOp check_atomic_align(DisasContext *s, int rn, MemOp mop) in check_atomic_align() 379 MemOp size = mop & MO_SIZE; in check_atomic_align() 403 static MemOp check_ordered_align(DisasContext *s, int rn, int imm, in check_ordered_align() 404 bool is_write, MemOp mop) in check_ordered_align() 406 MemOp size = mop & MO_SIZE; in check_ordered_align() 590 static inline int fp_reg_offset(DisasContext *s, int regno, MemOp size) in fp_reg_offset() [all …]
|
H A D | translate-sme.c | 268 static bool do_adda(DisasContext *s, arg_adda *a, MemOp esz, in TRANS_FEAT() 293 static bool do_outprod(DisasContext *s, arg_op *a, MemOp esz, in TRANS_FEAT() 314 static bool do_outprod_fpst(DisasContext *s, arg_op *a, MemOp esz, in do_outprod_fpst() 337 static bool do_outprod_env(DisasContext *s, arg_op *a, MemOp esz, in do_outprod_env()
|
H A D | translate.c | 192 static void disas_set_da_iss(DisasContext *s, MemOp memop, ISSInfo issinfo) in disas_set_da_iss() 902 MemOp pow2_align(unsigned i) in pow2_align() 904 static const MemOp mop_align[] = { in pow2_align() 920 static TCGv gen_aa32_addr(DisasContext *s, TCGv_i32 a32, MemOp op) in gen_aa32_addr() 937 TCGv_i32 a32, int index, MemOp opc) in gen_aa32_ld_internal_i32() 944 TCGv_i32 a32, int index, MemOp opc) in gen_aa32_st_internal_i32() 951 TCGv_i32 a32, int index, MemOp opc) in gen_aa32_ld_internal_i64() 964 TCGv_i32 a32, int index, MemOp opc) in gen_aa32_st_internal_i64() 979 int index, MemOp opc) in gen_aa32_ld_i32() 985 int index, MemOp opc) in gen_aa32_st_i32() [all …]
|
/openbmc/qemu/include/exec/ |
H A D | memop.h | 17 typedef enum MemOp { enum 149 } MemOp; typedef 152 static inline unsigned memop_size(MemOp op) in memop_size() 158 static inline MemOp size_memop(unsigned size) in size_memop() 164 return (MemOp)ctz32(size); in size_memop() 173 static inline unsigned memop_alignment_bits(MemOp memop) in memop_alignment_bits() 196 static inline unsigned memop_atomicity_bits(MemOp memop) in memop_atomicity_bits()
|
H A D | memopidx.h | 25 static inline MemOpIdx make_memop_idx(MemOp op, unsigned idx) in make_memop_idx() 39 static inline MemOp get_memop(MemOpIdx oi) in get_memop()
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-ldst.c | 46 static MemOp tcg_canonicalize_memop(MemOp op, bool is64, bool st) in tcg_canonicalize_memop() 227 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i32_int() 229 MemOp orig_memop; in tcg_gen_qemu_ld_i32_int() 274 MemOp memop, TCGType addr_type) in tcg_gen_qemu_ld_i32_chk() 282 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i32_int() 331 MemOp memop, TCGType addr_type) in tcg_gen_qemu_st_i32_chk() 339 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i64_int() 341 MemOp orig_memop; in tcg_gen_qemu_ld_i64_int() 400 MemOp memop, TCGType addr_type) in tcg_gen_qemu_ld_i64_chk() 408 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i64_int() [all …]
|
H A D | tcg-internal.h | 84 bool tcg_target_has_memory_bswap(MemOp memop);
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_fmemory.c.inc | 6 static void maybe_nanbox_load(TCGv freg, MemOp mop) 13 static bool gen_fload_i(DisasContext *ctx, arg_fr_i *a, MemOp mop) 29 static bool gen_fstore_i(DisasContext *ctx, arg_fr_i *a, MemOp mop) 43 static bool gen_floadx(DisasContext *ctx, arg_frr *a, MemOp mop) 60 static bool gen_fstorex(DisasContext *ctx, arg_frr *a, MemOp mop) 75 static bool gen_fload_gt(DisasContext *ctx, arg_frr *a, MemOp mop) 93 static bool gen_fstore_gt(DisasContext *ctx, arg_frr *a, MemOp mop) 109 static bool gen_fload_le(DisasContext *ctx, arg_frr *a, MemOp mop) 127 static bool gen_fstore_le(DisasContext *ctx, arg_frr *a, MemOp mop)
|
H A D | trans_memory.c.inc | 6 static bool gen_load(DisasContext *ctx, arg_rr_i *a, MemOp mop) 18 static bool gen_store(DisasContext *ctx, arg_rr_i *a, MemOp mop) 29 static bool gen_loadx(DisasContext *ctx, arg_rrr *a, MemOp mop) 42 static bool gen_storex(DisasContext *ctx, arg_rrr *a, MemOp mop) 54 static bool gen_load_gt(DisasContext *ctx, arg_rrr *a, MemOp mop) 68 static bool gen_load_le(DisasContext *ctx, arg_rrr *a, MemOp mop) 82 static bool gen_store_gt(DisasContext *ctx, arg_rrr *a, MemOp mop) 95 static bool gen_store_le(DisasContext *ctx, arg_rrr *a, MemOp mop) 130 static bool gen_ldptr(DisasContext *ctx, arg_rr_i *a, MemOp mop) 142 static bool gen_stptr(DisasContext *ctx, arg_rr_i *a, MemOp mop)
|
H A D | trans_atomic.c.inc | 6 static bool gen_ll(DisasContext *ctx, arg_rr_i *a, MemOp mop) 20 static bool gen_sc(DisasContext *ctx, arg_rr_i *a, MemOp mop) 49 void (*func)(TCGv, TCGv, TCGv, TCGArg, MemOp), 50 MemOp mop)
|
/openbmc/qemu/target/i386/tcg/ |
H A D | translate.c | 90 MemOp aflag; 91 MemOp dflag; 259 static void gen_jmp_rel(DisasContext *s, MemOp ot, int diff, int tb_num); 422 static inline MemOp mo_pushpop(DisasContext *s, MemOp ot) in mo_pushpop() 432 static inline MemOp mo_stacksize(DisasContext *s) in mo_stacksize() 445 static TCGv gen_op_deposit_reg_v(DisasContext *s, MemOp ot, int reg, TCGv dest, TCGv t0) in gen_op_deposit_reg_v() 479 static void gen_op_mov_reg_v(DisasContext *s, MemOp ot, int reg, TCGv t0) in gen_op_mov_reg_v() 485 void gen_op_mov_v_reg(DisasContext *s, MemOp ot, TCGv t0, int reg) in gen_op_mov_v_reg() 509 void gen_op_add_reg_im(DisasContext *s, MemOp size, int reg, int32_t val) in gen_op_add_reg_im() 515 static inline void gen_op_add_reg(DisasContext *s, MemOp size, int reg, TCGv val) in gen_op_add_reg() [all …]
|
H A D | emit.c.inc | 88 MemOp ot = decode->op[1].ot; 104 static inline int mmx_offset(MemOp ot) 120 static inline int xmm_offset(MemOp ot) 151 static int vector_elem_offset(X86DecodedOp *op, MemOp ot, int n) 208 static void gen_load_sse(DisasContext *s, TCGv temp, MemOp ot, int dest_ofs, bool aligned) 237 static bool sse_needs_alignment(DisasContext *s, X86DecodedInsn *decode, MemOp ot) 460 MemOp ot = decode->op[0].ot; 1178 MemOp ot = decode->op[1].ot; 1195 MemOp ot = decode->op[0].ot; 1257 MemOp ot = decode->op[1].ot; [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | user-exec.c | 955 MemOp mop, uintptr_t ra, MMUAccessType type) in cpu_mmu_lookup() 990 MemOp mop = get_memop(oi); in do_ld2_mmu() 1008 MemOp mop = get_memop(oi); in do_ld4_mmu() 1026 MemOp mop = get_memop(oi); in do_ld8_mmu() 1044 MemOp mop = get_memop(oi); in do_ld16_mmu() 1073 MemOp mop = get_memop(oi); in do_st2_mmu() 1089 MemOp mop = get_memop(oi); in do_st4_mmu() 1105 MemOp mop = get_memop(oi); in do_st8_mmu() 1238 MemOp mop = get_memop(oi); in atomic_mmu_lookup()
|
H A D | ldst_atomicity.c.inc | 29 static int required_atomicity(CPUState *cpu, uintptr_t p, MemOp memop) 31 MemOp atom = memop & MO_ATOM_MASK; 32 MemOp size = memop & MO_SIZE; 33 MemOp half = size ? size - 1 : 0; 400 void *pv, MemOp memop) 442 void *pv, MemOp memop) 487 void *pv, MemOp memop) 539 void *pv, MemOp memop) 866 void *pv, MemOp memop, uint16_t val) 918 void *pv, MemOp memop, uint32_t val) [all …]
|
H A D | cputlb.c | 1230 int mmu_idx, MemOp memop, int size, in tlb_fill_align() 1615 MemOp memop; 1633 static bool mmu_lookup1(CPUState *cpu, MMULookupPageData *data, MemOp memop, in mmu_lookup1() 1801 MemOp mop = get_memop(oi); in atomic_mmu_lookup() 1939 MemOp this_mop; in int_ld_mmio_beN() 2147 MemOp mop, uintptr_t ra) in do_ld_beN() 2149 MemOp atom; in do_ld_beN() 2196 uint64_t a, int mmu_idx, MemOp mop, uintptr_t ra) in do_ld16_beN() 2200 MemOp atom; in do_ld16_beN() 2255 MMUAccessType type, MemOp memop, uintptr_t ra) in do_ld_2() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | translate.h | 32 MemOp default_tcg_memop_mask; 252 static inline MemOp mo_endian(DisasContext *dc) in mo_endian() 257 static inline MemOp mo_endian_rev(DisasContext *dc, bool reversed) in mo_endian_rev()
|
/openbmc/qemu/plugins/ |
H A D | api.c | 333 MemOp op = get_memop(info); in qemu_plugin_mem_size_shift() 339 MemOp op = get_memop(info); in qemu_plugin_mem_is_sign_extended() 345 MemOp op = get_memop(info); in qemu_plugin_mem_is_big_endian()
|
/openbmc/qemu/target/hppa/ |
H A D | cpu.h | 368 MemOp memop, int size, bool probe, uintptr_t ra); 372 int type, MemOp mop, hwaddr *pphys, int *pprot);
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_xthead.c.inc | 346 static bool gen_fload_idx(DisasContext *ctx, arg_th_memidx *a, MemOp memop, 366 static bool gen_fstore_idx(DisasContext *ctx, arg_th_memidx *a, MemOp memop, 559 static bool gen_load_inc(DisasContext *ctx, arg_th_meminc *a, MemOp memop, 583 static bool gen_store_inc(DisasContext *ctx, arg_th_meminc *a, MemOp memop, 740 static bool gen_load_idx(DisasContext *ctx, arg_th_memidx *a, MemOp memop, 757 static bool gen_store_idx(DisasContext *ctx, arg_th_memidx *a, MemOp memop, 907 static bool gen_loadpair_tl(DisasContext *ctx, arg_th_pair *a, MemOp memop, 949 static bool gen_storepair_tl(DisasContext *ctx, arg_th_pair *a, MemOp memop,
|
/openbmc/qemu/include/hw/core/ |
H A D | tcg-cpu-ops.h | 159 MemOp memop, int size, bool probe, uintptr_t ra);
|