/qemu/target/loongarch/tcg/ |
H A D | vec_helper.c | 705 Vd->E1(j + i * ofs) = Vj->E2(j + ofs + ofs * 2 * i); \ 2585 int i, j, ofs; in HELPER() local 2606 int i, j, ofs; in HELPER() local 2627 int i, j, ofs; in HELPER() local 2648 int i, j, ofs; in HELPER() local 2669 int i, j, ofs; in HELPER() local 2693 int i, j, ofs; in HELPER() local 2890 temp.D(j + ofs * i) = FN(env, Vj->UW(j + ofs * 2 * i)); \ 2951 int i, j, ofs; local 2972 int i, j, ofs; in HELPER() local [all …]
|
H A D | translate.c | 253 static TCGv make_address_i(DisasContext *ctx, TCGv base, target_long ofs) in make_address_i() argument 255 TCGv addend = ofs ? tcg_constant_tl(ofs) : NULL; in make_address_i()
|
/qemu/tests/qemu-iotests/ |
H A D | 251 | 94 for ofs in $status_fail_offsets 102 for ofs in $read_fail_offsets 121 for ofs in $1 123 filters+=" -e s/$ofs/status_fail_offset_$index/" 128 for ofs in $2 130 filters+=" -e s/$ofs/read_fail_offset_$index/" 159 for ofs in $read_fail_offsets 161 $QEMU_IO -c "write -z $ofs $sector_size" "$TEST_IMG.orig" \
|
H A D | 108 | 240 ofs=$((8 * 1024 * 1024)) 247 $QEMU_IO -c "write $ofs $block_len" "$TEST_IMG" >/dev/null 248 ofs=$((ofs + block_len)) 255 $QEMU_IO -c "write $ofs $((9 * 1024 * 1024 - ofs))" "$TEST_IMG" >/dev/null
|
H A D | common.rc | 82 local img=$1 ofs=$2 len=$3 val=$4 str='' 89 poke_file "$img" "$ofs" "$str" 96 local img=$1 ofs=$2 len=$3 val=$4 99 poke_file "$img" "$ofs" "$str"
|
/qemu/tcg/ |
H A D | tcg-op.c | 902 if (ofs == 0) { in tcg_gen_deposit_i32() 992 if (ofs == 0) { in tcg_gen_extract_i32() 1004 switch (ofs + len) { in tcg_gen_extract_i32() 1049 if (ofs == 0) { in tcg_gen_sextract_i32() 1067 switch (ofs + len) { in tcg_gen_sextract_i32() 1112 if (ofs == 0) { in tcg_gen_extract2_i32() 1123 tcg_gen_deposit_i32(ret, t0, ah, 32 - ofs, ofs); in tcg_gen_extract2_i32() 2771 if (ofs == 0) { in tcg_gen_extract_i64() 2853 if (ofs == 0) { in tcg_gen_sextract_i64() 2964 if (ofs == 0) { in tcg_gen_extract2_i64() [all …]
|
H A D | tci.c | 383 int32_t ofs; in tcg_qemu_tb_exec() local 491 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 496 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 501 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 506 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 512 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 517 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 522 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 528 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() 758 ptr = (void *)(regs[r1] + ofs); in tcg_qemu_tb_exec() [all …]
|
/qemu/linux-user/arm/ |
H A D | vdso.S | 37 .macro fdpic_thunk ofs 38 ldr r3, [sp, #\ofs] 89 .macro cfi_fdpic_r9 ofs 98 .cfi_escape 0x10, 9, 7, 0x7d, (\ofs & 0x7f) + 0x80, (\ofs >> 7), 0x06, 0x23, 4, 0x06 101 .macro cfi_fdpic_pc ofs 109 .cfi_escape 0x10, 14, 5, 0x7d, (\ofs & 0x7f) + 0x80, (\ofs >> 7), 0x06, 0x06
|
H A D | signal.c | 171 static void write_arm_fdpic_sigreturn(uint32_t *rc, int ofs); 601 static void write_arm_fdpic_sigreturn(uint32_t *rc, int ofs) in write_arm_fdpic_sigreturn() argument 603 assert(ofs <= 0xfff); in write_arm_fdpic_sigreturn() 604 __put_user(0xe59d3000 | ofs, rc + 0); /* ldr r3, [sp, #ofs] */ in write_arm_fdpic_sigreturn() 610 static void write_thm_fdpic_sigreturn(void *vrc, int ofs) in write_thm_fdpic_sigreturn() argument 614 assert((ofs & ~0x3fc) == 0); in write_thm_fdpic_sigreturn() 615 __put_user(0x9b00 | (ofs >> 2), rc + 0); /* ldr r3, [sp, #ofs] */ in write_thm_fdpic_sigreturn()
|
/qemu/tcg/i386/ |
H A D | tcg-target.h | 228 #define TCG_TARGET_deposit_i32_valid(ofs, len) \ argument 229 (((ofs) == 0 && ((len) == 8 || (len) == 16)) || \ 230 (TCG_TARGET_REG_BITS == 32 && (ofs) == 8 && (len) == 8)) 235 #define TCG_TARGET_extract_i32_valid(ofs, len) ((ofs) == 8 && (len) == 8) argument 236 #define TCG_TARGET_extract_i64_valid(ofs, len) \ argument 237 (((ofs) == 8 && (len) == 8) || ((ofs) + (len)) == 32)
|
/qemu/scripts/coccinelle/ |
H A D | tcg_gen_extract.cocci | 43 constant ofs, msk; 52 )(ret, arg, ofs); 88 constant match.ofs, match.msk; 93 -tcg_gen_shri_i32@shr_p(ret, arg, ofs); 94 +tcg_gen_extract_i32(ret, arg, ofs, extract_len); 98 -tcg_gen_shri_i64@shr_p(ret, arg, ofs); 99 +tcg_gen_extract_i64(ret, arg, ofs, extract_len); 103 -tcg_gen_shri_tl@shr_p(ret, arg, ofs); 104 +tcg_gen_extract_tl(ret, arg, ofs, extract_len);
|
/qemu/util/ |
H A D | getauxval.c | 53 ssize_t size = 512, r, ofs; in qemu_init_auxval() local 73 ofs = size; in qemu_init_auxval() 76 r = read(fd, (char *)a + ofs, ofs); in qemu_init_auxval() 77 } while (r == ofs); in qemu_init_auxval()
|
H A D | vfio-helpers.c | 237 int size, int ofs) in qemu_vfio_pci_read_config() argument 241 trace_qemu_vfio_pci_read_config(buf, ofs, size, in qemu_vfio_pci_read_config() 244 assert(QEMU_IS_ALIGNED(s->config_region_info.offset + ofs, size)); in qemu_vfio_pci_read_config() 246 pread(s->device, buf, size, s->config_region_info.offset + ofs) in qemu_vfio_pci_read_config() 251 static int qemu_vfio_pci_write_config(QEMUVFIOState *s, void *buf, int size, int ofs) in qemu_vfio_pci_write_config() argument 255 trace_qemu_vfio_pci_write_config(buf, ofs, size, in qemu_vfio_pci_write_config() 258 assert(QEMU_IS_ALIGNED(s->config_region_info.offset + ofs, size)); in qemu_vfio_pci_write_config() 260 pwrite(s->device, buf, size, s->config_region_info.offset + ofs) in qemu_vfio_pci_write_config()
|
H A D | trace-events | 95 …_vfio_pci_read_config(void *buf, int ofs, int size, uint64_t region_ofs, uint64_t region_size) "re… 96 …vfio_pci_write_config(void *buf, int ofs, int size, uint64_t region_ofs, uint64_t region_size) "wr… 98 …t region_ofs, uint64_t region_size, int ofs, void *host) "map region bar#%d addr 0x%"PRIx64" size …
|
/qemu/hw/scsi/ |
H A D | mptconfig.c | 46 size_t ofs; in vfill() local 50 ofs = 0; in vfill() 73 stb_p(data + ofs, val.ll); in vfill() 75 ofs++; in vfill() 81 ofs += 2; in vfill() 87 ofs += 4; in vfill() 93 ofs += 8; in vfill() 105 ofs += cnt; in vfill() 111 return ofs; in vfill() 440 assert(ofs == size); in mptsas_config_sas_io_unit_0() [all …]
|
/qemu/tests/tcg/aarch64/ |
H A D | test-826.c | 26 long ofs; in main() local 39 ofs = 0x124; in main() 40 expected = page + ofs; in main() 47 : : "r"(page), "r"(ofs) : "v0", "v1"); in main()
|
/qemu/tests/tcg/hppa/ |
H A D | stby.c | 16 const char *which, const char *insn, int ofs) in check() argument 22 which, insn, ofs, s->a); in check() 27 which, insn, ofs, s->c); in check() 32 which, insn, ofs, s->b, e); in check()
|
/qemu/target/m68k/ |
H A D | op_helper.c | 873 addr += ofs / 8; in bf_prep() 874 bofs = ofs % 8; in bf_prep() 970 struct bf_data d = bf_prep(addr, ofs, len); in HELPER() 980 struct bf_data d = bf_prep(addr, ofs, len); in HELPER() 995 int32_t ofs, uint32_t len) in HELPER() 998 struct bf_data d = bf_prep(addr, ofs, len); in HELPER() 1014 struct bf_data d = bf_prep(addr, ofs, len); in HELPER() 1027 struct bf_data d = bf_prep(addr, ofs, len); in HELPER() 1040 struct bf_data d = bf_prep(addr, ofs, len); in HELPER() 1051 return (n ? clz32(n) : len) + ofs; in HELPER() [all …]
|
/qemu/linux-user/ppc/ |
H A D | vdso.S | 166 .macro save_vreg_ofs reg, ofs 176 …s_ptr & 0x7f) + 0x80, offsetof_mcontext_vregs_ptr >> 7, 0x06, 0x23, (\ofs & 0x7f) | 0x80, \ofs >> 7 178 .cfi_offset 77 + \reg, offsetof_mcontext_vregs + \ofs
|
/qemu/ui/ |
H A D | vnc-enc-zywrle.h | 314 int s, ofs; in wavelet_level() local 322 ofs = (4 << l) * skip_pixel; in wavelet_level() 325 harr(px0, px0 + ofs); in wavelet_level() 327 harr(px0, px0 + ofs); in wavelet_level() 329 harr(px0, px0 + ofs); in wavelet_level()
|
/qemu/target/hppa/ |
H A D | translate.c | 1559 TCGv_i64 ofs; in form_gva() local 1568 tcg_gen_add_i64(ofs, ofs, base); in form_gva() 1573 ofs = base; in form_gva() 1576 *pofs = ofs; in form_gva() 1596 TCGv_i64 ofs; in do_load_32() local 1614 TCGv_i64 ofs; in do_load_64() local 1632 TCGv_i64 ofs; in do_store_32() local 1650 TCGv_i64 ofs; in do_store_64() local 2575 TCGv_i64 ofs; in do_pxtlb() local 3386 tcg_gen_andi_i64(ofs, ofs, ~3); in trans_stby() [all …]
|
/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 966 if (ofs < -0x80000 || ofs >= 0x80000) { 971 ofs = low; 980 if (opc_rx && ofs >= 0 && ofs < 0x1000) { 991 if (ofs < 0 || ofs >= 0x1000) { 992 if (ofs >= -0x80000 && ofs < 0x80000) { 996 ofs = 0; 1003 ofs = 0; 1548 int lsb = (63 - ofs); 1554 int ofs, int len) 1866 int ofs, a_off; [all …]
|
/qemu/include/tcg/ |
H A D | tcg-op-common.h | 113 unsigned int ofs, unsigned int len); 115 unsigned int ofs, unsigned int len); 117 unsigned int ofs, unsigned int len); 119 unsigned int ofs, unsigned int len); 121 unsigned int ofs); 216 unsigned int ofs, unsigned int len); 218 unsigned int ofs, unsigned int len); 220 unsigned int ofs, unsigned int len); 222 unsigned int ofs, unsigned int len); 224 unsigned int ofs);
|
/qemu/include/qemu/ |
H A D | timer.h | 974 uint32_t cur, ofs; in cpu_get_host_ticks() local 978 ofs = cc >> 32; in cpu_get_host_ticks() 979 return cur - ofs; in cpu_get_host_ticks()
|
/qemu/include/ui/ |
H A D | pixman-minimal.h | 60 #define PIXMAN_FORMAT_RESHIFT(val, ofs, num) \ argument 61 (((val >> (ofs)) & ((1 << (num)) - 1)) << ((val >> 22) & 3))
|