Home
last modified time | relevance | path

Searched refs:mem_index (Results 1 – 11 of 11) sorted by relevance

/external/qemu/target-i386/
Dtranslate.c109 int mem_index; /* select memory access functions */ member
515 int mem_index = (idx >> 2) - 1; in gen_op_lds_T0_A0() local
518 tcg_gen_qemu_ld8s(cpu_T[0], cpu_A0, mem_index); in gen_op_lds_T0_A0()
521 tcg_gen_qemu_ld16s(cpu_T[0], cpu_A0, mem_index); in gen_op_lds_T0_A0()
525 tcg_gen_qemu_ld32s(cpu_T[0], cpu_A0, mem_index); in gen_op_lds_T0_A0()
532 int mem_index = (idx >> 2) - 1; in gen_op_ld_v() local
535 tcg_gen_qemu_ld8u(t0, a0, mem_index); in gen_op_ld_v()
538 tcg_gen_qemu_ld16u(t0, a0, mem_index); in gen_op_ld_v()
541 tcg_gen_qemu_ld32u(t0, a0, mem_index); in gen_op_ld_v()
547 tcg_gen_qemu_ld64(t0, a0, mem_index); in gen_op_ld_v()
[all …]
/external/qemu/tcg/
Dtcg-op.h136 TCGv_i32 addr, TCGArg mem_index) in tcg_gen_qemu_ldst_op_i64_i32() argument
141 *gen_opparam_ptr++ = mem_index; in tcg_gen_qemu_ldst_op_i64_i32()
145 TCGv_i64 addr, TCGArg mem_index) in tcg_gen_qemu_ldst_op_i64_i64() argument
150 *gen_opparam_ptr++ = mem_index; in tcg_gen_qemu_ldst_op_i64_i64()
2190 static inline void tcg_gen_qemu_ld8u(TCGv ret, TCGv addr, int mem_index) in tcg_gen_qemu_ld8u() argument
2193 tcg_gen_op3i_i32(INDEX_op_qemu_ld8u, ret, addr, mem_index); in tcg_gen_qemu_ld8u()
2196 TCGV_HIGH(addr), mem_index); in tcg_gen_qemu_ld8u()
2201 static inline void tcg_gen_qemu_ld8s(TCGv ret, TCGv addr, int mem_index) in tcg_gen_qemu_ld8s() argument
2204 tcg_gen_op3i_i32(INDEX_op_qemu_ld8s, ret, addr, mem_index); in tcg_gen_qemu_ld8s()
2207 TCGV_HIGH(addr), mem_index); in tcg_gen_qemu_ld8s()
[all …]
/external/qemu/tcg/arm/
Dtcg-target.c960 int mem_index, s_bits; in tcg_out_qemu_ld() local
982 mem_index = *args; in tcg_out_qemu_ld()
1006 if (mem_index) in tcg_out_qemu_ld()
1008 (mem_index << (TLB_SHIFT & 1)) | in tcg_out_qemu_ld()
1079 tcg_out_dat_imm(s, COND_AL, ARITH_MOV, TCG_REG_R1, 0, mem_index); in tcg_out_qemu_ld()
1083 tcg_out_dat_imm(s, COND_AL, ARITH_MOV, TCG_REG_R2, 0, mem_index); in tcg_out_qemu_ld()
1183 int mem_index, s_bits; in tcg_out_qemu_st() local
1205 mem_index = *args; in tcg_out_qemu_st()
1226 if (mem_index) in tcg_out_qemu_st()
1228 (mem_index << (TLB_SHIFT & 1)) | in tcg_out_qemu_st()
[all …]
/external/qemu/tcg/i386/
Dtcg-target.c1002 int mem_index, int s_bits, in tcg_out_tlb_load() argument
1029 offsetof(CPUState, tlb_table[mem_index][0]) in tcg_out_tlb_load()
1146 int mem_index, s_bits, arg_idx; in tcg_out_qemu_ld() local
1158 mem_index = args[addrlo_idx + 1 + (TARGET_LONG_BITS > TCG_TARGET_REG_BITS)]; in tcg_out_qemu_ld()
1161 tcg_out_tlb_load(s, addrlo_idx, mem_index, s_bits, args, in tcg_out_qemu_ld()
1189 mem_index); in tcg_out_qemu_ld()
1320 int mem_index, s_bits; in tcg_out_qemu_st() local
1333 mem_index = args[addrlo_idx + 1 + (TARGET_LONG_BITS > TCG_TARGET_REG_BITS)]; in tcg_out_qemu_st()
1336 tcg_out_tlb_load(s, addrlo_idx, mem_index, s_bits, args, in tcg_out_qemu_st()
1360 tcg_out_movi(s, TCG_TYPE_I32, TCG_REG_RDX, mem_index); in tcg_out_qemu_st()
[all …]
/external/qemu/tcg/hppa/
Dtcg-target.c1030 int mem_index = *args; in tcg_out_qemu_ld() local
1036 offset = offsetof(CPUState, tlb_table[mem_index][0].addr_read); in tcg_out_qemu_ld()
1042 offsetof(CPUState, tlb_table[mem_index][0].addend) - offset); in tcg_out_qemu_ld()
1055 tcg_out_movi(s, TCG_TYPE_I32, argreg, mem_index); in tcg_out_qemu_ld()
1145 int mem_index = *args; in tcg_out_qemu_st() local
1151 offset = offsetof(CPUState, tlb_table[mem_index][0].addr_write); in tcg_out_qemu_st()
1157 offsetof(CPUState, tlb_table[mem_index][0].addend) - offset); in tcg_out_qemu_st()
1178 tcg_out_movi(s, TCG_TYPE_I32, argreg, mem_index); in tcg_out_qemu_st()
1182 tcg_out_movi(s, TCG_TYPE_I32, argreg, mem_index); in tcg_out_qemu_st()
1186 tcg_out_movi(s, TCG_TYPE_I32, argreg, mem_index); in tcg_out_qemu_st()
[all …]
/external/qemu/tcg/x86_64/
Dtcg-target.c560 int addr_reg, data_reg, r0, r1, mem_index, s_bits, bswap, rexw; in tcg_out_qemu_ld() local
568 mem_index = *args; in tcg_out_qemu_ld()
597 offsetof(CPUState, tlb_table[mem_index][0].addr_read)); in tcg_out_qemu_ld()
611 tcg_out_movi(s, TCG_TYPE_I32, TCG_REG_RSI, mem_index); in tcg_out_qemu_ld()
754 int addr_reg, data_reg, r0, r1, mem_index, s_bits, bswap, rexw; in tcg_out_qemu_st() local
762 mem_index = *args; in tcg_out_qemu_st()
792 offsetof(CPUState, tlb_table[mem_index][0].addr_write)); in tcg_out_qemu_st()
824 tcg_out_movi(s, TCG_TYPE_I32, TCG_REG_RDX, mem_index); in tcg_out_qemu_st()
/external/qemu/tcg/sparc/
Dtcg-target.c751 int addr_reg, data_reg, arg0, arg1, arg2, mem_index, s_bits; in tcg_out_qemu_ld() local
758 mem_index = *args; in tcg_out_qemu_ld()
778 tlb_table[mem_index][0].addr_read)); in tcg_out_qemu_ld()
801 tcg_out_movi(s, TCG_TYPE_I32, arg1, mem_index); in tcg_out_qemu_ld()
961 int addr_reg, data_reg, arg0, arg1, arg2, mem_index, s_bits; in tcg_out_qemu_st() local
968 mem_index = *args; in tcg_out_qemu_st()
990 tlb_table[mem_index][0].addr_write)); in tcg_out_qemu_st()
1016 tcg_out_movi(s, TCG_TYPE_I32, arg2, mem_index); in tcg_out_qemu_st()
/external/qemu/tcg/ppc/
Dtcg-target.c529 int addr_reg, data_reg, data_reg2, r0, r1, rbase, mem_index, s_bits, bswap; in tcg_out_qemu_ld() local
547 mem_index = *args; in tcg_out_qemu_ld()
568 | offsetof (CPUState, tlb_table[mem_index][0].addr_read) in tcg_out_qemu_ld()
595 tcg_out_movi (s, TCG_TYPE_I32, 4, mem_index); in tcg_out_qemu_ld()
599 tcg_out_movi (s, TCG_TYPE_I32, 5, mem_index); in tcg_out_qemu_ld()
726 int addr_reg, r0, r1, data_reg, data_reg2, mem_index, bswap, rbase; in tcg_out_qemu_st() local
744 mem_index = *args; in tcg_out_qemu_st()
764 | offsetof (CPUState, tlb_table[mem_index][0].addr_write) in tcg_out_qemu_st()
832 tcg_out_movi (s, TCG_TYPE_I32, ir, mem_index); in tcg_out_qemu_st()
/external/qemu/tcg/ppc64/
Dtcg-target.c619 int addr_reg, data_reg, r0, r1, rbase, mem_index, s_bits, bswap; in tcg_out_qemu_ld() local
627 mem_index = *args; in tcg_out_qemu_ld()
637 offsetof (CPUState, tlb_table[mem_index][0].addr_read)); in tcg_out_qemu_ld()
648 tcg_out_movi (s, TCG_TYPE_I64, 4, mem_index); in tcg_out_qemu_ld()
766 int addr_reg, r0, r1, rbase, data_reg, mem_index, bswap; in tcg_out_qemu_st() local
774 mem_index = *args; in tcg_out_qemu_st()
783 offsetof (CPUState, tlb_table[mem_index][0].addr_write)); in tcg_out_qemu_st()
795 tcg_out_movi (s, TCG_TYPE_I64, 5, mem_index); in tcg_out_qemu_st()
/external/libnfc-nxp/src/
DphHciNfc_Sequence.c1289 static uint8_t mem_index = 0; in phHciNfc_Initialise_Sequence() local
1291 (NFC_ADDRESS_HAL_CONF + mem_index), in phHciNfc_Initialise_Sequence()
1292 (psHciContext->hal_mem_info + mem_index)); in phHciNfc_Initialise_Sequence()
1295 mem_index++; in phHciNfc_Initialise_Sequence()
1296 if (NXP_HAL_MEM_INFO_SIZE <= mem_index ) in phHciNfc_Initialise_Sequence()
1302 mem_index = 0; in phHciNfc_Initialise_Sequence()
DphFriNfc_TopazDynamicMap.c4216 uint8_t mem_index = 0; in phFriNfc_Tpz_H_GetMemBytesInfo() local
4220 page_address = (uint8_t)(p_mem_info[mem_index] >> NIBBLE_SIZE); in phFriNfc_Tpz_H_GetMemBytesInfo()
4221 bytes_offset = (uint8_t)(p_mem_info[mem_index] & TOPAZ_NIBBLE_MASK); in phFriNfc_Tpz_H_GetMemBytesInfo()
4223 mem_index = (mem_index + 1); in phFriNfc_Tpz_H_GetMemBytesInfo()
4224 ps_memtlv_info->Size = (uint16_t)p_mem_info[mem_index]; in phFriNfc_Tpz_H_GetMemBytesInfo()
4226 mem_index = (mem_index + 1); in phFriNfc_Tpz_H_GetMemBytesInfo()
4228 (p_mem_info[mem_index] & TOPAZ_NIBBLE_MASK); in phFriNfc_Tpz_H_GetMemBytesInfo()