Lines Matching refs:cpu_gpr_d

52 static TCGv cpu_gpr_d[16];  variable
288 tcg_gen_andc_tl(temp, temp, cpu_gpr_d[ereg+1]); in gen_ldmst()
290 tcg_gen_and_tl(temp2, cpu_gpr_d[ereg], cpu_gpr_d[ereg+1]); in gen_ldmst()
305 tcg_gen_qemu_st_tl(cpu_gpr_d[reg], ea, ctx->mem_idx, MO_LEUL); in gen_swap()
306 tcg_gen_mov_tl(cpu_gpr_d[reg], temp); in gen_swap()
315 tcg_gen_movcond_tl(TCG_COND_EQ, temp2, cpu_gpr_d[reg+1], temp, in gen_cmpswap()
316 cpu_gpr_d[reg], temp); in gen_cmpswap()
318 tcg_gen_mov_tl(cpu_gpr_d[reg], temp); in gen_cmpswap()
328 tcg_gen_and_tl(temp2, cpu_gpr_d[reg], cpu_gpr_d[reg+1]); in gen_swapmsk()
329 tcg_gen_andc_tl(temp3, temp, cpu_gpr_d[reg+1]); in gen_swapmsk()
332 tcg_gen_mov_tl(cpu_gpr_d[reg], temp); in gen_swapmsk()
2915 gen_branch_condi(ctx, TCG_COND_EQ, cpu_gpr_d[15], 0, offset); in gen_compute_branch()
2918 gen_branch_condi(ctx, TCG_COND_NE, cpu_gpr_d[15], 0, offset); in gen_compute_branch()
2922 gen_branch_condi(ctx, TCG_COND_EQ, cpu_gpr_d[15], constant, offset); in gen_compute_branch()
2925 gen_branch_condi(ctx, TCG_COND_EQ, cpu_gpr_d[15], constant, in gen_compute_branch()
2929 gen_branch_condi(ctx, TCG_COND_NE, cpu_gpr_d[15], constant, offset); in gen_compute_branch()
2932 gen_branch_condi(ctx, TCG_COND_NE, cpu_gpr_d[15], in gen_compute_branch()
2938 tcg_gen_andi_tl(temp, cpu_gpr_d[15], 0x1u << constant); in gen_compute_branch()
2943 tcg_gen_andi_tl(temp, cpu_gpr_d[15], 0x1u << constant); in gen_compute_branch()
2948 gen_branch_cond(ctx, TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[15], in gen_compute_branch()
2952 gen_branch_cond(ctx, TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[15], in gen_compute_branch()
2956 gen_branch_cond(ctx, TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[15], in gen_compute_branch()
2960 gen_branch_cond(ctx, TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[15], in gen_compute_branch()
2964 gen_branch_condi(ctx, TCG_COND_NE, cpu_gpr_d[r1], 0, offset); in gen_compute_branch()
2970 gen_branch_condi(ctx, TCG_COND_GE, cpu_gpr_d[r1], 0, offset); in gen_compute_branch()
2973 gen_branch_condi(ctx, TCG_COND_GT, cpu_gpr_d[r1], 0, offset); in gen_compute_branch()
2976 gen_branch_condi(ctx, TCG_COND_LE, cpu_gpr_d[r1], 0, offset); in gen_compute_branch()
2979 gen_branch_condi(ctx, TCG_COND_LT, cpu_gpr_d[r1], 0, offset); in gen_compute_branch()
2982 gen_branch_condi(ctx, TCG_COND_EQ, cpu_gpr_d[r1], 0, offset); in gen_compute_branch()
3026 gen_branch_condi(ctx, TCG_COND_EQ, cpu_gpr_d[r1], constant, offset); in gen_compute_branch()
3028 gen_branch_condi(ctx, TCG_COND_NE, cpu_gpr_d[r1], constant, offset); in gen_compute_branch()
3033 gen_branch_condi(ctx, TCG_COND_GE, cpu_gpr_d[r1], constant, offset); in gen_compute_branch()
3036 gen_branch_condi(ctx, TCG_COND_GEU, cpu_gpr_d[r1], constant, in gen_compute_branch()
3042 gen_branch_condi(ctx, TCG_COND_LT, cpu_gpr_d[r1], constant, offset); in gen_compute_branch()
3045 gen_branch_condi(ctx, TCG_COND_LTU, cpu_gpr_d[r1], constant, in gen_compute_branch()
3052 tcg_gen_mov_tl(temp, cpu_gpr_d[r1]); in gen_compute_branch()
3054 tcg_gen_subi_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 1); in gen_compute_branch()
3057 tcg_gen_mov_tl(temp, cpu_gpr_d[r1]); in gen_compute_branch()
3059 tcg_gen_addi_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 1); in gen_compute_branch()
3068 tcg_gen_andi_tl(temp, cpu_gpr_d[r1], (1 << n)); in gen_compute_branch()
3079 gen_branch_cond(ctx, TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[r2], in gen_compute_branch()
3082 gen_branch_cond(ctx, TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[r2], in gen_compute_branch()
3097 gen_branch_cond(ctx, TCG_COND_GE, cpu_gpr_d[r1], cpu_gpr_d[r2], in gen_compute_branch()
3100 gen_branch_cond(ctx, TCG_COND_GEU, cpu_gpr_d[r1], cpu_gpr_d[r2], in gen_compute_branch()
3106 gen_branch_cond(ctx, TCG_COND_LT, cpu_gpr_d[r1], cpu_gpr_d[r2], in gen_compute_branch()
3109 gen_branch_cond(ctx, TCG_COND_LTU, cpu_gpr_d[r1], cpu_gpr_d[r2], in gen_compute_branch()
3125 tcg_gen_mov_tl(temp, cpu_gpr_d[r1]); in gen_compute_branch()
3127 tcg_gen_mov_tl(temp2, cpu_gpr_d[r2]); in gen_compute_branch()
3129 tcg_gen_subi_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 1); in gen_compute_branch()
3132 tcg_gen_mov_tl(temp, cpu_gpr_d[r1]); in gen_compute_branch()
3134 tcg_gen_mov_tl(temp2, cpu_gpr_d[r2]); in gen_compute_branch()
3136 tcg_gen_addi_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 1); in gen_compute_branch()
3168 gen_addi_d(cpu_gpr_d[r1], cpu_gpr_d[r1], const4); in decode_src_opc()
3171 gen_addi_d(cpu_gpr_d[r1], cpu_gpr_d[15], const4); in decode_src_opc()
3174 gen_addi_d(cpu_gpr_d[15], cpu_gpr_d[r1], const4); in decode_src_opc()
3180 gen_condi_add(TCG_COND_NE, cpu_gpr_d[r1], const4, cpu_gpr_d[r1], in decode_src_opc()
3181 cpu_gpr_d[15]); in decode_src_opc()
3184 gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const4, cpu_gpr_d[r1], in decode_src_opc()
3185 cpu_gpr_d[15]); in decode_src_opc()
3190 tcg_gen_movcond_tl(TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[15], temp, in decode_src_opc()
3191 temp2, cpu_gpr_d[r1]); in decode_src_opc()
3196 tcg_gen_movcond_tl(TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[15], temp, in decode_src_opc()
3197 temp2, cpu_gpr_d[r1]); in decode_src_opc()
3200 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_gpr_d[15], cpu_gpr_d[r1], in decode_src_opc()
3204 tcg_gen_setcondi_tl(TCG_COND_LT, cpu_gpr_d[15], cpu_gpr_d[r1], in decode_src_opc()
3208 tcg_gen_movi_tl(cpu_gpr_d[r1], const4); in decode_src_opc()
3217 tcg_gen_movi_tl(cpu_gpr_d[r1], const4); in decode_src_opc()
3218 tcg_gen_sari_tl(cpu_gpr_d[r1+1], cpu_gpr_d[r1], 31); in decode_src_opc()
3224 gen_shi(cpu_gpr_d[r1], cpu_gpr_d[r1], const4); in decode_src_opc()
3227 gen_shaci(cpu_gpr_d[r1], cpu_gpr_d[r1], const4); in decode_src_opc()
3244 gen_add_d(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3247 gen_add_d(cpu_gpr_d[r1], cpu_gpr_d[15], cpu_gpr_d[r2]); in decode_srr_opc()
3250 gen_add_d(cpu_gpr_d[15], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3256 gen_adds(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3259 tcg_gen_and_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3263 tcg_gen_movcond_tl(TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[15], temp, in decode_srr_opc()
3264 cpu_gpr_d[r2], cpu_gpr_d[r1]); in decode_srr_opc()
3268 tcg_gen_movcond_tl(TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[15], temp, in decode_srr_opc()
3269 cpu_gpr_d[r2], cpu_gpr_d[r1]); in decode_srr_opc()
3272 tcg_gen_setcond_tl(TCG_COND_EQ, cpu_gpr_d[15], cpu_gpr_d[r1], in decode_srr_opc()
3273 cpu_gpr_d[r2]); in decode_srr_opc()
3276 tcg_gen_setcond_tl(TCG_COND_LT, cpu_gpr_d[15], cpu_gpr_d[r1], in decode_srr_opc()
3277 cpu_gpr_d[r2]); in decode_srr_opc()
3280 tcg_gen_mov_tl(cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3283 tcg_gen_mov_tl(cpu_gpr_a[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3289 tcg_gen_mov_tl(cpu_gpr_d[r1], cpu_gpr_a[r2]); in decode_srr_opc()
3292 gen_mul_i32s(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3295 tcg_gen_or_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3298 gen_sub_d(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3301 gen_sub_d(cpu_gpr_d[r1], cpu_gpr_d[15], cpu_gpr_d[r2]); in decode_srr_opc()
3304 gen_sub_d(cpu_gpr_d[15], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3307 gen_subs(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3310 tcg_gen_xor_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_srr_opc()
3333 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_UB); in decode_ssr_opc()
3336 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_UB); in decode_ssr_opc()
3340 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LEUW); in decode_ssr_opc()
3343 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LEUW); in decode_ssr_opc()
3347 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LEUL); in decode_ssr_opc()
3350 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LEUL); in decode_ssr_opc()
3366 tcg_gen_andi_tl(cpu_gpr_d[15], cpu_gpr_d[15], const16); in decode_sc_opc()
3379 gen_offset_ld(ctx, cpu_gpr_d[15], cpu_gpr_a[10], const16 * 4, MO_LESL); in decode_sc_opc()
3382 tcg_gen_movi_tl(cpu_gpr_d[15], const16); in decode_sc_opc()
3385 tcg_gen_ori_tl(cpu_gpr_d[15], cpu_gpr_d[15], const16); in decode_sc_opc()
3391 gen_offset_st(ctx, cpu_gpr_d[15], cpu_gpr_a[10], const16 * 4, MO_LESL); in decode_sc_opc()
3418 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_UB); in decode_slr_opc()
3421 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_UB); in decode_slr_opc()
3425 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LESW); in decode_slr_opc()
3428 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LESW); in decode_slr_opc()
3432 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LESL); in decode_slr_opc()
3435 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, MO_LESL); in decode_slr_opc()
3457 gen_offset_ld(ctx, cpu_gpr_d[15], cpu_gpr_a[r2], address, MO_UB); in decode_sro_opc()
3460 gen_offset_ld(ctx, cpu_gpr_d[15], cpu_gpr_a[r2], address * 2, MO_LESW); in decode_sro_opc()
3463 gen_offset_ld(ctx, cpu_gpr_d[15], cpu_gpr_a[r2], address * 4, MO_LESL); in decode_sro_opc()
3469 gen_offset_st(ctx, cpu_gpr_d[15], cpu_gpr_a[r2], address, MO_UB); in decode_sro_opc()
3472 gen_offset_st(ctx, cpu_gpr_d[15], cpu_gpr_a[r2], address * 2, MO_LESW); in decode_sro_opc()
3475 gen_offset_st(ctx, cpu_gpr_d[15], cpu_gpr_a[r2], address * 4, MO_LESL); in decode_sro_opc()
3519 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r1], -0x80000000); in decode_sr_accu()
3524 tcg_gen_neg_tl(cpu_gpr_d[r1], cpu_gpr_d[r1]); in decode_sr_accu()
3526 tcg_gen_add_tl(cpu_PSW_AV, cpu_gpr_d[r1], cpu_gpr_d[r1]); in decode_sr_accu()
3527 tcg_gen_xor_tl(cpu_PSW_AV, cpu_gpr_d[r1], cpu_PSW_AV); in decode_sr_accu()
3532 gen_saturate(cpu_gpr_d[r1], cpu_gpr_d[r1], 0x7f, -0x80); in decode_sr_accu()
3535 gen_saturate_u(cpu_gpr_d[r1], cpu_gpr_d[r1], 0xff); in decode_sr_accu()
3538 gen_saturate(cpu_gpr_d[r1], cpu_gpr_d[r1], 0x7fff, -0x8000); in decode_sr_accu()
3541 gen_saturate_u(cpu_gpr_d[r1], cpu_gpr_d[r1], 0xffff); in decode_sr_accu()
3622 tcg_gen_shli_tl(temp, cpu_gpr_d[15], const16); in decode_16Bit_opc()
3634 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[15], const16, MO_UB); in decode_16Bit_opc()
3639 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[15], const16 * 2, MO_LESW); in decode_16Bit_opc()
3644 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[15], const16 * 4, MO_LESL); in decode_16Bit_opc()
3747 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[15], const16, MO_UB); in decode_16Bit_opc()
3752 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[15], const16 * 2, MO_LESW); in decode_16Bit_opc()
3757 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[15], const16 * 4, MO_LESL); in decode_16Bit_opc()
3772 tcg_gen_not_tl(cpu_gpr_d[r1], cpu_gpr_d[r1]); in decode_16Bit_opc()
3803 gen_ld_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], temp, ctx); in decode_abs_ldw()
3810 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LESL); in decode_abs_ldw()
3832 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_SB); in decode_abs_ldb()
3835 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_UB); in decode_abs_ldb()
3838 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LESW); in decode_abs_ldb()
3841 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LEUW); in decode_abs_ldb()
3918 gen_st_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], temp, ctx); in decode_abs_store()
3925 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LESL); in decode_abs_store()
3947 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_UB); in decode_abs_storeb_h()
3950 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LEUW); in decode_abs_storeb_h()
3975 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_andacc()
3979 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_andacc()
3984 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_andacc()
3987 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_andacc()
3992 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_andacc()
4014 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t()
4018 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t()
4022 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t()
4026 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t()
4049 tcg_gen_shri_tl(temp, cpu_gpr_d[r2], pos2); in decode_bit_insert()
4053 tcg_gen_deposit_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], temp, pos1, 1); in decode_bit_insert()
4072 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t2()
4076 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t2()
4080 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t2()
4084 gen_bit_1op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_logical_t2()
4108 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_orand()
4112 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_orand()
4117 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_orand()
4120 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_orand()
4125 gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_orand()
4151 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic1()
4155 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic1()
4159 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic1()
4163 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic1()
4169 tcg_gen_shli_tl(cpu_gpr_d[r3], cpu_gpr_d[r3], 1); in decode_bit_sh_logic1()
4170 tcg_gen_add_tl(cpu_gpr_d[r3], cpu_gpr_d[r3], temp); in decode_bit_sh_logic1()
4191 gen_bit_1op(temp, cpu_gpr_d[r1] , cpu_gpr_d[r2] , in decode_bit_sh_logic2()
4195 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic2()
4199 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic2()
4203 gen_bit_1op(temp, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_bit_sh_logic2()
4209 tcg_gen_shli_tl(cpu_gpr_d[r3], cpu_gpr_d[r3], 1); in decode_bit_sh_logic2()
4210 tcg_gen_add_tl(cpu_gpr_d[r3], cpu_gpr_d[r3], temp); in decode_bit_sh_logic2()
4282 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_UB); in decode_bo_addrmode_post_pre_base()
4285 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_post_pre_base()
4290 gen_st_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_UB); in decode_bo_addrmode_post_pre_base()
4294 gen_offset_st_2regs(cpu_gpr_d[r1+1], cpu_gpr_d[r1], cpu_gpr_a[r2], in decode_bo_addrmode_post_pre_base()
4299 gen_st_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], cpu_gpr_a[r2], ctx); in decode_bo_addrmode_post_pre_base()
4306 gen_st_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], temp, ctx); in decode_bo_addrmode_post_pre_base()
4327 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUW); in decode_bo_addrmode_post_pre_base()
4330 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_post_pre_base()
4335 gen_st_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUW); in decode_bo_addrmode_post_pre_base()
4339 tcg_gen_shri_tl(temp, cpu_gpr_d[r1], 16); in decode_bo_addrmode_post_pre_base()
4344 tcg_gen_shri_tl(temp, cpu_gpr_d[r1], 16); in decode_bo_addrmode_post_pre_base()
4351 tcg_gen_shri_tl(temp, cpu_gpr_d[r1], 16); in decode_bo_addrmode_post_pre_base()
4355 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUL); in decode_bo_addrmode_post_pre_base()
4358 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_post_pre_base()
4363 gen_st_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUL); in decode_bo_addrmode_post_pre_base()
4409 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_UB); in decode_bo_addrmode_bitreverse_circular()
4413 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_UB); in decode_bo_addrmode_bitreverse_circular()
4418 gen_st_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], temp2, ctx); in decode_bo_addrmode_bitreverse_circular()
4423 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_bitreverse_circular()
4428 tcg_gen_qemu_st_tl(cpu_gpr_d[r1+1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_bitreverse_circular()
4447 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUW); in decode_bo_addrmode_bitreverse_circular()
4451 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUW); in decode_bo_addrmode_bitreverse_circular()
4455 tcg_gen_shri_tl(temp, cpu_gpr_d[r1], 16); in decode_bo_addrmode_bitreverse_circular()
4460 tcg_gen_shri_tl(temp, cpu_gpr_d[r1], 16); in decode_bo_addrmode_bitreverse_circular()
4465 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_bitreverse_circular()
4469 tcg_gen_qemu_st_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_bitreverse_circular()
4502 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_SB); in decode_bo_addrmode_ld_post_pre_base()
4505 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_ld_post_pre_base()
4510 gen_ld_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_SB); in decode_bo_addrmode_ld_post_pre_base()
4513 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_UB); in decode_bo_addrmode_ld_post_pre_base()
4516 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_ld_post_pre_base()
4521 gen_ld_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_UB); in decode_bo_addrmode_ld_post_pre_base()
4525 gen_offset_ld_2regs(cpu_gpr_d[r1+1], cpu_gpr_d[r1], cpu_gpr_a[r2], in decode_bo_addrmode_ld_post_pre_base()
4530 gen_ld_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], cpu_gpr_a[r2], ctx); in decode_bo_addrmode_ld_post_pre_base()
4537 gen_ld_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], temp, ctx); in decode_bo_addrmode_ld_post_pre_base()
4558 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LESW); in decode_bo_addrmode_ld_post_pre_base()
4561 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_ld_post_pre_base()
4566 gen_ld_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LESW); in decode_bo_addrmode_ld_post_pre_base()
4569 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUW); in decode_bo_addrmode_ld_post_pre_base()
4572 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_ld_post_pre_base()
4577 gen_ld_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUW); in decode_bo_addrmode_ld_post_pre_base()
4580 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUW); in decode_bo_addrmode_ld_post_pre_base()
4581 tcg_gen_shli_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 16); in decode_bo_addrmode_ld_post_pre_base()
4584 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_ld_post_pre_base()
4586 tcg_gen_shli_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 16); in decode_bo_addrmode_ld_post_pre_base()
4590 gen_ld_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUW); in decode_bo_addrmode_ld_post_pre_base()
4591 tcg_gen_shli_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 16); in decode_bo_addrmode_ld_post_pre_base()
4594 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUL); in decode_bo_addrmode_ld_post_pre_base()
4597 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], cpu_gpr_a[r2], ctx->mem_idx, in decode_bo_addrmode_ld_post_pre_base()
4602 gen_ld_preincr(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], off10, MO_LEUL); in decode_bo_addrmode_ld_post_pre_base()
4639 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_SB); in decode_bo_addrmode_ld_bitreverse_circular()
4643 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_SB); in decode_bo_addrmode_ld_bitreverse_circular()
4647 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_UB); in decode_bo_addrmode_ld_bitreverse_circular()
4651 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_UB); in decode_bo_addrmode_ld_bitreverse_circular()
4656 gen_ld_2regs_64(cpu_gpr_d[r1+1], cpu_gpr_d[r1], temp2, ctx); in decode_bo_addrmode_ld_bitreverse_circular()
4661 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_ld_bitreverse_circular()
4666 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1+1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_ld_bitreverse_circular()
4685 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LESW); in decode_bo_addrmode_ld_bitreverse_circular()
4689 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LESW); in decode_bo_addrmode_ld_bitreverse_circular()
4693 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUW); in decode_bo_addrmode_ld_bitreverse_circular()
4697 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUW); in decode_bo_addrmode_ld_bitreverse_circular()
4701 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUW); in decode_bo_addrmode_ld_bitreverse_circular()
4702 tcg_gen_shli_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 16); in decode_bo_addrmode_ld_bitreverse_circular()
4706 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUW); in decode_bo_addrmode_ld_bitreverse_circular()
4707 tcg_gen_shli_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 16); in decode_bo_addrmode_ld_bitreverse_circular()
4711 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_ld_bitreverse_circular()
4715 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp2, ctx->mem_idx, MO_LEUL); in decode_bo_addrmode_ld_bitreverse_circular()
4888 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LEUL); in decode_bol_opc()
4901 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_LEUL); in decode_bol_opc()
4905 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_SB); in decode_bol_opc()
4912 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_UB); in decode_bol_opc()
4919 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_LESW); in decode_bol_opc()
4926 gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_LEUW); in decode_bol_opc()
4933 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_SB); in decode_bol_opc()
4940 gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_LESW); in decode_bol_opc()
4965 tcg_gen_andi_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
4968 tcg_gen_andi_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], ~const9); in decode_rc_logical_shift()
4973 tcg_gen_nand_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], temp); in decode_rc_logical_shift()
4978 tcg_gen_nor_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], temp); in decode_rc_logical_shift()
4981 tcg_gen_ori_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
4984 tcg_gen_ori_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], ~const9); in decode_rc_logical_shift()
4988 gen_shi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
4992 gen_sh_hi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
4996 gen_shaci(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
5000 gen_sha_hi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
5003 gen_shasi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
5006 tcg_gen_xori_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
5007 tcg_gen_not_tl(cpu_gpr_d[r2], cpu_gpr_d[r2]); in decode_rc_logical_shift()
5010 tcg_gen_xori_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_logical_shift()
5015 gen_helper_shuffle(cpu_gpr_d[r2], cpu_gpr_d[r1], temp); in decode_rc_logical_shift()
5043 gen_absdifi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5046 gen_absdifsi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5049 gen_addi_d(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5052 gen_addci_CC(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5055 gen_addsi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5058 gen_addsui(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5061 gen_addi_CC(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5064 gen_accumulating_condi(TCG_COND_EQ, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5068 gen_accumulating_condi(TCG_COND_GE, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5073 gen_accumulating_condi(TCG_COND_GEU, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5077 gen_accumulating_condi(TCG_COND_LT, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5082 gen_accumulating_condi(TCG_COND_LTU, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5086 gen_accumulating_condi(TCG_COND_NE, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5090 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5093 gen_eqany_bi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5096 gen_eqany_hi(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5099 tcg_gen_setcondi_tl(TCG_COND_GE, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5103 tcg_gen_setcondi_tl(TCG_COND_GEU, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5106 tcg_gen_setcondi_tl(TCG_COND_LT, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5110 tcg_gen_setcondi_tl(TCG_COND_LTU, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5114 tcg_gen_movcond_tl(TCG_COND_GT, cpu_gpr_d[r2], cpu_gpr_d[r1], temp, in decode_rc_accumulator()
5115 cpu_gpr_d[r1], temp); in decode_rc_accumulator()
5119 tcg_gen_movcond_tl(TCG_COND_GTU, cpu_gpr_d[r2], cpu_gpr_d[r1], temp, in decode_rc_accumulator()
5120 cpu_gpr_d[r1], temp); in decode_rc_accumulator()
5124 tcg_gen_movcond_tl(TCG_COND_LT, cpu_gpr_d[r2], cpu_gpr_d[r1], temp, in decode_rc_accumulator()
5125 cpu_gpr_d[r1], temp); in decode_rc_accumulator()
5129 tcg_gen_movcond_tl(TCG_COND_LTU, cpu_gpr_d[r2], cpu_gpr_d[r1], temp, in decode_rc_accumulator()
5130 cpu_gpr_d[r1], temp); in decode_rc_accumulator()
5133 tcg_gen_setcondi_tl(TCG_COND_NE, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5136 gen_accumulating_condi(TCG_COND_EQ, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5140 gen_accumulating_condi(TCG_COND_GE, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5145 gen_accumulating_condi(TCG_COND_GEU, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5149 gen_accumulating_condi(TCG_COND_LT, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5154 gen_accumulating_condi(TCG_COND_LTU, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5158 gen_accumulating_condi(TCG_COND_NE, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5163 gen_sub_d(cpu_gpr_d[r2], temp, cpu_gpr_d[r1]); in decode_rc_accumulator()
5167 gen_subs(cpu_gpr_d[r2], temp, cpu_gpr_d[r1]); in decode_rc_accumulator()
5171 gen_subsu(cpu_gpr_d[r2], temp, cpu_gpr_d[r1]); in decode_rc_accumulator()
5174 gen_sh_condi(TCG_COND_EQ, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5177 gen_sh_condi(TCG_COND_GE, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5181 gen_sh_condi(TCG_COND_GEU, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5184 gen_sh_condi(TCG_COND_LT, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5188 gen_sh_condi(TCG_COND_LTU, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5191 gen_sh_condi(TCG_COND_NE, cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_accumulator()
5194 gen_accumulating_condi(TCG_COND_EQ, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5198 gen_accumulating_condi(TCG_COND_GE, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5203 gen_accumulating_condi(TCG_COND_GEU, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5207 gen_accumulating_condi(TCG_COND_LT, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5212 gen_accumulating_condi(TCG_COND_LTU, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5216 gen_accumulating_condi(TCG_COND_NE, cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_rc_accumulator()
5262 gen_muli_i32s(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_mul()
5266 gen_muli_i64s(cpu_gpr_d[r2], cpu_gpr_d[r2+1], cpu_gpr_d[r1], const9); in decode_rc_mul()
5269 gen_mulsi_i32(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_mul()
5274 gen_muli_i64u(cpu_gpr_d[r2], cpu_gpr_d[r2+1], cpu_gpr_d[r1], const9); in decode_rc_mul()
5278 gen_mulsui_i32(cpu_gpr_d[r2], cpu_gpr_d[r1], const9); in decode_rc_mul()
5306 tcg_gen_movi_tl(cpu_gpr_d[r2+1], ((1u << width) - 1) << pos); in decode_rcpw_insert()
5307 tcg_gen_movi_tl(cpu_gpr_d[r2], (const4 << pos)); in decode_rcpw_insert()
5313 tcg_gen_mov_tl(cpu_gpr_d[r2], cpu_gpr_d[r1]); in decode_rcpw_insert()
5317 tcg_gen_deposit_tl(cpu_gpr_d[r2], cpu_gpr_d[r1], temp, pos, width); in decode_rcpw_insert()
5348 tcg_gen_andi_tl(temp, cpu_gpr_d[r3], 0x1f); in decode_rcrw_insert()
5350 tcg_gen_shl_tl(cpu_gpr_d[r4 + 1], temp2, temp); in decode_rcrw_insert()
5352 tcg_gen_shl_tl(cpu_gpr_d[r4], temp2, temp); in decode_rcrw_insert()
5359 tcg_gen_andi_tl(temp3, cpu_gpr_d[r3], 0x1f); in decode_rcrw_insert()
5360 gen_insert(cpu_gpr_d[r4], cpu_gpr_d[r1], temp2, temp, temp3); in decode_rcrw_insert()
5385 gen_condi_add(TCG_COND_NE, cpu_gpr_d[r1], const9, cpu_gpr_d[r4], in decode_rcr_cond_select()
5386 cpu_gpr_d[r3]); in decode_rcr_cond_select()
5389 gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const9, cpu_gpr_d[r4], in decode_rcr_cond_select()
5390 cpu_gpr_d[r3]); in decode_rcr_cond_select()
5395 tcg_gen_movcond_tl(TCG_COND_NE, cpu_gpr_d[r4], cpu_gpr_d[r3], temp, in decode_rcr_cond_select()
5396 cpu_gpr_d[r1], temp2); in decode_rcr_cond_select()
5401 tcg_gen_movcond_tl(TCG_COND_EQ, cpu_gpr_d[r4], cpu_gpr_d[r3], temp, in decode_rcr_cond_select()
5402 cpu_gpr_d[r1], temp2); in decode_rcr_cond_select()
5424 gen_maddi32_d(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], const9); in decode_rcr_madd()
5429 gen_maddi64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_madd()
5430 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_madd()
5433 gen_maddsi_32(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], const9); in decode_rcr_madd()
5438 gen_maddsi_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_madd()
5439 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_madd()
5445 gen_maddui64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_madd()
5446 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_madd()
5450 gen_maddsui_32(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], const9); in decode_rcr_madd()
5456 gen_maddsui_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_madd()
5457 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_madd()
5479 gen_msubi32_d(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], const9); in decode_rcr_msub()
5484 gen_msubi64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_msub()
5485 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_msub()
5488 gen_msubsi_32(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], const9); in decode_rcr_msub()
5493 gen_msubsi_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_msub()
5494 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_msub()
5500 gen_msubui64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_msub()
5501 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_msub()
5505 gen_msubsui_32(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], const9); in decode_rcr_msub()
5511 gen_msubsui_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rcr_msub()
5512 cpu_gpr_d[r3], cpu_gpr_d[r3+1], const9); in decode_rcr_msub()
5533 gen_addi_d(cpu_gpr_d[r2], cpu_gpr_d[r1], const16); in decode_rlc_opc()
5536 gen_addi_d(cpu_gpr_d[r2], cpu_gpr_d[r1], const16 << 16); in decode_rlc_opc()
5543 gen_mfcr(ctx, cpu_gpr_d[r2], const16); in decode_rlc_opc()
5546 tcg_gen_movi_tl(cpu_gpr_d[r2], const16); in decode_rlc_opc()
5551 tcg_gen_movi_tl(cpu_gpr_d[r2], const16); in decode_rlc_opc()
5552 tcg_gen_movi_tl(cpu_gpr_d[r2+1], const16 >> 15); in decode_rlc_opc()
5559 tcg_gen_movi_tl(cpu_gpr_d[r2], const16); in decode_rlc_opc()
5562 tcg_gen_movi_tl(cpu_gpr_d[r2], const16 << 16); in decode_rlc_opc()
5569 gen_mtcr(ctx, cpu_gpr_d[r1], const16); in decode_rlc_opc()
5591 gen_abs(cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rr_accumulator()
5594 gen_helper_abs_b(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r2]); in decode_rr_accumulator()
5597 gen_helper_abs_h(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r2]); in decode_rr_accumulator()
5600 gen_absdif(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5603 gen_helper_absdif_b(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5604 cpu_gpr_d[r2]); in decode_rr_accumulator()
5607 gen_helper_absdif_h(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5608 cpu_gpr_d[r2]); in decode_rr_accumulator()
5611 gen_helper_absdif_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5612 cpu_gpr_d[r2]); in decode_rr_accumulator()
5615 gen_helper_absdif_h_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5616 cpu_gpr_d[r2]); in decode_rr_accumulator()
5619 gen_helper_abs_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r2]); in decode_rr_accumulator()
5622 gen_helper_abs_h_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r2]); in decode_rr_accumulator()
5625 gen_add_d(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5628 gen_helper_add_b(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5631 gen_helper_add_h(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5634 gen_addc_CC(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5637 gen_adds(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5640 gen_helper_add_h_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5641 cpu_gpr_d[r2]); in decode_rr_accumulator()
5644 gen_helper_add_h_suov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5645 cpu_gpr_d[r2]); in decode_rr_accumulator()
5648 gen_helper_add_suov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5649 cpu_gpr_d[r2]); in decode_rr_accumulator()
5652 gen_add_CC(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5655 gen_accumulating_cond(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5656 cpu_gpr_d[r2], &tcg_gen_and_tl); in decode_rr_accumulator()
5659 gen_accumulating_cond(TCG_COND_GE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5660 cpu_gpr_d[r2], &tcg_gen_and_tl); in decode_rr_accumulator()
5663 gen_accumulating_cond(TCG_COND_GEU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5664 cpu_gpr_d[r2], &tcg_gen_and_tl); in decode_rr_accumulator()
5667 gen_accumulating_cond(TCG_COND_LT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5668 cpu_gpr_d[r2], &tcg_gen_and_tl); in decode_rr_accumulator()
5671 gen_accumulating_cond(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5672 cpu_gpr_d[r2], &tcg_gen_and_tl); in decode_rr_accumulator()
5675 gen_accumulating_cond(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5676 cpu_gpr_d[r2], &tcg_gen_and_tl); in decode_rr_accumulator()
5679 tcg_gen_setcond_tl(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5680 cpu_gpr_d[r2]); in decode_rr_accumulator()
5683 gen_helper_eq_b(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5686 gen_helper_eq_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5689 tcg_gen_negsetcond_tl(TCG_COND_EQ, cpu_gpr_d[r3], in decode_rr_accumulator()
5690 cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5693 gen_helper_eqany_b(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5696 gen_helper_eqany_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5699 tcg_gen_setcond_tl(TCG_COND_GE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5700 cpu_gpr_d[r2]); in decode_rr_accumulator()
5703 tcg_gen_setcond_tl(TCG_COND_GEU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5704 cpu_gpr_d[r2]); in decode_rr_accumulator()
5707 tcg_gen_setcond_tl(TCG_COND_LT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5708 cpu_gpr_d[r2]); in decode_rr_accumulator()
5711 tcg_gen_setcond_tl(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5712 cpu_gpr_d[r2]); in decode_rr_accumulator()
5715 gen_helper_lt_b(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5718 gen_helper_lt_bu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5721 gen_helper_lt_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5724 gen_helper_lt_hu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5727 tcg_gen_negsetcond_tl(TCG_COND_LT, cpu_gpr_d[r3], in decode_rr_accumulator()
5728 cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5731 tcg_gen_negsetcond_tl(TCG_COND_LTU, cpu_gpr_d[r3], in decode_rr_accumulator()
5732 cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5735 tcg_gen_movcond_tl(TCG_COND_GT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5736 cpu_gpr_d[r2], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5739 tcg_gen_movcond_tl(TCG_COND_GTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5740 cpu_gpr_d[r2], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5743 gen_helper_max_b(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5746 gen_helper_max_bu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5749 gen_helper_max_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5752 gen_helper_max_hu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5755 tcg_gen_movcond_tl(TCG_COND_LT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5756 cpu_gpr_d[r2], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5759 tcg_gen_movcond_tl(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5760 cpu_gpr_d[r2], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5763 gen_helper_min_b(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5766 gen_helper_min_bu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5769 gen_helper_min_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5772 gen_helper_min_hu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5775 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rr_accumulator()
5782 tcg_gen_mov_tl(temp, cpu_gpr_d[r1]); in decode_rr_accumulator()
5783 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rr_accumulator()
5784 tcg_gen_mov_tl(cpu_gpr_d[r3 + 1], temp); in decode_rr_accumulator()
5792 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rr_accumulator()
5793 tcg_gen_sari_tl(cpu_gpr_d[r3 + 1], cpu_gpr_d[r2], 31); in decode_rr_accumulator()
5799 tcg_gen_setcond_tl(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5800 cpu_gpr_d[r2]); in decode_rr_accumulator()
5803 gen_accumulating_cond(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5804 cpu_gpr_d[r2], &tcg_gen_or_tl); in decode_rr_accumulator()
5807 gen_accumulating_cond(TCG_COND_GE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5808 cpu_gpr_d[r2], &tcg_gen_or_tl); in decode_rr_accumulator()
5811 gen_accumulating_cond(TCG_COND_GEU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5812 cpu_gpr_d[r2], &tcg_gen_or_tl); in decode_rr_accumulator()
5815 gen_accumulating_cond(TCG_COND_LT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5816 cpu_gpr_d[r2], &tcg_gen_or_tl); in decode_rr_accumulator()
5819 gen_accumulating_cond(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5820 cpu_gpr_d[r2], &tcg_gen_or_tl); in decode_rr_accumulator()
5823 gen_accumulating_cond(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5824 cpu_gpr_d[r2], &tcg_gen_or_tl); in decode_rr_accumulator()
5827 gen_saturate(cpu_gpr_d[r3], cpu_gpr_d[r1], 0x7f, -0x80); in decode_rr_accumulator()
5830 gen_saturate_u(cpu_gpr_d[r3], cpu_gpr_d[r1], 0xff); in decode_rr_accumulator()
5833 gen_saturate(cpu_gpr_d[r3], cpu_gpr_d[r1], 0x7fff, -0x8000); in decode_rr_accumulator()
5836 gen_saturate_u(cpu_gpr_d[r3], cpu_gpr_d[r1], 0xffff); in decode_rr_accumulator()
5839 gen_sh_cond(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5840 cpu_gpr_d[r2]); in decode_rr_accumulator()
5843 gen_sh_cond(TCG_COND_GE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5844 cpu_gpr_d[r2]); in decode_rr_accumulator()
5847 gen_sh_cond(TCG_COND_GEU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5848 cpu_gpr_d[r2]); in decode_rr_accumulator()
5851 gen_sh_cond(TCG_COND_LT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5852 cpu_gpr_d[r2]); in decode_rr_accumulator()
5855 gen_sh_cond(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5856 cpu_gpr_d[r2]); in decode_rr_accumulator()
5859 gen_sh_cond(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5860 cpu_gpr_d[r2]); in decode_rr_accumulator()
5863 gen_sub_d(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5866 gen_helper_sub_b(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5869 gen_helper_sub_h(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5872 gen_subc_CC(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5875 gen_subs(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5878 gen_subsu(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5881 gen_helper_sub_h_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5882 cpu_gpr_d[r2]); in decode_rr_accumulator()
5885 gen_helper_sub_h_suov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr_accumulator()
5886 cpu_gpr_d[r2]); in decode_rr_accumulator()
5889 gen_sub_CC(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_accumulator()
5892 gen_accumulating_cond(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5893 cpu_gpr_d[r2], &tcg_gen_xor_tl); in decode_rr_accumulator()
5896 gen_accumulating_cond(TCG_COND_GE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5897 cpu_gpr_d[r2], &tcg_gen_xor_tl); in decode_rr_accumulator()
5900 gen_accumulating_cond(TCG_COND_GEU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5901 cpu_gpr_d[r2], &tcg_gen_xor_tl); in decode_rr_accumulator()
5904 gen_accumulating_cond(TCG_COND_LT, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5905 cpu_gpr_d[r2], &tcg_gen_xor_tl); in decode_rr_accumulator()
5908 gen_accumulating_cond(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5909 cpu_gpr_d[r2], &tcg_gen_xor_tl); in decode_rr_accumulator()
5912 gen_accumulating_cond(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rr_accumulator()
5913 cpu_gpr_d[r2], &tcg_gen_xor_tl); in decode_rr_accumulator()
5932 tcg_gen_and_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5935 tcg_gen_andc_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5938 tcg_gen_not_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_logical_shift()
5939 tcg_gen_clzi_tl(cpu_gpr_d[r3], cpu_gpr_d[r3], TARGET_LONG_BITS); in decode_rr_logical_shift()
5942 gen_helper_clo_h(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_logical_shift()
5945 tcg_gen_clrsb_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_logical_shift()
5948 gen_helper_cls_h(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_logical_shift()
5951 tcg_gen_clzi_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], TARGET_LONG_BITS); in decode_rr_logical_shift()
5954 gen_helper_clz_h(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_logical_shift()
5957 tcg_gen_nand_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5960 tcg_gen_nor_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5963 tcg_gen_or_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5966 tcg_gen_orc_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5969 gen_helper_sh(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5972 gen_helper_sh_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5975 gen_helper_sha(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5978 gen_helper_sha_h(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5981 gen_shas(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5984 tcg_gen_eqv_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
5987 tcg_gen_xor_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_logical_shift()
6012 tcg_gen_shli_tl(temp, cpu_gpr_d[r1], n); in decode_rr_address()
6017 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 3); in decode_rr_address()
6022 tcg_gen_setcond_tl(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_a[r1], in decode_rr_address()
6026 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_gpr_d[r3], cpu_gpr_a[r1], 0); in decode_rr_address()
6029 tcg_gen_setcond_tl(TCG_COND_GEU, cpu_gpr_d[r3], cpu_gpr_a[r1], in decode_rr_address()
6033 tcg_gen_setcond_tl(TCG_COND_LTU, cpu_gpr_d[r3], cpu_gpr_a[r1], in decode_rr_address()
6037 tcg_gen_mov_tl(cpu_gpr_a[r3], cpu_gpr_d[r2]); in decode_rr_address()
6043 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_a[r2]); in decode_rr_address()
6046 tcg_gen_setcond_tl(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_a[r1], in decode_rr_address()
6050 tcg_gen_setcondi_tl(TCG_COND_NE, cpu_gpr_d[r3], cpu_gpr_a[r1], 0); in decode_rr_address()
6105 gen_helper_bmerge(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6109 gen_bsplit(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1]); in decode_rr_divide()
6113 gen_dvinit_b(ctx, cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], in decode_rr_divide()
6114 cpu_gpr_d[r2]); in decode_rr_divide()
6121 tcg_gen_shri_tl(temp3, cpu_gpr_d[r1], 8); in decode_rr_divide()
6127 tcg_gen_abs_tl(temp2, cpu_gpr_d[r2]); in decode_rr_divide()
6131 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r2], 0); in decode_rr_divide()
6137 tcg_gen_shli_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], 24); in decode_rr_divide()
6138 tcg_gen_mov_tl(cpu_gpr_d[r3+1], temp3); in decode_rr_divide()
6142 gen_dvinit_h(ctx, cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], in decode_rr_divide()
6143 cpu_gpr_d[r2]); in decode_rr_divide()
6150 tcg_gen_shri_tl(temp3, cpu_gpr_d[r1], 16); in decode_rr_divide()
6156 tcg_gen_abs_tl(temp2, cpu_gpr_d[r2]); in decode_rr_divide()
6160 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r2], 0); in decode_rr_divide()
6166 tcg_gen_shli_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], 16); in decode_rr_divide()
6167 tcg_gen_mov_tl(cpu_gpr_d[r3+1], temp3); in decode_rr_divide()
6175 tcg_gen_setcondi_tl(TCG_COND_EQ, temp, cpu_gpr_d[r2], 0xffffffff); in decode_rr_divide()
6176 tcg_gen_setcondi_tl(TCG_COND_EQ, temp2, cpu_gpr_d[r1], 0x80000000); in decode_rr_divide()
6178 tcg_gen_setcondi_tl(TCG_COND_EQ, temp2, cpu_gpr_d[r2], 0); in decode_rr_divide()
6186 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_divide()
6188 tcg_gen_sari_tl(cpu_gpr_d[r3+1], cpu_gpr_d[r1], 31); in decode_rr_divide()
6193 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r2], 0); in decode_rr_divide()
6200 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_divide()
6202 tcg_gen_movi_tl(cpu_gpr_d[r3+1], 0); in decode_rr_divide()
6205 gen_helper_parity(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_divide()
6209 gen_unpack(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1]); in decode_rr_divide()
6213 gen_helper_crc32b(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6220 gen_helper_crc32_be(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6227 gen_helper_crc32_le(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6235 tcg_gen_ctpop_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rr_divide()
6243 GEN_HELPER_RR(divide, cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], in decode_rr_divide()
6244 cpu_gpr_d[r2]); in decode_rr_divide()
6252 GEN_HELPER_RR(divide_u, cpu_gpr_d[r3], cpu_gpr_d[r3+1], in decode_rr_divide()
6253 cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6259 gen_helper_fmul(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6262 gen_helper_fdiv(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6266 gen_helper_ftohp(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6273 gen_helper_hptof(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6279 gen_helper_fcmp(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr_divide()
6282 gen_helper_ftoi(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6285 gen_helper_itof(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6288 gen_helper_ftou(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6292 gen_helper_ftouz(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6298 gen_helper_updfl(tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6301 gen_helper_utof(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6304 gen_helper_ftoiz(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6307 gen_helper_qseed(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1]); in decode_rr_divide()
6333 GEN_HELPER_LL(mul_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6334 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6335 gen_calc_usb_mul_h(cpu_gpr_d[r3], cpu_gpr_d[r3+1]); in decode_rr1_mul()
6340 GEN_HELPER_LU(mul_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6341 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6342 gen_calc_usb_mul_h(cpu_gpr_d[r3], cpu_gpr_d[r3+1]); in decode_rr1_mul()
6347 GEN_HELPER_UL(mul_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6348 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6349 gen_calc_usb_mul_h(cpu_gpr_d[r3], cpu_gpr_d[r3+1]); in decode_rr1_mul()
6354 GEN_HELPER_UU(mul_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6355 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6356 gen_calc_usb_mul_h(cpu_gpr_d[r3], cpu_gpr_d[r3+1]); in decode_rr1_mul()
6361 GEN_HELPER_LL(mulm_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6362 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6371 GEN_HELPER_LU(mulm_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6372 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6381 GEN_HELPER_UL(mulm_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6382 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6391 GEN_HELPER_UU(mulm_h, temp64, cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6392 tcg_gen_extr_i64_i32(cpu_gpr_d[r3], cpu_gpr_d[r3+1], temp64); in decode_rr1_mul()
6399 GEN_HELPER_LL(mulr_h, cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6400 gen_calc_usb_mulr_h(cpu_gpr_d[r3]); in decode_rr1_mul()
6403 GEN_HELPER_LU(mulr_h, cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6404 gen_calc_usb_mulr_h(cpu_gpr_d[r3]); in decode_rr1_mul()
6407 GEN_HELPER_UL(mulr_h, cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6408 gen_calc_usb_mulr_h(cpu_gpr_d[r3]); in decode_rr1_mul()
6411 GEN_HELPER_UU(mulr_h, cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], n); in decode_rr1_mul()
6412 gen_calc_usb_mulr_h(cpu_gpr_d[r3]); in decode_rr1_mul()
6438 gen_mul_q(cpu_gpr_d[r3], temp, cpu_gpr_d[r1], cpu_gpr_d[r2], n, 32); in decode_rr1_mulq()
6442 gen_mul_q(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rr1_mulq()
6446 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rr1_mulq()
6447 gen_mul_q(cpu_gpr_d[r3], temp, cpu_gpr_d[r1], temp, n, 16); in decode_rr1_mulq()
6451 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rr1_mulq()
6452 gen_mul_q(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, n, 0); in decode_rr1_mulq()
6455 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rr1_mulq()
6456 gen_mul_q(cpu_gpr_d[r3], temp, cpu_gpr_d[r1], temp, n, 16); in decode_rr1_mulq()
6460 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rr1_mulq()
6461 gen_mul_q(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, n, 0); in decode_rr1_mulq()
6464 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rr1_mulq()
6465 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rr1_mulq()
6466 gen_mul_q_16(cpu_gpr_d[r3], temp, temp2, n); in decode_rr1_mulq()
6469 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rr1_mulq()
6470 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rr1_mulq()
6471 gen_mul_q_16(cpu_gpr_d[r3], temp, temp2, n); in decode_rr1_mulq()
6474 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rr1_mulq()
6475 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rr1_mulq()
6476 gen_mulr_q(cpu_gpr_d[r3], temp, temp2, n); in decode_rr1_mulq()
6479 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rr1_mulq()
6480 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rr1_mulq()
6481 gen_mulr_q(cpu_gpr_d[r3], temp, temp2, n); in decode_rr1_mulq()
6500 gen_mul_i32s(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rr2_mul()
6504 gen_mul_i64s(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], in decode_rr2_mul()
6505 cpu_gpr_d[r2]); in decode_rr2_mul()
6508 gen_helper_mul_ssov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr2_mul()
6509 cpu_gpr_d[r2]); in decode_rr2_mul()
6513 gen_mul_i64u(cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r1], in decode_rr2_mul()
6514 cpu_gpr_d[r2]); in decode_rr2_mul()
6517 gen_helper_mul_suov(cpu_gpr_d[r3], tcg_env, cpu_gpr_d[r1], in decode_rr2_mul()
6518 cpu_gpr_d[r2]); in decode_rr2_mul()
6543 tcg_gen_movi_tl(cpu_gpr_d[r3], 0); in decode_rrpw_extract_insert()
6545 tcg_gen_sextract_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], pos, width); in decode_rrpw_extract_insert()
6550 tcg_gen_movi_tl(cpu_gpr_d[r3], 0); in decode_rrpw_extract_insert()
6552 tcg_gen_extract_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], pos, width); in decode_rrpw_extract_insert()
6561 tcg_gen_shli_tl(cpu_gpr_d[r3], cpu_gpr_d[r2], pos); in decode_rrpw_extract_insert()
6562 tcg_gen_mov_tl(cpu_gpr_d[r3 + 1], temp); in decode_rrpw_extract_insert()
6569 tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]); in decode_rrpw_extract_insert()
6571 tcg_gen_deposit_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrpw_extract_insert()
6595 gen_cond_add(TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr_cond_select()
6596 cpu_gpr_d[r4], cpu_gpr_d[r3]); in decode_rrr_cond_select()
6599 gen_cond_add(TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[r2], cpu_gpr_d[r4], in decode_rrr_cond_select()
6600 cpu_gpr_d[r3]); in decode_rrr_cond_select()
6603 gen_cond_sub(TCG_COND_NE, cpu_gpr_d[r1], cpu_gpr_d[r2], cpu_gpr_d[r4], in decode_rrr_cond_select()
6604 cpu_gpr_d[r3]); in decode_rrr_cond_select()
6607 gen_cond_sub(TCG_COND_EQ, cpu_gpr_d[r1], cpu_gpr_d[r2], cpu_gpr_d[r4], in decode_rrr_cond_select()
6608 cpu_gpr_d[r3]); in decode_rrr_cond_select()
6612 tcg_gen_movcond_tl(TCG_COND_NE, cpu_gpr_d[r4], cpu_gpr_d[r3], temp, in decode_rrr_cond_select()
6613 cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rrr_cond_select()
6617 tcg_gen_movcond_tl(TCG_COND_EQ, cpu_gpr_d[r4], cpu_gpr_d[r3], temp, in decode_rrr_cond_select()
6618 cpu_gpr_d[r1], cpu_gpr_d[r2]); in decode_rrr_cond_select()
6641 GEN_HELPER_RRR(dvadj, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6642 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6647 GEN_HELPER_RRR(dvstep, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6648 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6653 GEN_HELPER_RRR(dvstep_u, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6654 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6659 GEN_HELPER_RRR(ixmax, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6660 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6665 GEN_HELPER_RRR(ixmax_u, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6666 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6671 GEN_HELPER_RRR(ixmin, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6672 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6677 GEN_HELPER_RRR(ixmin_u, cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr_divide()
6678 cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr_divide()
6682 gen_helper_pack(cpu_gpr_d[r4], cpu_PSW_C, cpu_gpr_d[r3], in decode_rrr_divide()
6683 cpu_gpr_d[r3+1], cpu_gpr_d[r1]); in decode_rrr_divide()
6687 gen_helper_crcn(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr_divide()
6688 cpu_gpr_d[r3]); in decode_rrr_divide()
6694 gen_helper_fadd(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r3]); in decode_rrr_divide()
6697 gen_helper_fsub(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], cpu_gpr_d[r3]); in decode_rrr_divide()
6700 gen_helper_fmadd(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], in decode_rrr_divide()
6701 cpu_gpr_d[r2], cpu_gpr_d[r3]); in decode_rrr_divide()
6704 gen_helper_fmsub(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], in decode_rrr_divide()
6705 cpu_gpr_d[r2], cpu_gpr_d[r3]); in decode_rrr_divide()
6725 gen_madd32_d(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], in decode_rrr2_madd()
6726 cpu_gpr_d[r2]); in decode_rrr2_madd()
6731 gen_madd64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_madd()
6732 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_madd()
6735 gen_helper_madd32_ssov(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], in decode_rrr2_madd()
6736 cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rrr2_madd()
6741 gen_madds_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_madd()
6742 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_madd()
6747 gen_maddu64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_madd()
6748 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_madd()
6751 gen_helper_madd32_suov(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], in decode_rrr2_madd()
6752 cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rrr2_madd()
6757 gen_maddsu_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_madd()
6758 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_madd()
6778 gen_msub32_d(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r3], in decode_rrr2_msub()
6779 cpu_gpr_d[r2]); in decode_rrr2_msub()
6784 gen_msub64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_msub()
6785 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_msub()
6788 gen_helper_msub32_ssov(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], in decode_rrr2_msub()
6789 cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rrr2_msub()
6794 gen_msubs_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_msub()
6795 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_msub()
6800 gen_msubu64_d(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_msub()
6801 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_msub()
6804 gen_helper_msub32_suov(cpu_gpr_d[r4], tcg_env, cpu_gpr_d[r1], in decode_rrr2_msub()
6805 cpu_gpr_d[r3], cpu_gpr_d[r2]); in decode_rrr2_msub()
6810 gen_msubsu_64(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r1], in decode_rrr2_msub()
6811 cpu_gpr_d[r3], cpu_gpr_d[r3+1], cpu_gpr_d[r2]); in decode_rrr2_msub()
6835 gen_madd_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6836 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_madd()
6841 gen_madd_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6842 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_madd()
6847 gen_madd_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6848 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_madd()
6853 gen_madd_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6854 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_madd()
6859 gen_madds_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6860 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_madd()
6865 gen_madds_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6866 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_madd()
6871 gen_madds_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6872 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_madd()
6877 gen_madds_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6878 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_madd()
6883 gen_maddm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6884 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_madd()
6889 gen_maddm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6890 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_madd()
6895 gen_maddm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6896 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_madd()
6901 gen_maddm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6902 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_madd()
6907 gen_maddms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6908 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_madd()
6913 gen_maddms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6914 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_madd()
6919 gen_maddms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6920 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_madd()
6925 gen_maddms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_madd()
6926 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_madd()
6929 gen_maddr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6930 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_madd()
6933 gen_maddr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6934 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_madd()
6937 gen_maddr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6938 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_madd()
6941 gen_maddr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6942 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_madd()
6945 gen_maddr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6946 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_madd()
6949 gen_maddr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6950 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_madd()
6953 gen_maddr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6954 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_madd()
6957 gen_maddr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_madd()
6958 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_madd()
6983 gen_madd32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddq_h()
6984 cpu_gpr_d[r2], n, 32); in decode_rrr1_maddq_h()
6989 gen_madd64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
6990 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddq_h()
6994 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
6995 gen_madd32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddq_h()
7001 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7002 gen_madd64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7003 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_maddq_h()
7007 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7008 gen_madd32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddq_h()
7014 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7015 gen_madd64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7016 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_maddq_h()
7020 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_maddq_h()
7021 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7022 gen_m16add32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7027 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_maddq_h()
7028 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7029 gen_m16add64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7030 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_maddq_h()
7033 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_maddq_h()
7034 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7035 gen_m16add32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7040 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_maddq_h()
7041 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7042 gen_m16add64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7043 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_maddq_h()
7046 gen_madds32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddq_h()
7047 cpu_gpr_d[r2], n, 32); in decode_rrr1_maddq_h()
7052 gen_madds64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7053 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddq_h()
7057 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7058 gen_madds32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddq_h()
7064 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7065 gen_madds64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7066 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_maddq_h()
7070 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7071 gen_madds32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddq_h()
7077 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7078 gen_madds64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7079 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_maddq_h()
7083 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_maddq_h()
7084 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7085 gen_m16adds32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7090 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_maddq_h()
7091 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7092 gen_m16adds64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7093 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_maddq_h()
7096 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_maddq_h()
7097 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7098 gen_m16adds32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7103 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_maddq_h()
7104 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7105 gen_m16adds64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddq_h()
7106 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_maddq_h()
7110 gen_maddr64_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r3+1], in decode_rrr1_maddq_h()
7111 cpu_gpr_d[r1], cpu_gpr_d[r2], n, 2); in decode_rrr1_maddq_h()
7115 gen_maddr64s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r3+1], in decode_rrr1_maddq_h()
7116 cpu_gpr_d[r1], cpu_gpr_d[r2], n, 2); in decode_rrr1_maddq_h()
7119 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_maddq_h()
7120 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7121 gen_maddr_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7124 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_maddq_h()
7125 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7126 gen_maddr_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7129 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_maddq_h()
7130 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_maddq_h()
7131 gen_maddrs_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7134 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_maddq_h()
7135 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_maddq_h()
7136 gen_maddrs_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_maddq_h()
7159 gen_maddsu_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7160 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_maddsu_h()
7165 gen_maddsu_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7166 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_maddsu_h()
7171 gen_maddsu_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7172 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_maddsu_h()
7177 gen_maddsu_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7178 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_maddsu_h()
7183 gen_maddsus_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7184 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7190 gen_maddsus_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7191 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7197 gen_maddsus_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7198 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7204 gen_maddsus_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7205 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7211 gen_maddsum_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7212 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7218 gen_maddsum_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7219 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7225 gen_maddsum_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7226 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7232 gen_maddsum_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7233 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7239 gen_maddsums_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7240 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7246 gen_maddsums_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7247 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7253 gen_maddsums_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7254 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7260 gen_maddsums_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_maddsu_h()
7261 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_maddsu_h()
7265 gen_maddsur32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7266 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_maddsu_h()
7269 gen_maddsur32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7270 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_maddsu_h()
7273 gen_maddsur32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7274 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_maddsu_h()
7277 gen_maddsur32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7278 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_maddsu_h()
7281 gen_maddsur32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7282 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_maddsu_h()
7285 gen_maddsur32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7286 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_maddsu_h()
7289 gen_maddsur32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7290 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_maddsu_h()
7293 gen_maddsur32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_maddsu_h()
7294 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_maddsu_h()
7317 gen_msub_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7318 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msub()
7323 gen_msub_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7324 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msub()
7329 gen_msub_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7330 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msub()
7335 gen_msub_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7336 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msub()
7341 gen_msubs_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7342 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msub()
7347 gen_msubs_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7348 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msub()
7353 gen_msubs_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7354 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msub()
7359 gen_msubs_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7360 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msub()
7365 gen_msubm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7366 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msub()
7371 gen_msubm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7372 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msub()
7377 gen_msubm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7378 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msub()
7383 gen_msubm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7384 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msub()
7389 gen_msubms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7390 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msub()
7395 gen_msubms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7396 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msub()
7401 gen_msubms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7402 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msub()
7407 gen_msubms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msub()
7408 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msub()
7411 gen_msubr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7412 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msub()
7415 gen_msubr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7416 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msub()
7419 gen_msubr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7420 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msub()
7423 gen_msubr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7424 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msub()
7427 gen_msubr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7428 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msub()
7431 gen_msubr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7432 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msub()
7435 gen_msubr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7436 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msub()
7439 gen_msubr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msub()
7440 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msub()
7465 gen_msub32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubq_h()
7466 cpu_gpr_d[r2], n, 32); in decode_rrr1_msubq_h()
7471 gen_msub64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7472 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubq_h()
7476 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7477 gen_msub32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubq_h()
7483 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7484 gen_msub64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7485 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_msubq_h()
7489 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7490 gen_msub32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubq_h()
7496 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7497 gen_msub64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7498 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_msubq_h()
7502 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_msubq_h()
7503 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7504 gen_m16sub32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7509 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_msubq_h()
7510 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7511 gen_m16sub64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7512 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_msubq_h()
7515 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_msubq_h()
7516 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7517 gen_m16sub32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7522 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_msubq_h()
7523 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7524 gen_m16sub64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7525 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_msubq_h()
7528 gen_msubs32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubq_h()
7529 cpu_gpr_d[r2], n, 32); in decode_rrr1_msubq_h()
7534 gen_msubs64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7535 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubq_h()
7539 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7540 gen_msubs32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubq_h()
7546 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7547 gen_msubs64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7548 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_msubq_h()
7552 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7553 gen_msubs32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubq_h()
7559 tcg_gen_sari_tl(temp, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7560 gen_msubs64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7561 cpu_gpr_d[r3+1], cpu_gpr_d[r1], temp, in decode_rrr1_msubq_h()
7565 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_msubq_h()
7566 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7567 gen_m16subs32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7572 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_msubq_h()
7573 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7574 gen_m16subs64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7575 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_msubq_h()
7578 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_msubq_h()
7579 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7580 gen_m16subs32_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7585 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_msubq_h()
7586 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7587 gen_m16subs64_q(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubq_h()
7588 cpu_gpr_d[r3+1], temp, temp2, n); in decode_rrr1_msubq_h()
7592 gen_msubr64_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r3+1], in decode_rrr1_msubq_h()
7593 cpu_gpr_d[r1], cpu_gpr_d[r2], n, 2); in decode_rrr1_msubq_h()
7597 gen_msubr64s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r3+1], in decode_rrr1_msubq_h()
7598 cpu_gpr_d[r1], cpu_gpr_d[r2], n, 2); in decode_rrr1_msubq_h()
7601 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_msubq_h()
7602 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7603 gen_msubr_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7606 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_msubq_h()
7607 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7608 gen_msubr_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7611 tcg_gen_ext16s_tl(temp, cpu_gpr_d[r1]); in decode_rrr1_msubq_h()
7612 tcg_gen_ext16s_tl(temp2, cpu_gpr_d[r2]); in decode_rrr1_msubq_h()
7613 gen_msubrs_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7616 tcg_gen_sari_tl(temp, cpu_gpr_d[r1], 16); in decode_rrr1_msubq_h()
7617 tcg_gen_sari_tl(temp2, cpu_gpr_d[r2], 16); in decode_rrr1_msubq_h()
7618 gen_msubrs_q(cpu_gpr_d[r4], cpu_gpr_d[r3], temp, temp2, n); in decode_rrr1_msubq_h()
7641 gen_msubad_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7642 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msubad_h()
7647 gen_msubad_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7648 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msubad_h()
7653 gen_msubad_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7654 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msubad_h()
7659 gen_msubad_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7660 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msubad_h()
7665 gen_msubads_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7666 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7672 gen_msubads_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7673 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7679 gen_msubads_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7680 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7686 gen_msubads_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7687 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7693 gen_msubadm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7694 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7700 gen_msubadm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7701 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7707 gen_msubadm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7708 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7714 gen_msubadm_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7715 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7721 gen_msubadms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7722 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7728 gen_msubadms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7729 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7735 gen_msubadms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7736 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7742 gen_msubadms_h(cpu_gpr_d[r4], cpu_gpr_d[r4+1], cpu_gpr_d[r3], in decode_rrr1_msubad_h()
7743 cpu_gpr_d[r3+1], cpu_gpr_d[r1], cpu_gpr_d[r2], in decode_rrr1_msubad_h()
7747 gen_msubadr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7748 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msubad_h()
7751 gen_msubadr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7752 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msubad_h()
7755 gen_msubadr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7756 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msubad_h()
7759 gen_msubadr32_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7760 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msubad_h()
7763 gen_msubadr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7764 cpu_gpr_d[r2], n, MODE_LL); in decode_rrr1_msubad_h()
7767 gen_msubadr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7768 cpu_gpr_d[r2], n, MODE_LU); in decode_rrr1_msubad_h()
7771 gen_msubadr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7772 cpu_gpr_d[r2], n, MODE_UL); in decode_rrr1_msubad_h()
7775 gen_msubadr32s_h(cpu_gpr_d[r4], cpu_gpr_d[r3], cpu_gpr_d[r1], in decode_rrr1_msubad_h()
7776 cpu_gpr_d[r2], n, MODE_UU); in decode_rrr1_msubad_h()
7801 tcg_gen_andi_tl(tmp_pos, cpu_gpr_d[r3], 0x1f); in decode_rrrr_extract_insert()
7803 tcg_gen_rotl_tl(cpu_gpr_d[r4], cpu_gpr_d[r1], tmp_pos); in decode_rrrr_extract_insert()
7807 tcg_gen_shl_tl(tmp_width, cpu_gpr_d[r1], tmp_pos); in decode_rrrr_extract_insert()
7809 tcg_gen_shr_tl(msw, cpu_gpr_d[r2], msw); in decode_rrrr_extract_insert()
7816 tcg_gen_or_tl(cpu_gpr_d[r4], tmp_width, msw); in decode_rrrr_extract_insert()
7822 tcg_gen_andi_tl(tmp_width, cpu_gpr_d[r3+1], 0x1f); in decode_rrrr_extract_insert()
7823 tcg_gen_andi_tl(tmp_pos, cpu_gpr_d[r3], 0x1f); in decode_rrrr_extract_insert()
7826 tcg_gen_shl_tl(cpu_gpr_d[r4], cpu_gpr_d[r1], tmp_pos); in decode_rrrr_extract_insert()
7829 tcg_gen_sar_tl(cpu_gpr_d[r4], cpu_gpr_d[r4], tmp_width); in decode_rrrr_extract_insert()
7831 tcg_gen_shr_tl(cpu_gpr_d[r4], cpu_gpr_d[r4], tmp_width); in decode_rrrr_extract_insert()
7836 tcg_gen_andi_tl(tmp_width, cpu_gpr_d[r3+1], 0x1f); in decode_rrrr_extract_insert()
7837 tcg_gen_andi_tl(tmp_pos, cpu_gpr_d[r3], 0x1f); in decode_rrrr_extract_insert()
7838 gen_insert(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r2], tmp_width, in decode_rrrr_extract_insert()
7866 tcg_gen_andi_tl(temp, cpu_gpr_d[r3], 0x1f); in decode_rrrw_extract_insert()
7869 tcg_gen_shl_tl(cpu_gpr_d[r4], cpu_gpr_d[r1], temp); in decode_rrrw_extract_insert()
7870 tcg_gen_sari_tl(cpu_gpr_d[r4], cpu_gpr_d[r4], 32 - width); in decode_rrrw_extract_insert()
7874 tcg_gen_movi_tl(cpu_gpr_d[r4], 0); in decode_rrrw_extract_insert()
7876 tcg_gen_andi_tl(temp, cpu_gpr_d[r3], 0x1f); in decode_rrrw_extract_insert()
7877 tcg_gen_shr_tl(cpu_gpr_d[r4], cpu_gpr_d[r1], temp); in decode_rrrw_extract_insert()
7878 tcg_gen_andi_tl(cpu_gpr_d[r4], cpu_gpr_d[r4], ~0u >> (32-width)); in decode_rrrw_extract_insert()
7884 tcg_gen_andi_tl(temp, cpu_gpr_d[r3], 0x1f); in decode_rrrw_extract_insert()
7887 tcg_gen_shl_tl(cpu_gpr_d[r4], cpu_gpr_d[r2], temp); in decode_rrrw_extract_insert()
7888 tcg_gen_mov_tl(cpu_gpr_d[r4+1], temp2); in decode_rrrw_extract_insert()
7894 tcg_gen_andi_tl(temp2, cpu_gpr_d[r3], 0x1f); in decode_rrrw_extract_insert()
7895 gen_insert(cpu_gpr_d[r4], cpu_gpr_d[r1], cpu_gpr_d[r2], temp, temp2); in decode_rrrw_extract_insert()
7927 tcg_gen_extract_tl(cpu_gpr_d[r1], cpu_ICR, in decode_sys_interrupts()
7984 tcg_gen_deposit_tl(cpu_ICR, cpu_ICR, cpu_gpr_d[r1], in decode_sys_interrupts()
8053 tcg_gen_shri_tl(temp2, cpu_gpr_d[r1], 16); in decode_32Bit_opc()
8061 tcg_gen_qemu_ld_tl(cpu_gpr_d[r1], temp, ctx->mem_idx, MO_LEUW); in decode_32Bit_opc()
8062 tcg_gen_shli_tl(cpu_gpr_d[r1], cpu_gpr_d[r1], 16); in decode_32Bit_opc()
8218 tcg_gen_andi_tl(temp2, cpu_gpr_d[r2 + 1], 0x1f); in decode_32Bit_opc()
8219 tcg_gen_andi_tl(temp3, cpu_gpr_d[r2], 0x1f); in decode_32Bit_opc()
8221 gen_insert(cpu_gpr_d[r3], cpu_gpr_d[r1], temp, temp2, temp3); in decode_32Bit_opc()
8287 tcg_gen_extract2_tl(cpu_gpr_d[r3], cpu_gpr_d[r2], cpu_gpr_d[r1], in decode_32Bit_opc()
8508 cpu_gpr_d[i] = tcg_global_mem_new(tcg_env, in tricore_tcg_init()