Home
last modified time | relevance | path

Searched refs:tcg_out32 (Results 1 – 8 of 8) sorted by relevance

/external/qemu/tcg/ppc/
Dtcg-target.c442 tcg_out32 (s, OR | SAB (arg, ret, arg)); in tcg_out_mov()
449 tcg_out32 (s, ADDI | RT (ret) | RA (0) | (arg & 0xffff)); in tcg_out_movi()
451 tcg_out32 (s, ADDIS | RT (ret) | RA (0) | ((arg >> 16) & 0xffff)); in tcg_out_movi()
453 tcg_out32 (s, ORI | RS (ret) | RA (ret) | (arg & 0xffff)); in tcg_out_movi()
461 tcg_out32 (s, op1 | RT (ret) | RA (addr) | (offset & 0xffff)); in tcg_out_ldst()
464 tcg_out32 (s, op2 | RT (ret) | RA (addr) | RB (0)); in tcg_out_ldst()
474 tcg_out32 (s, B | (disp & 0x3fffffc) | mask); in tcg_out_b()
477 tcg_out32 (s, MTSPR | RS (0) | CTR); in tcg_out_b()
478 tcg_out32 (s, BCCTR | BO_ALWAYS | mask); in tcg_out_b()
493 tcg_out32 (s, LWZ | RT (0) | RA (reg)); in tcg_out_call()
[all …]
/external/qemu/tcg/ppc64/
Dtcg-target.c440 tcg_out32 (s, OR | SAB (arg, ret, arg)); in tcg_out_mov()
447 tcg_out32 (s, op | RA (ra) | RS (rs) | sh | mb); in tcg_out_rld()
453 tcg_out32 (s, ADDI | RT (ret) | RA (0) | (arg & 0xffff)); in tcg_out_movi32()
455 tcg_out32 (s, ADDIS | RT (ret) | RA (0) | ((arg >> 16) & 0xffff)); in tcg_out_movi32()
457 tcg_out32 (s, ORI | RS (ret) | RA (ret) | (arg & 0xffff)); in tcg_out_movi32()
477 if (h16) tcg_out32 (s, ORIS | RS (ret) | RA (ret) | h16); in tcg_out_movi()
478 if (l16) tcg_out32 (s, ORI | RS (ret) | RA (ret) | l16); in tcg_out_movi()
494 tcg_out32 (s, B | (disp & 0x3fffffc) | mask); in tcg_out_b()
497 tcg_out32 (s, MTSPR | RS (0) | CTR); in tcg_out_b()
498 tcg_out32 (s, BCCTR | BO_ALWAYS | mask); in tcg_out_b()
[all …]
/external/qemu/tcg/arm/
Dtcg-target.c344 tcg_out32(s, (cond << 28) | 0x012fff10 | rn); in tcg_out_bx()
349 tcg_out32(s, (cond << 28) | 0x0a000000 | in tcg_out_b()
369 tcg_out32(s, (cond << 28) | 0x0b000000 | in tcg_out_bl()
375 tcg_out32(s, (cond << 28) | 0x012fff30 | rn); in tcg_out_blx()
380 tcg_out32(s, 0xfa000000 | ((offset & 2) << 23) | in tcg_out_blx_imm()
387 tcg_out32(s, (cond << 28) | (0 << 25) | (opc << 21) | TO_CPSR(opc) | in tcg_out_dat_reg()
396 tcg_out32(s, (cond << 28) | (0 << 25) | (opc0 << 21) | (1 << 20) | in tcg_out_dat_reg2()
398 tcg_out32(s, (cond << 28) | (0 << 25) | (opc1 << 21) | in tcg_out_dat_reg2()
403 tcg_out32(s, (cond << 28) | (0 << 25) | (opc0 << 21) | (1 << 20) | in tcg_out_dat_reg2()
405 tcg_out32(s, (cond << 28) | (0 << 25) | (opc1 << 21) | in tcg_out_dat_reg2()
[all …]
/external/qemu/tcg/sparc/
Dtcg-target.c289 tcg_out32(s, op | INSN_RD(rd) | INSN_RS1(rs1) | in tcg_out_arith()
296 tcg_out32(s, op | INSN_RD(rd) | INSN_RS1(rs1) | in tcg_out_arithi()
303 tcg_out32(s, op | INSN_RD(rd) | INSN_RS1(rs1) in tcg_out_arithc()
314 tcg_out32(s, SETHI | INSN_RD(ret) | ((arg & 0xfffffc00) >> 10)); in tcg_out_sethi()
361 tcg_out32(s, LDUW | INSN_RD(ret) | INSN_RS1(ret) | in tcg_out_ld_raw()
371 tcg_out32(s, LDX | INSN_RD(ret) | INSN_RS1(ret) | in tcg_out_ld_ptr()
374 tcg_out32(s, LDUW | INSN_RD(ret) | INSN_RS1(ret) | in tcg_out_ld_ptr()
382 tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(addr) | in tcg_out_ldst()
386 tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(TCG_REG_I5) | in tcg_out_ldst()
395 tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(TCG_REG_I5) | in tcg_out_ldst_asi()
[all …]
/external/qemu/tcg/hppa/
Dtcg-target.c346 tcg_out32(s, INSN_OR | INSN_T(ret) | INSN_R1(arg) in tcg_out_mov()
355 tcg_out32(s, INSN_LDO | INSN_R1(ret) in tcg_out_movi()
362 tcg_out32(s, INSN_LDIL | INSN_R2(ret) | reassemble_21(hi)); in tcg_out_movi()
364 tcg_out32(s, INSN_LDO | INSN_R1(ret) in tcg_out_movi()
384 tcg_out32(s, op | reassemble_21(hi)); in tcg_out_ldst()
391 tcg_out32(s, op | INSN_R1(ret) | INSN_R2(addr) | INSN_IM14(offset)); in tcg_out_ldst()
412 tcg_out32(s, op | INSN_T(data) | INSN_R1(index) | INSN_R2(base)); in tcg_out_ldst_index()
429 tcg_out32(s, op | INSN_T(t) | INSN_R1(r1) | INSN_R2(r2)); in tcg_out_arith()
436 tcg_out32(s, op | INSN_R1(t) | INSN_R2(r1) | INSN_IM11(val)); in tcg_out_arithi()
446 tcg_out32(s, INSN_MTCTL | INSN_R2(11) | INSN_R1(arg)); in tcg_out_mtctl_sar()
[all …]
/external/qemu/tcg/x86_64/
Dtcg-target.c281 tcg_out32(s, val); in tcg_out_modrm_offset()
285 tcg_out32(s, offset); in tcg_out_modrm_offset()
314 tcg_out32(s, offset); in tcg_out_modrm_offset()
352 tcg_out32(s, offset); in tcg_out_modrm_offset2()
369 tcg_out32(s, arg); in tcg_out_movi()
372 tcg_out32(s, arg); in tcg_out_movi()
375 tcg_out32(s, arg); in tcg_out_movi()
376 tcg_out32(s, arg >> 32); in tcg_out_movi()
387 tcg_out32(s, disp); in tcg_out_goto()
431 tcg_out32(s, val); in tgen_arithi32()
[all …]
/external/qemu/tcg/i386/
Dtcg-target.c430 tcg_out32(s, disp); in tcg_out_modrm_sib_offset()
441 tcg_out32(s, offset); in tcg_out_modrm_sib_offset()
451 tcg_out32(s, offset); in tcg_out_modrm_sib_offset()
494 tcg_out32(s, offset); in tcg_out_modrm_sib_offset()
531 tcg_out32(s, arg); in tcg_out_movi()
534 tcg_out32(s, arg); in tcg_out_movi()
537 tcg_out32(s, arg); in tcg_out_movi()
538 tcg_out32(s, arg >> 31 >> 1); in tcg_out_movi()
549 tcg_out32(s, val); in tcg_out_pushi()
699 tcg_out32(s, val); in tgen_arithi()
[all …]
/external/qemu/tcg/
Dtcg.c105 static inline void tcg_out32(TCGContext *s, uint32_t v) in tcg_out32() function