Lines Matching full:in2

1004    them, and store them back.  See the "in1", "in2", "prep", "wout" sets
1007 TCGv_i64 out, out2, in1, in2; member
1014 "in2", "prep", "wout" helper will have a SPEC_<name> define that equals one
1184 tcg_gen_abs_i64(o->out, o->in2); in op_abs()
1190 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffffull); in op_absf32()
1196 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffffffffffffull); in op_absf64()
1203 tcg_gen_mov_i64(o->out2, o->in2); in op_absf128()
1209 tcg_gen_add_i64(o->out, o->in1, o->in2); in op_add()
1216 tcg_gen_add2_i64(o->out, cc_src, o->in1, cc_src, o->in2, cc_src); in op_addu64()
1244 tcg_gen_add_i64(o->out, o->in1, o->in2); in op_addc32()
1255 tcg_gen_add2_i64(o->out, cc_src, o->out, cc_src, o->in2, zero); in op_addc64()
1269 tcg_gen_atomic_fetch_add_i64(o->in1, o->addr1, o->in2, get_mem_index(s), in op_asi()
1274 tcg_gen_add_i64(o->out, o->in1, o->in2); in op_asi()
1291 tcg_gen_atomic_fetch_add_i64(o->in1, o->addr1, o->in2, get_mem_index(s), in op_asiu64()
1297 tcg_gen_add2_i64(o->out, cc_src, o->in1, cc_src, o->in2, cc_src); in op_asiu64()
1307 gen_helper_aeb(o->out, tcg_env, o->in1, o->in2); in op_aeb()
1313 gen_helper_adb(o->out, tcg_env, o->in1, o->in2); in op_adb()
1325 tcg_gen_and_i64(o->out, o->in1, o->in2); in op_and()
1336 tcg_gen_shli_i64(t, o->in2, shift); in op_andi()
1348 tcg_gen_andc_i64(o->out, o->in1, o->in2); in op_andc()
1354 tcg_gen_orc_i64(o->out, o->in1, o->in2); in op_orc()
1360 tcg_gen_nand_i64(o->out, o->in1, o->in2); in op_nand()
1366 tcg_gen_nor_i64(o->out, o->in1, o->in2); in op_nor()
1372 tcg_gen_eqv_i64(o->out, o->in1, o->in2); in op_nxor()
1384 tcg_gen_atomic_fetch_and_i64(o->in1, o->addr1, o->in2, get_mem_index(s), in op_ni()
1389 tcg_gen_and_i64(o->out, o->in1, o->in2); in op_ni()
1400 if (o->in2) { in op_bas()
1401 return help_goto_indirect(s, o->in2); in op_bas()
1430 if (o->in2) { in op_bal()
1431 return help_goto_indirect(s, o->in2); in op_bal()
1471 disas_jdest(s, i2, is_imm, imm, o->in2); in op_basi()
1473 return help_branch(s, &c, is_imm, imm, o->in2); in op_basi()
1498 disas_jdest(s, i2, is_imm, imm, o->in2); in op_bc()
1500 return help_branch(s, &c, is_imm, imm, o->in2); in op_bc()
1521 disas_jdest(s, i2, is_imm, imm, o->in2); in op_bct32()
1522 return help_branch(s, &c, is_imm, imm, o->in2); in op_bct32()
1543 return help_branch(s, &c, 1, imm, o->in2); in op_bcth()
1560 disas_jdest(s, i2, is_imm, imm, o->in2); in op_bct64()
1561 return help_branch(s, &c, is_imm, imm, o->in2); in op_bct64()
1584 disas_jdest(s, i2, is_imm, imm, o->in2); in op_bx32()
1585 return help_branch(s, &c, is_imm, imm, o->in2); in op_bx32()
1608 disas_jdest(s, i2, is_imm, imm, o->in2); in op_bx64()
1609 return help_branch(s, &c, is_imm, imm, o->in2); in op_bx64()
1624 c.u.s64.b = o->in2; in op_cj()
1639 gen_helper_ceb(cc_op, tcg_env, o->in1, o->in2); in op_ceb()
1646 gen_helper_cdb(cc_op, tcg_env, o->in1, o->in2); in op_cdb()
1690 gen_helper_cfeb(o->out, tcg_env, o->in2, m34); in op_cfeb()
1702 gen_helper_cfdb(o->out, tcg_env, o->in2, m34); in op_cfdb()
1726 gen_helper_cgeb(o->out, tcg_env, o->in2, m34); in op_cgeb()
1738 gen_helper_cgdb(o->out, tcg_env, o->in2, m34); in op_cgdb()
1762 gen_helper_clfeb(o->out, tcg_env, o->in2, m34); in op_clfeb()
1774 gen_helper_clfdb(o->out, tcg_env, o->in2, m34); in op_clfdb()
1798 gen_helper_clgeb(o->out, tcg_env, o->in2, m34); in op_clgeb()
1810 gen_helper_clgdb(o->out, tcg_env, o->in2, m34); in op_clgdb()
1834 gen_helper_cegb(o->out, tcg_env, o->in2, m34); in op_cegb()
1845 gen_helper_cdgb(o->out, tcg_env, o->in2, m34); in op_cdgb()
1856 gen_helper_cxgb(o->out_128, tcg_env, o->in2, m34); in op_cxgb()
1867 gen_helper_celgb(o->out, tcg_env, o->in2, m34); in op_celgb()
1878 gen_helper_cdlgb(o->out, tcg_env, o->in2, m34); in op_cdlgb()
1889 gen_helper_cxlgb(o->out_128, tcg_env, o->in2, m34); in op_cxlgb()
1899 gen_helper_cksm(pair, tcg_env, o->in1, o->in2, regs[r2 + 1]); in op_cksm()
1925 tcg_gen_qemu_ld_tl(cc_dst, o->in2, get_mem_index(s), mop); in op_clc()
1930 gen_helper_clc(cc_op, tcg_env, vl, o->addr1, o->in2); in op_clc()
1969 gen_helper_clcle(cc_op, tcg_env, t1, o->in2, t3); in op_clcle()
1988 gen_helper_clclu(cc_op, tcg_env, t1, o->in2, t3); in op_clclu()
1999 gen_helper_clm(cc_op, tcg_env, t1, m3, o->in2); in op_clm()
2008 gen_helper_clst(pair, tcg_env, regs[0], o->in1, o->in2); in op_clst()
2009 tcg_gen_extr_i128_i64(o->in2, o->in1, pair); in op_clst()
2019 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffffffffffffull); in op_cps()
2031 in2 = (zero-extended) R1 (expected value). */ in op_cs()
2034 tcg_gen_atomic_cmpxchg_i64(o->out, addr, o->in2, o->in1, in op_cs()
2040 tcg_gen_setcond_i64(TCG_COND_NE, cc, o->in2, o->out); in op_cs()
2054 /* Note out (R1:R1+1) = expected value and in2 (R3:R3+1) = new value. */ in op_cdsg()
2077 gen_helper_csst_parallel(cc_op, tcg_env, t_r3, o->addr1, o->in2); in op_csst()
2079 gen_helper_csst(cc_op, tcg_env, t_r3, o->addr1, o->in2); in op_csst()
2098 tcg_gen_andi_i64(addr, o->in2, -1ULL << (mop & MO_SIZE)); in op_csp()
2118 tcg_gen_and_i64(cc, cc, o->in2); in op_csp()
2150 tcg_gen_qemu_st_i64(t1, o->in2, get_mem_index(s), MO_TEUQ); in op_cvd()
2158 tcg_gen_qemu_st_i128(t, o->in2, get_mem_index(s), MO_TE | MO_128); in op_cvdg()
2172 tcg_gen_brcond_i64(c, o->in1, o->in2, lab); in op_ct()
2242 gen_helper_divs32(o->out, tcg_env, o->in1, o->in2); in op_divs32()
2249 gen_helper_divu32(o->out, tcg_env, o->in1, o->in2); in op_divu32()
2258 gen_helper_divs64(t, tcg_env, o->in1, o->in2); in op_divs64()
2267 gen_helper_divu64(t, tcg_env, o->out, o->out2, o->in2); in op_divu64()
2274 gen_helper_deb(o->out, tcg_env, o->in1, o->in2); in op_deb()
2280 gen_helper_ddb(o->out, tcg_env, o->in1, o->in2); in op_ddb()
2352 gen_helper_ex(tcg_env, ilen, v1, o->in2); in op_ex()
2364 gen_helper_fieb(o->out, tcg_env, o->in2, m34); in op_fieb()
2375 gen_helper_fidb(o->out, tcg_env, o->in2, m34); in op_fidb()
2396 gen_op_update1_cc_i64(s, CC_OP_FLOGR, o->in2); in op_flogr()
2399 tcg_gen_clzi_i64(o->out, o->in2, 64); in op_flogr()
2420 tcg_gen_qemu_ld_i64(tmp, o->in2, get_mem_index(s), MO_TEUL); in op_icm()
2428 tcg_gen_qemu_ld_i64(tmp, o->in2, get_mem_index(s), MO_TEUW); in op_icm()
2437 tcg_gen_qemu_ld_i64(tmp, o->in2, get_mem_index(s), MO_UB); in op_icm()
2449 tcg_gen_qemu_ld_i64(tmp, o->in2, get_mem_index(s), MO_UB); in op_icm()
2459 tcg_gen_qemu_ld_i64(tmp, o->in2, get_mem_index(s), MO_UB); in op_icm()
2460 tcg_gen_addi_i64(o->in2, o->in2, 1); in op_icm()
2479 tcg_gen_deposit_i64(o->out, o->in1, o->in2, shift, size); in op_insi()
2507 gen_helper_idte(tcg_env, o->in1, o->in2, m4); in op_idte()
2520 gen_helper_ipte(tcg_env, o->in1, o->in2, m4); in op_ipte()
2526 gen_helper_iske(o->out, tcg_env, o->in2); in op_iske()
2587 gen_helper_keb(cc_op, tcg_env, o->in1, o->in2); in op_keb()
2594 gen_helper_kdb(cc_op, tcg_env, o->in1, o->in2); in op_kdb()
2610 tcg_gen_atomic_fetch_add_i64(o->in2, o->in2, o->in1, get_mem_index(s), in help_laa()
2615 tcg_gen_add2_i64(o->out, cc_src, o->in1, cc_src, o->in2, cc_src); in help_laa()
2617 tcg_gen_add_i64(o->out, o->in1, o->in2); in help_laa()
2636 tcg_gen_atomic_fetch_and_i64(o->in2, o->in2, o->in1, get_mem_index(s), in op_lan()
2639 tcg_gen_and_i64(o->out, o->in1, o->in2); in op_lan()
2647 tcg_gen_atomic_fetch_or_i64(o->in2, o->in2, o->in1, get_mem_index(s), in op_lao()
2650 tcg_gen_or_i64(o->out, o->in1, o->in2); in op_lao()
2658 tcg_gen_atomic_fetch_xor_i64(o->in2, o->in2, o->in1, get_mem_index(s), in op_lax()
2661 tcg_gen_xor_i64(o->out, o->in1, o->in2); in op_lax()
2667 gen_helper_ldeb(o->out, tcg_env, o->in2); in op_ldeb()
2678 gen_helper_ledb(o->out, tcg_env, o->in2, m34); in op_ledb()
2706 gen_helper_lxdb(o->out_128, tcg_env, o->in2); in op_lxdb()
2712 gen_helper_lxeb(o->out_128, tcg_env, o->in2); in op_lxeb()
2718 tcg_gen_shli_i64(o->out, o->in2, 32); in op_lde()
2724 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffff); in op_llgt()
2730 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), MO_SB); in op_ld8s()
2736 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), MO_UB); in op_ld8u()
2742 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), MO_TESW); in op_ld16s()
2748 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), MO_TEUW); in op_ld16u()
2754 tcg_gen_qemu_ld_tl(o->out, o->in2, get_mem_index(s), in op_ld32s()
2761 tcg_gen_qemu_ld_tl(o->out, o->in2, get_mem_index(s), in op_ld32u()
2768 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), in op_ld64()
2776 store_reg32_i64(get_field(s, r1), o->in2); in op_lat()
2778 tcg_gen_brcondi_i64(TCG_COND_NE, o->in2, 0, lab); in op_lat()
2787 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), MO_TEUQ); in op_lgat()
2798 store_reg32h_i64(get_field(s, r1), o->in2); in op_lfhat()
2800 tcg_gen_brcondi_i64(TCG_COND_NE, o->in2, 0, lab); in op_lfhat()
2810 tcg_gen_qemu_ld_i64(o->out, o->in2, get_mem_index(s), MO_TEUL); in op_llgfat()
2821 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffff); in op_llgtat()
2843 o->in2, o->in1); in op_loc()
2854 tcg_gen_movcond_i64(TCG_COND_NE, o->out, t, z, o->in2, o->in1); in op_loc()
2866 gen_helper_lctl(tcg_env, r1, o->in2, r3); in op_lctl()
2877 gen_helper_lctlg(tcg_env, r1, o->in2, r3); in op_lctlg()
2885 gen_helper_lra(o->out, tcg_env, o->out, o->in2); in op_lra()
2892 tcg_gen_st_i64(o->in2, tcg_env, offsetof(CPUS390XState, pp)); in op_lpp()
2908 tcg_gen_qemu_ld_i64(mask, o->in2, get_mem_index(s), MO_TEUQ | MO_ALIGN_8); in op_lpsw()
2924 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), in op_lpswe()
2926 tcg_gen_addi_i64(o->in2, o->in2, 8); in op_lpswe()
2927 tcg_gen_qemu_ld_i64(t2, o->in2, get_mem_index(s), MO_TEUQ); in op_lpswe()
2938 gen_helper_lam(tcg_env, r1, o->in2, r3); in op_lam()
2951 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUL); in op_lm32()
2959 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUL); in op_lm32()
2960 tcg_gen_addi_i64(t2, o->in2, 4 * ((r3 - r1) & 15)); in op_lm32()
2975 tcg_gen_add_i64(o->in2, o->in2, t2); in op_lm32()
2976 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUL); in op_lm32()
2991 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUL); in op_lmh()
2999 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUL); in op_lmh()
3000 tcg_gen_addi_i64(t2, o->in2, 4 * ((r3 - r1) & 15)); in op_lmh()
3015 tcg_gen_add_i64(o->in2, o->in2, t2); in op_lmh()
3016 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUL); in op_lmh()
3030 tcg_gen_qemu_ld_i64(regs[r1], o->in2, get_mem_index(s), MO_TEUQ); in op_lm64()
3038 tcg_gen_qemu_ld_i64(t1, o->in2, get_mem_index(s), MO_TEUQ); in op_lm64()
3039 tcg_gen_addi_i64(t2, o->in2, 8 * ((r3 - r1) & 15)); in op_lm64()
3053 tcg_gen_add_i64(o->in2, o->in2, t1); in op_lm64()
3054 tcg_gen_qemu_ld_i64(regs[r1], o->in2, get_mem_index(s), MO_TEUQ); in op_lm64()
3086 tcg_gen_qemu_ld_i128(o->out_128, o->in2, get_mem_index(s), in op_lpq()
3094 tcg_gen_qemu_ld_tl(o->out, o->in2, MMU_REAL_IDX, s->insn->data); in op_lura()
3101 tcg_gen_andi_i64(o->out, o->in2, -256); in op_lzrb()
3141 o->out = o->in2; in op_mov2()
3142 o->in2 = NULL; in op_mov2()
3152 o->out = o->in2; in op_mov2e()
3153 o->in2 = NULL; in op_mov2e()
3181 o->out2 = o->in2; in op_movx()
3183 o->in2 = NULL; in op_movx()
3191 gen_helper_mvc(tcg_env, l, o->addr1, o->in2); in op_mvc()
3197 gen_helper_mvcrl(tcg_env, regs[0], o->addr1, o->in2); in op_mvcrl()
3205 gen_helper_mvcin(tcg_env, l, o->addr1, o->in2); in op_mvcin()
3242 gen_helper_mvcle(cc_op, tcg_env, t1, o->in2, t3); in op_mvcle()
3261 gen_helper_mvclu(cc_op, tcg_env, t1, o->in2, t3); in op_mvclu()
3269 gen_helper_mvcos(cc_op, tcg_env, o->addr1, o->in2, regs[r3]); in op_mvcos()
3279 gen_helper_mvcp(cc_op, tcg_env, regs[r1], o->addr1, o->in2, regs[r3]); in op_mvcp()
3288 gen_helper_mvcs(cc_op, tcg_env, regs[r1], o->addr1, o->in2, regs[r3]); in op_mvcs()
3298 gen_helper_mvn(tcg_env, l, o->addr1, o->in2); in op_mvn()
3306 gen_helper_mvo(tcg_env, l, o->addr1, o->in2); in op_mvo()
3334 gen_helper_mvz(tcg_env, l, o->addr1, o->in2); in op_mvz()
3340 tcg_gen_mul_i64(o->out, o->in1, o->in2); in op_mul()
3346 tcg_gen_mulu2_i64(o->out2, o->out, o->in1, o->in2); in op_mul128()
3352 tcg_gen_muls2_i64(o->out2, o->out, o->in1, o->in2); in op_muls128()
3358 gen_helper_meeb(o->out, tcg_env, o->in1, o->in2); in op_meeb()
3364 gen_helper_mdeb(o->out, tcg_env, o->in1, o->in2); in op_mdeb()
3370 gen_helper_mdb(o->out, tcg_env, o->in1, o->in2); in op_mdb()
3382 gen_helper_mxdb(o->out_128, tcg_env, o->in1, o->in2); in op_mxdb()
3389 gen_helper_maeb(o->out, tcg_env, o->in1, o->in2, r3); in op_maeb()
3396 gen_helper_madb(o->out, tcg_env, o->in1, o->in2, r3); in op_madb()
3403 gen_helper_mseb(o->out, tcg_env, o->in1, o->in2, r3); in op_mseb()
3410 gen_helper_msdb(o->out, tcg_env, o->in1, o->in2, r3); in op_msdb()
3419 tcg_gen_neg_i64(n, o->in2); in op_nabs()
3420 tcg_gen_movcond_i64(TCG_COND_GE, o->out, o->in2, z, n, o->in2); in op_nabs()
3426 tcg_gen_ori_i64(o->out, o->in2, 0x80000000ull); in op_nabsf32()
3432 tcg_gen_ori_i64(o->out, o->in2, 0x8000000000000000ull); in op_nabsf64()
3439 tcg_gen_mov_i64(o->out2, o->in2); in op_nabsf128()
3447 gen_helper_nc(cc_op, tcg_env, l, o->addr1, o->in2); in op_nc()
3454 tcg_gen_neg_i64(o->out, o->in2); in op_neg()
3460 tcg_gen_xori_i64(o->out, o->in2, 0x80000000ull); in op_negf32()
3466 tcg_gen_xori_i64(o->out, o->in2, 0x8000000000000000ull); in op_negf64()
3473 tcg_gen_mov_i64(o->out2, o->in2); in op_negf128()
3481 gen_helper_oc(cc_op, tcg_env, l, o->addr1, o->in2); in op_oc()
3488 tcg_gen_or_i64(o->out, o->in1, o->in2); in op_or()
3499 tcg_gen_shli_i64(t, o->in2, shift); in op_ori()
3516 tcg_gen_atomic_fetch_or_i64(o->in1, o->addr1, o->in2, get_mem_index(s), in op_oi()
3521 tcg_gen_or_i64(o->out, o->in1, o->in2); in op_oi()
3533 gen_helper_pack(tcg_env, l, o->addr1, o->in2); in op_pack()
3548 gen_helper_pka(tcg_env, o->addr1, o->in2, l); in op_pka()
3563 gen_helper_pku(tcg_env, o->addr1, o->in2, l); in op_pku()
3572 tcg_gen_ctpop_i64(o->out, o->in2); in op_popcnt()
3574 gen_helper_popcnt(o->out, o->in2); in op_popcnt()
3642 tcg_gen_extract_i64(o->out, o->in2, 64 - rot, len); in op_risbg()
3656 tcg_gen_rotli_i64(o->in2, o->in2, rot); in op_risbg()
3661 tcg_gen_deposit_z_i64(o->out, o->in2, pos, len); in op_risbg()
3663 tcg_gen_deposit_i64(o->out, o->out, o->in2, pos, len); in op_risbg()
3666 tcg_gen_andi_i64(o->out, o->in2, mask); in op_risbg()
3668 tcg_gen_andi_i64(o->in2, o->in2, mask); in op_risbg()
3670 tcg_gen_or_i64(o->out, o->out, o->in2); in op_risbg()
3705 tcg_gen_rotli_i64(o->in2, o->in2, i5); in op_rosbg()
3710 tcg_gen_ori_i64(o->in2, o->in2, ~mask); in op_rosbg()
3711 tcg_gen_and_i64(o->out, o->out, o->in2); in op_rosbg()
3714 tcg_gen_andi_i64(o->in2, o->in2, mask); in op_rosbg()
3715 tcg_gen_or_i64(o->out, o->out, o->in2); in op_rosbg()
3718 tcg_gen_andi_i64(o->in2, o->in2, mask); in op_rosbg()
3719 tcg_gen_xor_i64(o->out, o->out, o->in2); in op_rosbg()
3733 tcg_gen_bswap16_i64(o->out, o->in2, TCG_BSWAP_IZ | TCG_BSWAP_OZ); in op_rev16()
3739 tcg_gen_bswap32_i64(o->out, o->in2, TCG_BSWAP_IZ | TCG_BSWAP_OZ); in op_rev32()
3745 tcg_gen_bswap64_i64(o->out, o->in2); in op_rev64()
3755 tcg_gen_extrl_i64_i32(t2, o->in2); in op_rll32()
3763 tcg_gen_rotl_i64(o->out, o->in1, o->in2); in op_rll64()
3770 gen_helper_rrbe(cc_op, tcg_env, o->in2); in op_rrbe()
3777 gen_helper_sacf(tcg_env, o->in2); in op_sacf()
3820 tcg_gen_st32_i64(o->in2, tcg_env, offsetof(CPUS390XState, aregs[r1])); in op_sar()
3826 gen_helper_seb(o->out, tcg_env, o->in1, o->in2); in op_seb()
3832 gen_helper_sdb(o->out, tcg_env, o->in1, o->in2); in op_sdb()
3844 gen_helper_sqeb(o->out, tcg_env, o->in2); in op_sqeb()
3850 gen_helper_sqdb(o->out, tcg_env, o->in2); in op_sqdb()
3863 gen_helper_servc(cc_op, tcg_env, o->in2, o->in1); in op_servc()
3873 gen_helper_sigp(cc_op, tcg_env, o->in2, r1, r3); in op_sigp()
3931 gen_op_update2_cc_i64(s, CC_OP_SLA, t, o->in2); in op_sla()
3932 tcg_gen_shl_i64(o->out, o->in1, o->in2); in op_sla()
3943 tcg_gen_shl_i64(o->out, o->in1, o->in2); in op_sll()
3949 tcg_gen_sar_i64(o->out, o->in1, o->in2); in op_sra()
3955 tcg_gen_shr_i64(o->out, o->in1, o->in2); in op_srl()
3961 gen_helper_sfpc(tcg_env, o->in2); in op_sfpc()
3967 gen_helper_sfas(tcg_env, o->in2); in op_sfas()
4024 o->in2 = tcg_temp_new_i64(); in op_ectg()
4025 tcg_gen_addi_i64(o->in2, regs[b2], d2); in op_ectg()
4037 tcg_gen_mov_i64(regs[1], o->in2); in op_ectg()
4044 tcg_gen_shri_i64(o->in2, o->in2, 4); in op_spka()
4045 tcg_gen_deposit_i64(psw_mask, psw_mask, o->in2, PSW_SHIFT_KEY, 4); in op_spka()
4051 gen_helper_sske(tcg_env, o->in1, o->in2); in op_sske()
4068 tcg_gen_deposit_i64(psw_mask, psw_mask, o->in2, 56, 8); in op_ssm()
4108 tcg_gen_qemu_st_i64(c1, o->in2, get_mem_index(s), MO_TEUQ); in op_stcke()
4109 tcg_gen_addi_i64(o->in2, o->in2, 8); in op_stcke()
4110 tcg_gen_qemu_st_i64(c2, o->in2, get_mem_index(s), MO_TEUQ); in op_stcke()
4119 gen_helper_sck(cc_op, tcg_env, o->in2); in op_sck()
4126 gen_helper_sckc(tcg_env, o->in2); in op_sckc()
4147 gen_helper_stctg(tcg_env, r1, o->in2, r3); in op_stctg()
4156 gen_helper_stctl(tcg_env, r1, o->in2, r3); in op_stctl()
4168 gen_helper_spt(tcg_env, o->in2); in op_spt()
4186 gen_helper_stsi(cc_op, tcg_env, o->in2, regs[0], regs[1]); in op_stsi()
4193 gen_helper_spx(tcg_env, o->in2); in op_spx()
4220 gen_helper_msch(tcg_env, regs[1], o->in2); in op_msch()
4247 gen_helper_schm(tcg_env, regs[1], regs[2], o->in2); in op_schm()
4266 gen_helper_ssch(tcg_env, regs[1], o->in2); in op_ssch()
4273 gen_helper_stsch(tcg_env, regs[1], o->in2); in op_stsch()
4280 gen_helper_stcrw(tcg_env, o->in2); in op_stcrw()
4294 gen_helper_tsch(tcg_env, regs[1], o->in2); in op_tsch()
4301 gen_helper_chsc(tcg_env, o->in2); in op_chsc()
4341 tcg_gen_qemu_st_tl(o->in1, o->in2, MMU_REAL_IDX, s->insn->data); in op_stura()
4355 gen_helper_stfle(cc_op, tcg_env, o->in2); in op_stfle()
4362 tcg_gen_qemu_st_i64(o->in1, o->in2, get_mem_index(s), MO_UB); in op_st8()
4368 tcg_gen_qemu_st_i64(o->in1, o->in2, get_mem_index(s), MO_TEUW); in op_st16()
4374 tcg_gen_qemu_st_tl(o->in1, o->in2, get_mem_index(s), in op_st32()
4381 tcg_gen_qemu_st_i64(o->in1, o->in2, get_mem_index(s), in op_st64()
4391 gen_helper_stam(tcg_env, r1, o->in2, r3); in op_stam()
4406 tcg_gen_qemu_st_i64(tmp, o->in2, get_mem_index(s), MO_TEUL); in op_stcm()
4414 tcg_gen_qemu_st_i64(tmp, o->in2, get_mem_index(s), MO_TEUW); in op_stcm()
4423 tcg_gen_qemu_st_i64(tmp, o->in2, get_mem_index(s), MO_UB); in op_stcm()
4432 tcg_gen_qemu_st_i64(tmp, o->in2, get_mem_index(s), MO_UB); in op_stcm()
4433 tcg_gen_addi_i64(o->in2, o->in2, 1); in op_stcm()
4451 tcg_gen_qemu_st_i64(regs[r1], o->in2, get_mem_index(s), in op_stm()
4456 tcg_gen_add_i64(o->in2, o->in2, tsize); in op_stm()
4473 tcg_gen_qemu_st_i64(t, o->in2, get_mem_index(s), MO_TEUL); in op_stmh()
4477 tcg_gen_add_i64(o->in2, o->in2, t4); in op_stmh()
4488 tcg_gen_qemu_st_i128(t16, o->in2, get_mem_index(s), in op_stpq()
4515 tcg_gen_sub_i64(o->out, o->in1, o->in2); in op_sub()
4522 tcg_gen_sub2_i64(o->out, cc_src, o->in1, cc_src, o->in2, cc_src); in op_subu64()
4554 tcg_gen_sub_i64(o->out, o->out, o->in2); in op_subb32()
4568 tcg_gen_sub2_i64(o->out, cc_src, o->out, cc_src, o->in2, zero); in op_subb64()
4602 gen_helper_tceb(cc_op, tcg_env, o->in1, o->in2); in op_tceb()
4609 gen_helper_tcdb(cc_op, tcg_env, o->in1, o->in2); in op_tcdb()
4616 gen_helper_tcxb(cc_op, tcg_env, o->in1_128, o->in2); in op_tcxb()
4625 gen_helper_testblock(cc_op, tcg_env, o->in2); in op_testblock()
4632 gen_helper_tprot(cc_op, tcg_env, o->addr1, o->in2); in op_tprot()
4652 gen_helper_tr(tcg_env, l, o->addr1, o->in2); in op_tr()
4661 gen_helper_tre(pair, tcg_env, o->out, o->out2, o->in2); in op_tre()
4671 gen_helper_trt(cc_op, tcg_env, l, o->addr1, o->in2); in op_trt()
4680 gen_helper_trtr(cc_op, tcg_env, l, o->addr1, o->in2); in op_trtr()
4717 tcg_gen_atomic_xchg_i32(t1, o->in2, ff, get_mem_index(s), MO_UB); in op_ts()
4727 gen_helper_unpk(tcg_env, l, o->addr1, o->in2); in op_unpk()
4742 gen_helper_unpka(cc_op, tcg_env, o->addr1, l, o->in2); in op_unpka()
4758 gen_helper_unpku(cc_op, tcg_env, o->addr1, l, o->in2); in op_unpku()
4777 o->in2 = tcg_constant_i64(0); in op_xc()
4781 tcg_gen_qemu_st_i64(o->in2, o->addr1, get_mem_index(s), MO_UQ); in op_xc()
4788 tcg_gen_qemu_st_i64(o->in2, o->addr1, get_mem_index(s), MO_UL); in op_xc()
4795 tcg_gen_qemu_st_i64(o->in2, o->addr1, get_mem_index(s), MO_UW); in op_xc()
4802 tcg_gen_qemu_st_i64(o->in2, o->addr1, get_mem_index(s), MO_UB); in op_xc()
4809 o->in2 = get_address(s, 0, b2, d2); in op_xc()
4811 gen_helper_xc(cc_op, tcg_env, t32, o->addr1, o->in2); in op_xc()
4818 tcg_gen_xor_i64(o->out, o->in1, o->in2); in op_xor()
4829 tcg_gen_shli_i64(t, o->in2, shift); in op_xori()
4846 tcg_gen_atomic_fetch_xor_i64(o->in1, o->addr1, o->in2, get_mem_index(s), in op_xi()
4851 tcg_gen_xor_i64(o->out, o->in1, o->in2); in op_xi()
4914 gen_helper_sic(tcg_env, o->in1, o->in2); in op_sic()
4969 gen_op_update3_cc_i64(s, CC_OP_ADD_32, o->in1, o->in2, o->out); in cout_adds32()
4974 gen_op_update3_cc_i64(s, CC_OP_ADD_64, o->in1, o->in2, o->out); in cout_adds64()
4991 gen_op_update2_cc_i64(s, CC_OP_LTGT_32, o->in1, o->in2); in cout_cmps32()
4996 gen_op_update2_cc_i64(s, CC_OP_LTGT_64, o->in1, o->in2); in cout_cmps64()
5001 gen_op_update2_cc_i64(s, CC_OP_LTUGTU_32, o->in1, o->in2); in cout_cmpu32()
5006 gen_op_update2_cc_i64(s, CC_OP_LTUGTU_64, o->in1, o->in2); in cout_cmpu64()
5067 gen_op_update3_cc_i64(s, CC_OP_SUB_32, o->in1, o->in2, o->out); in cout_subs32()
5072 gen_op_update3_cc_i64(s, CC_OP_SUB_64, o->in1, o->in2, o->out); in cout_subs64()
5089 gen_op_update2_cc_i64(s, CC_OP_TM_32, o->in1, o->in2); in cout_tm32()
5094 gen_op_update2_cc_i64(s, CC_OP_TM_64, o->in1, o->in2); in cout_tm64()
5333 tcg_gen_qemu_st_i64(o->out, o->in2, get_mem_index(s), MO_TEUL); in wout_m2_32()
5339 store_reg(get_field(s, r1), o->in2); in wout_in2_r1()
5345 store_reg32_i64(get_field(s, r1), o->in2); in wout_in2_r1_32()
5577 o->in2 = regs[get_field(s, r1)]; in in2_r1_o()
5583 o->in2 = tcg_temp_new_i64(); in in2_r1_16u()
5584 tcg_gen_ext16u_i64(o->in2, regs[get_field(s, r1)]); in in2_r1_16u()
5590 o->in2 = tcg_temp_new_i64(); in in2_r1_32u()
5591 tcg_gen_ext32u_i64(o->in2, regs[get_field(s, r1)]); in in2_r1_32u()
5598 o->in2 = tcg_temp_new_i64(); in in2_r1_D32()
5599 tcg_gen_concat32_i64(o->in2, regs[r1 + 1], regs[r1]); in in2_r1_D32()
5605 o->in2 = load_reg(get_field(s, r2)); in in2_r2()
5611 o->in2 = regs[get_field(s, r2)]; in in2_r2_o()
5619 o->in2 = load_reg(r2); in in2_r2_nz()
5626 o->in2 = tcg_temp_new_i64(); in in2_r2_8s()
5627 tcg_gen_ext8s_i64(o->in2, regs[get_field(s, r2)]); in in2_r2_8s()
5633 o->in2 = tcg_temp_new_i64(); in in2_r2_8u()
5634 tcg_gen_ext8u_i64(o->in2, regs[get_field(s, r2)]); in in2_r2_8u()
5640 o->in2 = tcg_temp_new_i64(); in in2_r2_16s()
5641 tcg_gen_ext16s_i64(o->in2, regs[get_field(s, r2)]); in in2_r2_16s()
5647 o->in2 = tcg_temp_new_i64(); in in2_r2_16u()
5648 tcg_gen_ext16u_i64(o->in2, regs[get_field(s, r2)]); in in2_r2_16u()
5654 o->in2 = load_reg(get_field(s, r3)); in in2_r3()
5668 o->in2 = tcg_temp_new_i64(); in in2_r3_sr32()
5669 tcg_gen_shri_i64(o->in2, regs[get_field(s, r3)], 32); in in2_r3_sr32()
5675 o->in2 = tcg_temp_new_i64(); in in2_r3_32u()
5676 tcg_gen_ext32u_i64(o->in2, regs[get_field(s, r3)]); in in2_r3_32u()
5682 o->in2 = tcg_temp_new_i64(); in in2_r2_32s()
5683 tcg_gen_ext32s_i64(o->in2, regs[get_field(s, r2)]); in in2_r2_32s()
5689 o->in2 = tcg_temp_new_i64(); in in2_r2_32u()
5690 tcg_gen_ext32u_i64(o->in2, regs[get_field(s, r2)]); in in2_r2_32u()
5696 o->in2 = tcg_temp_new_i64(); in in2_r2_sr32()
5697 tcg_gen_shri_i64(o->in2, regs[get_field(s, r2)], 32); in in2_r2_sr32()
5703 o->in2 = load_freg32_i64(get_field(s, r2)); in in2_e2()
5709 o->in2 = load_freg(get_field(s, r2)); in in2_f2()
5722 o->in2 = load_freg(get_field(s, r2) + 2); in in2_x2l()
5731 o->in2 = tcg_temp_new_i64(); in in2_ra2()
5732 gen_addi_and_wrap_i64(s, o->in2, regs[r2], 0); in in2_ra2()
5745 o->in2 = get_address(s, x2, get_field(s, b2), get_field(s, d2)); in in2_a2()
5765 o->in2 = gen_ri2(s); in in2_ri2()
5775 o->in2 = tcg_constant_i64(d2 & 0x3f); in in2_sh()
5777 o->in2 = get_address(s, 0, b2, d2); in in2_sh()
5778 tcg_gen_andi_i64(o->in2, o->in2, 0x3f); in in2_sh()
5786 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_UB); in in2_m2_8u()
5793 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TESW); in in2_m2_16s()
5800 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TEUW); in in2_m2_16u()
5807 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TESL); in in2_m2_32s()
5814 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TEUL); in in2_m2_32u()
5822 tcg_gen_qemu_ld_tl(o->in2, o->in2, get_mem_index(s), MO_TEUL | MO_ALIGN); in in2_m2_32ua()
5830 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TEUQ); in in2_m2_64()
5837 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TEUQ); in in2_m2_64w()
5838 gen_addi_and_wrap_i64(s, o->in2, o->in2, 0); in in2_m2_64w()
5846 tcg_gen_qemu_ld_i64(o->in2, o->in2, get_mem_index(s), MO_TEUQ | MO_ALIGN); in in2_m2_64a()
5853 o->in2 = tcg_temp_new_i64(); in in2_mri2_16s()
5854 tcg_gen_qemu_ld_i64(o->in2, gen_ri2(s), get_mem_index(s), MO_TESW); in in2_mri2_16s()
5860 o->in2 = tcg_temp_new_i64(); in in2_mri2_16u()
5861 tcg_gen_qemu_ld_i64(o->in2, gen_ri2(s), get_mem_index(s), MO_TEUW); in in2_mri2_16u()
5867 o->in2 = tcg_temp_new_i64(); in in2_mri2_32s()
5868 tcg_gen_qemu_ld_tl(o->in2, gen_ri2(s), get_mem_index(s), in in2_mri2_32s()
5875 o->in2 = tcg_temp_new_i64(); in in2_mri2_32u()
5876 tcg_gen_qemu_ld_tl(o->in2, gen_ri2(s), get_mem_index(s), in in2_mri2_32u()
5883 o->in2 = tcg_temp_new_i64(); in in2_mri2_64()
5884 tcg_gen_qemu_ld_i64(o->in2, gen_ri2(s), get_mem_index(s), in in2_mri2_64()
5891 o->in2 = tcg_constant_i64(get_field(s, i2)); in in2_i2()
5897 o->in2 = tcg_constant_i64((uint8_t)get_field(s, i2)); in in2_i2_8u()
5903 o->in2 = tcg_constant_i64((uint16_t)get_field(s, i2)); in in2_i2_16u()
5909 o->in2 = tcg_constant_i64((uint32_t)get_field(s, i2)); in in2_i2_32u()
5916 o->in2 = tcg_constant_i64(i2 << s->insn->data); in in2_i2_16u_shl()
5923 o->in2 = tcg_constant_i64(i2 << s->insn->data); in in2_i2_32u_shl()
5930 o->in2 = tcg_constant_i64(s->fields.raw_insn); in in2_insn()