Home
last modified time | relevance | path

Searched refs:arg0 (Results 1 – 25 of 25) sorted by relevance

/qemu/linux-user/
H A Dstrace.c677 abi_long arg0, abi_long arg1, abi_long arg2, in print_shmat() argument
689 print_raw_param(TARGET_ABI_FMT_ld, arg0, 0); in print_shmat()
789 abi_long ret, abi_long arg0, abi_long arg1, in print_syscall_ret_addr() argument
810 abi_long ret, abi_long arg0, abi_long arg1, in print_syscall_ret_newselect() argument
816 print_fdset(arg0, arg1); in print_syscall_ret_newselect()
818 print_fdset(arg0, arg2); in print_syscall_ret_newselect()
820 print_fdset(arg0, arg3); in print_syscall_ret_newselect()
840 abi_long ret, abi_long arg0, abi_long arg1, in print_syscall_ret_adjtimex() argument
875 abi_long ret, abi_long arg0, abi_long arg1, in print_syscall_ret_clock_gettime() argument
894 abi_long ret, abi_long arg0, abi_long arg1, in print_syscall_ret_clock_gettime64() argument
[all …]
/qemu/target/m68k/
H A Dm68k-semi.c130 target_ulong arg0, arg1, arg2, arg3; in do_m68k_semihosting() local
143 semihost_sys_open(cs, m68k_semi_u32_cb, arg0, arg1, arg2, arg3); in do_m68k_semihosting()
148 semihost_sys_close(cs, m68k_semi_u32_cb, arg0); in do_m68k_semihosting()
155 semihost_sys_read(cs, m68k_semi_u32_cb, arg0, arg1, arg2); in do_m68k_semihosting()
162 semihost_sys_write(cs, m68k_semi_u32_cb, arg0, arg1, arg2); in do_m68k_semihosting()
170 semihost_sys_lseek(cs, m68k_semi_u64_cb, arg0, in do_m68k_semihosting()
179 semihost_sys_rename(cs, m68k_semi_u32_cb, arg0, arg1, arg2, arg3); in do_m68k_semihosting()
185 semihost_sys_remove(cs, m68k_semi_u32_cb, arg0, arg1); in do_m68k_semihosting()
192 semihost_sys_stat(cs, m68k_semi_u32_cb, arg0, arg1, arg2); in do_m68k_semihosting()
198 semihost_sys_fstat(cs, m68k_semi_u32_cb, arg0, arg1); in do_m68k_semihosting()
[all …]
/qemu/semihosting/
H A Darm-compat-semi.c367 target_ulong arg0, arg1, arg2, arg3; in do_common_semihosting() local
385 s = lock_user_string(arg0); in do_common_semihosting()
390 unlock_user(s, arg0, 0); in do_common_semihosting()
422 unlock_user(s, arg0, 0); in do_common_semihosting()
423 semihost_sys_open(cs, common_semi_cb, arg0, arg2 + 1, in do_common_semihosting()
427 unlock_user(s, arg0, 0); in do_common_semihosting()
434 semihost_sys_close(cs, common_semi_cb, arg0); in do_common_semihosting()
462 semihost_sys_write(cs, common_semi_rw_cb, arg0, arg1, arg2); in do_common_semihosting()
469 semihost_sys_read(cs, common_semi_rw_cb, arg0, arg1, arg2); in do_common_semihosting()
479 common_semi_set_ret(cs, (target_long)arg0 < 0); in do_common_semihosting()
[all …]
/qemu/tests/tcg/i386/
H A Dtest-i386-bmi2.c12 #define insn1q(name, arg0) \ argument
13 static inline reg_t name##q(reg_t arg0) \
16 asm volatile (#name "q %1, %0" : "=r"(result64) : "rm"(arg0)); \
20 #define insn1l(name, arg0) \ argument
21 static inline reg_t name##l(reg_t arg0) \
24 asm volatile (#name "l %k1, %k0" : "=r"(result32) : "rm"(arg0)); \
28 #define insn2q(name, arg0, c0, arg1, c1) \ argument
29 static inline reg_t name##q(reg_t arg0, reg_t arg1) \
32 asm volatile (#name "q %2, %1, %0" : "=r"(result64) : c0(arg0), c1(arg1)); \
36 #define insn2l(name, arg0, c0, arg1, c1) \ argument
[all …]
H A Dtest-i386-fyl2xp1.c6 long double arg0, arg1, down, up; member
1146 "0" (tests[i].arg0), "u" (tests[i].arg1) : "st(1)"); in main()
1150 tests[i].arg0, tests[i].arg1, tests[i].down, tests[i].up, in main()
H A Dtest-i386-fpatan.c6 long double arg0, arg1, down, up; member
1061 "0" (tests[i].arg0), "u" (tests[i].arg1) : "st(1)"); in main()
1065 tests[i].arg0, tests[i].arg1, tests[i].down, tests[i].up, in main()
H A Dtest-i386-fyl2x.c6 long double arg0, arg1, down, up; member
1151 "0" (tests[i].arg0), "u" (tests[i].arg1) : "st(1)"); in main()
1155 tests[i].arg0, tests[i].arg1, tests[i].down, tests[i].up, in main()
/qemu/tests/tcg/aarch64/
H A Dsemicall.h10 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call() argument
13 register uintptr_t a0 asm("x1") = arg0; in __semi_call()
/qemu/tests/tcg/riscv64/
H A Dsemicall.h10 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call() argument
13 register uintptr_t a0 asm("a1") = arg0; in __semi_call()
/qemu/tests/tcg/arm/
H A Dsemicall.h10 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call() argument
13 register uintptr_t a0 asm("r1") = arg0; in __semi_call()
/qemu/tests/tcg/aarch64/system/
H A Dsemiconsole.c14 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call() argument
17 register uintptr_t a0 asm("x1") = arg0; in __semi_call()
H A Dsemiheap.c15 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call() argument
18 register uintptr_t a0 asm("x1") = arg0; in __semi_call()
/qemu/tests/tcg/arm/system/
H A Dsemiconsole.c14 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call() argument
17 register uintptr_t a0 asm("r1") = arg0; in __semi_call()
/qemu/target/sh4/
H A Dtranslate.c802 TCGv arg0, arg1; in _decode_opc() local
803 arg0 = tcg_temp_new(); in _decode_opc()
804 tcg_gen_qemu_ld_i32(arg0, REG(B7_4), ctx->memidx, in _decode_opc()
809 gen_helper_macl(tcg_env, arg0, arg1); in _decode_opc()
816 TCGv arg0, arg1; in _decode_opc() local
817 arg0 = tcg_temp_new(); in _decode_opc()
818 tcg_gen_qemu_ld_i32(arg0, REG(B7_4), ctx->memidx, in _decode_opc()
823 gen_helper_macw(tcg_env, arg0, arg1); in _decode_opc()
833 TCGv arg0, arg1; in _decode_opc() local
834 arg0 = tcg_temp_new(); in _decode_opc()
[all …]
H A Dop_helper.c160 void helper_macl(CPUSH4State *env, int32_t arg0, int32_t arg1) in helper_macl() argument
164 int64_t mul = (int64_t)arg0 * arg1; in helper_macl()
179 void helper_macw(CPUSH4State *env, int32_t arg0, int32_t arg1) in helper_macw() argument
182 int32_t mul = arg0 * arg1; in helper_macw()
/qemu/target/tricore/
H A Dop_helper.c2286 uint32_t helper_crc32b(uint32_t arg0, uint32_t arg1) in helper_crc32b() argument
2288 uint8_t buf[1] = { arg0 & 0xff }; in helper_crc32b()
2294 uint32_t helper_crc32_be(uint32_t arg0, uint32_t arg1) in helper_crc32_be() argument
2297 stl_be_p(buf, arg0); in helper_crc32_be()
2302 uint32_t helper_crc32_le(uint32_t arg0, uint32_t arg1) in helper_crc32_le() argument
2305 stl_le_p(buf, arg0); in helper_crc32_le()
2335 uint32_t helper_crcn(uint32_t arg0, uint32_t arg1, uint32_t arg2) in helper_crcn() argument
2338 uint32_t n = extract32(arg0, 12, 4) + 1; in helper_crcn()
2339 uint32_t gen = extract32(arg0, 16, n); in helper_crcn()
2340 uint32_t inv = extract32(arg0, 9, 1); in helper_crcn()
[all …]
H A Dtranslate.c137 #define GEN_HELPER_LL(name, ret, arg0, arg1, n) do { \ argument
141 tcg_gen_sari_tl(arg00, arg0, 16); \
142 tcg_gen_ext16s_tl(arg01, arg0); \
147 #define GEN_HELPER_LU(name, ret, arg0, arg1, n) do { \ argument
152 tcg_gen_sari_tl(arg00, arg0, 16); \
153 tcg_gen_ext16s_tl(arg01, arg0); \
159 #define GEN_HELPER_UL(name, ret, arg0, arg1, n) do { \ argument
164 tcg_gen_sari_tl(arg00, arg0, 16); \
165 tcg_gen_ext16s_tl(arg01, arg0); \
171 #define GEN_HELPER_UU(name, ret, arg0, arg1, n) do { \ argument
[all …]
/qemu/scripts/tracetool/
H A D__init__.py370 arg0 = 'Error at %s:%d: %s' % (fname, lineno, e.args[0])
371 e.args = (arg0,) + e.args[1:]
/qemu/tcg/ppc/
H A Dtcg-target.c.inc1811 TCGReg arg0, TCGReg arg1, TCGArg arg2,
1837 tcg_out32(s, opc | RT(arg0) | bi);
1845 tcg_out_setcond_eq0(s, type, arg0, arg1, neg);
1848 tcg_out_setcond_ne0(s, type, arg0, arg1, neg);
1851 tcg_out32(s, NOR | SAB(arg1, arg0, arg1));
1852 arg1 = arg0;
1858 tcg_out_sari32(s, arg0, arg1, 31);
1860 tcg_out_shri32(s, arg0, arg1, 31);
1864 tcg_out_sari64(s, arg0, arg1, 63);
1866 tcg_out_shri64(s, arg0, arg1, 63);
[all …]
/qemu/target/mips/tcg/
H A Dtranslate.h178 void gen_op_addr_add(DisasContext *ctx, TCGv ret, TCGv arg0, TCGv arg1);
H A Dtranslate.c1419 void gen_op_addr_add(DisasContext *ctx, TCGv ret, TCGv arg0, TCGv arg1) in gen_op_addr_add() argument
1421 tcg_gen_add_tl(ret, arg0, arg1); in gen_op_addr_add()
/qemu/target/ppc/
H A Dtranslate.c1617 static inline void gen_op_cmp(TCGv arg0, TCGv arg1, int s, int crf) in gen_op_cmp() argument
1623 t0, arg0, arg1, in gen_op_cmp()
1626 t0, arg0, arg1, tcg_constant_tl(CRF_GT), t0); in gen_op_cmp()
1633 static inline void gen_op_cmpi(TCGv arg0, target_ulong arg1, int s, int crf) in gen_op_cmpi() argument
1636 gen_op_cmp(arg0, t0, s, crf); in gen_op_cmpi()
1639 static inline void gen_op_cmp32(TCGv arg0, TCGv arg1, int s, int crf) in gen_op_cmp32() argument
1645 tcg_gen_ext32s_tl(t0, arg0); in gen_op_cmp32()
1648 tcg_gen_ext32u_tl(t0, arg0); in gen_op_cmp32()
1654 static inline void gen_op_cmpi32(TCGv arg0, target_ulong arg1, int s, int crf) in gen_op_cmpi32() argument
1657 gen_op_cmp32(arg0, t0, s, crf); in gen_op_cmpi32()
[all …]
/qemu/hw/usb/
H A Dtrace-events290 usb_mtp_command(int dev, uint16_t code, uint32_t trans, uint32_t arg0, uint32_t arg1, uint32_t arg2…
291 usb_mtp_success(int dev, uint32_t trans, uint32_t arg0, uint32_t arg1) "dev %d, trans 0x%x, args 0x…
292 usb_mtp_error(int dev, uint16_t code, uint32_t trans, uint32_t arg0, uint32_t arg1) "dev %d, code 0…
H A Ddev-mtp.c782 int argc, uint32_t arg0, uint32_t arg1, in usb_mtp_queue_result() argument
791 c->argv[0] = arg0; in usb_mtp_queue_result()
/qemu/tcg/tci/
H A Dtcg-target.c.inc1024 TCGReg arg0, TCGReg arg1, TCGLabel *l)
1026 tgen_setcond(s, type, cond, TCG_REG_TMP, arg0, arg1);