Home
last modified time | relevance | path

Searched refs:MO_BSWAP (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/tcg/
H A Dtcg-op-ldst.c59 op &= ~MO_BSWAP; in tcg_canonicalize_memop()
191 memop &= ~MO_BSWAP; in tcg_gen_qemu_ld_i32_int()
208 if ((orig_memop ^ memop) & MO_BSWAP) { in tcg_gen_qemu_ld_i32_int()
256 memop &= ~MO_BSWAP; in tcg_gen_qemu_st_i32_int()
312 memop &= ~MO_BSWAP; in tcg_gen_qemu_ld_i64_int()
329 if ((orig_memop ^ memop) & MO_BSWAP) { in tcg_gen_qemu_ld_i64_int()
389 memop &= ~MO_BSWAP; in tcg_gen_qemu_st_i64_int()
480 mop_1 &= ~MO_BSWAP; in canonicalize_memop_i128_as_i64()
481 mop_2 &= ~MO_BSWAP; in canonicalize_memop_i128_as_i64()
569 if ((memop & MO_BSWAP) == MO_LE) { in tcg_gen_qemu_ld_i128_int()
[all …]
H A Dtcg.c2484 static const char * const ldst_name[(MO_BSWAP | MO_SSIZE) + 1] =
2678 s_op = ldst_name[mop & (MO_BSWAP | MO_SSIZE)]; in tcg_dump_ops()
2680 mop &= ~(MO_AMASK | MO_BSWAP | MO_SSIZE | MO_ATOM_MASK); in tcg_dump_ops()
/openbmc/qemu/include/exec/
H A Dmemop.h30 MO_BSWAP = 0x10, /* Host reverse endian. */ enumerator
32 MO_LE = MO_BSWAP,
36 MO_BE = MO_BSWAP,
170 return (op & MO_BSWAP) == MO_BE; in memop_big_endian()
H A Dmemory.h3105 return (end == DEVICE_HOST_ENDIAN) ? 0 : MO_BSWAP; in devend_memop()
3111 return (end == non_host_endianness) ? MO_BSWAP : 0; in devend_memop()
/openbmc/qemu/accel/tcg/
H A Duser-exec.c1002 if (mop & MO_BSWAP) { in do_ld2_mmu()
1020 if (mop & MO_BSWAP) { in do_ld4_mmu()
1038 if (mop & MO_BSWAP) { in do_ld8_mmu()
1057 if (mop & MO_BSWAP) { in do_ld16_mmu()
1083 if (mop & MO_BSWAP) { in do_st2_mmu()
1099 if (mop & MO_BSWAP) { in do_st4_mmu()
1115 if (mop & MO_BSWAP) { in do_st8_mmu()
1131 if (mop & MO_BSWAP) { in do_st16_mmu()
1199 if (get_memop(oi) & MO_BSWAP) { in cpu_ldw_code_mmu()
1214 if (get_memop(oi) & MO_BSWAP) { in cpu_ldl_code_mmu()
[all …]
H A Dcputlb.c1731 l->memop ^= MO_BSWAP; in mmu_lookup()
2263 if (memop & MO_BSWAP) { in do_ld_2()
2283 if (memop & MO_BSWAP) { in do_ld_4()
2303 if (memop & MO_BSWAP) { in do_ld_8()
2340 if ((l.memop & MO_BSWAP) == MO_LE) { in do_ld2_mmu()
2411 if (l.memop & MO_BSWAP) { in do_ld16_mmu()
2676 if (memop & MO_BSWAP) { in do_st_2()
2695 if (memop & MO_BSWAP) { in do_st_4()
2714 if (memop & MO_BSWAP) { in do_st_8()
2819 if (l.memop & MO_BSWAP) { in do_st16_mmu()
[all …]
/openbmc/qemu/tcg/ppc/
H A Dtcg-target.c.inc2342 [MO_BSWAP | MO_UB] = LBZX,
2343 [MO_BSWAP | MO_UW] = LHBRX,
2344 [MO_BSWAP | MO_UL] = LWBRX,
2345 [MO_BSWAP | MO_UQ] = LDBRX,
2353 [MO_BSWAP | MO_UB] = STBX,
2354 [MO_BSWAP | MO_UW] = STHBRX,
2355 [MO_BSWAP | MO_UL] = STWBRX,
2356 [MO_BSWAP | MO_UQ] = STDBRX,
2640 if (opc & MO_BSWAP) {
2691 if (opc & MO_BSWAP) {
[all …]
/openbmc/qemu/target/sparc/
H A Dldst_helper.c1161 if ((mop & MO_BSWAP) != MO_TE) { in helper_ld_code()
1170 if ((mop & MO_BSWAP) != MO_TE) { in helper_ld_code()
1179 if ((mop & MO_BSWAP) != MO_TE) { in helper_ld_code()
H A Dtranslate.c1728 memop ^= MO_BSWAP; in resolve_asi()
2164 MemOp mop = (da->memop & MO_BSWAP) | MO_128 | MO_ALIGN_16; in gen_ldda_asi()
2173 if ((mop & MO_BSWAP) == MO_TE) { in gen_ldda_asi()
2193 if ((da->memop & MO_BSWAP) == MO_TE) { in gen_ldda_asi()
2210 if ((da->memop & MO_BSWAP) == MO_TE) { in gen_ldda_asi()
2235 if ((da->memop & MO_BSWAP) == MO_TE) { in gen_ldda_asi()
2260 MemOp mop = (da->memop & MO_BSWAP) | MO_128 | MO_ALIGN_16; in gen_stda_asi()
2268 if ((mop & MO_BSWAP) == MO_TE) { in gen_stda_asi()
2287 if ((da->memop & MO_BSWAP) == MO_TE) { in gen_stda_asi()
2326 if ((da->memop & MO_BSWAP) == MO_TE) { in gen_stda_asi()
/openbmc/qemu/plugins/
H A Dapi.c346 return (op & MO_BSWAP) == MO_BE; in qemu_plugin_mem_is_big_endian()
/openbmc/qemu/tcg/s390x/
H A Dtcg-target.c.inc1707 switch (opc & (MO_SSIZE | MO_BSWAP)) {
1715 case MO_UW | MO_BSWAP:
1724 case MO_SW | MO_BSWAP:
1733 case MO_UL | MO_BSWAP:
1742 case MO_SL | MO_BSWAP:
1751 case MO_UQ | MO_BSWAP:
1766 switch (opc & (MO_SIZE | MO_BSWAP)) {
1775 case MO_UW | MO_BSWAP:
1786 case MO_UL | MO_BSWAP:
1797 case MO_UQ | MO_BSWAP:
[all …]
/openbmc/qemu/tcg/sparc64/
H A Dtcg-target.c.inc1168 static const int ld_opc[(MO_SSIZE | MO_BSWAP) + 1] = {
1195 ld_opc[get_memop(oi) & (MO_BSWAP | MO_SSIZE)]);
1207 static const int st_opc[(MO_SIZE | MO_BSWAP) + 1] = {
1225 st_opc[get_memop(oi) & (MO_BSWAP | MO_SIZE)]);
/openbmc/qemu/target/microblaze/
H A Dtranslate.c723 mop ^= MO_BSWAP; in do_load()
873 mop ^= MO_BSWAP; in do_store()
/openbmc/qemu/target/mips/tcg/
H A Dmxu_translate.c1536 (MO_TESL ^ (reversed ? MO_BSWAP : 0)) | in gen_mxu_s32ldxx()
1572 (MO_TESL ^ (reversed ? MO_BSWAP : 0)) | in gen_mxu_s32stxx()
1608 (MO_TESL ^ (reversed ? MO_BSWAP : 0)) | in gen_mxu_s32ldxvx()
1678 (MO_TESL ^ (reversed ? MO_BSWAP : 0)) | in gen_mxu_s32stxvx()
/openbmc/qemu/tcg/riscv/
H A Dtcg-target.c.inc1347 tcg_debug_assert((opc & MO_BSWAP) == 0);
1399 tcg_debug_assert((opc & MO_BSWAP) == 0);
/openbmc/qemu/tcg/loongarch64/
H A Dtcg-target.c.inc1082 tcg_debug_assert((opc & MO_BSWAP) == 0);
1134 tcg_debug_assert((opc & MO_BSWAP) == 0);
/openbmc/qemu/tcg/arm/
H A Dtcg-target.c.inc1547 tcg_debug_assert((opc & MO_BSWAP) == 0);
1665 tcg_debug_assert((opc & MO_BSWAP) == 0);
/openbmc/qemu/tcg/i386/
H A Dtcg-target.c.inc2214 if (memop & MO_BSWAP) {
2396 if (memop & MO_BSWAP) {
/openbmc/qemu/system/
H A Dmemory.c367 if ((op & MO_BSWAP) != devend_memop(mr->ops->endianness)) { in adjust_endianness()
/openbmc/qemu/target/ppc/
H A Dtranslate.c2579 #define BSWAP_MEMOP(op) ((op) | (ctx->default_tcg_memop_mask ^ MO_BSWAP))