Lines Matching refs:cpu_PSW_V

55 static TCGv cpu_PSW_V;  variable
402 tcg_gen_xor_tl(cpu_PSW_V, result, r1); in gen_add_d()
404 tcg_gen_andc_tl(cpu_PSW_V, cpu_PSW_V, t0); in gen_add_d()
406 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_add_d()
429 tcg_gen_extrh_i64_i32(cpu_PSW_V, t1); in gen_add64_d()
431 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_add64_d()
464 tcg_gen_xor_tl(cpu_PSW_V, temp3, r1_high); in gen_addsub64_h()
467 tcg_gen_andc_tl(cpu_PSW_V, cpu_PSW_V, temp4); in gen_addsub64_h()
469 tcg_gen_and_tl(cpu_PSW_V, cpu_PSW_V, temp4); in gen_addsub64_h()
472 tcg_gen_or_tl(cpu_PSW_V, cpu_PSW_V, temp2); in gen_addsub64_h()
474 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_addsub64_h()
509 tcg_gen_extrl_i64_i32(cpu_PSW_V, t2); in gen_madd32_d()
510 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_madd32_d()
512 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_madd32_d()
539 tcg_gen_xor_tl(cpu_PSW_V, t4, r2_high); in gen_madd64_d()
541 tcg_gen_andc_tl(cpu_PSW_V, cpu_PSW_V, t1); in gen_madd64_d()
543 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_madd64_d()
573 tcg_gen_extrl_i64_i32(cpu_PSW_V, t2); in gen_maddu64_d()
574 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_maddu64_d()
576 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_maddu64_d()
715 tcg_gen_mov_tl(temp, cpu_PSW_V); in gen_madds_h()
719 tcg_gen_or_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_madds_h()
752 tcg_gen_mov_tl(temp, cpu_PSW_V); in gen_maddsus_h()
756 tcg_gen_or_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_maddsus_h()
1009 tcg_gen_extrl_i64_i32(cpu_PSW_V, t1); in gen_madd32_q()
1010 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_madd32_q()
1020 tcg_gen_xor_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_madd32_q()
1023 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_madd32_q()
1143 tcg_gen_extrh_i64_i32(cpu_PSW_V, t3); in gen_madd64_q()
1155 tcg_gen_xor_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_madd64_q()
1160 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_madd64_q()
1219 tcg_gen_extrl_i64_i32(cpu_PSW_V, t2); in gen_msub32_d()
1220 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_msub32_d()
1223 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_msub32_d()
1250 tcg_gen_xor_tl(cpu_PSW_V, t4, r2_high); in gen_msub64_d()
1252 tcg_gen_and_tl(cpu_PSW_V, cpu_PSW_V, t1); in gen_msub64_d()
1254 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_msub64_d()
1290 tcg_gen_extrl_i64_i32(cpu_PSW_V, t1); in gen_msubu64_d()
1291 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_msubu64_d()
1293 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_msubu64_d()
1325 tcg_gen_xor_tl(cpu_PSW_V, result, r1); in gen_add_CC()
1327 tcg_gen_andc_tl(cpu_PSW_V, cpu_PSW_V, t0); in gen_add_CC()
1329 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_add_CC()
1357 tcg_gen_xor_tl(cpu_PSW_V, result, r1); in gen_addc_CC()
1359 tcg_gen_andc_tl(cpu_PSW_V, cpu_PSW_V, t0); in gen_addc_CC()
1361 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_addc_CC()
1395 tcg_gen_movcond_tl(cond, cpu_PSW_V, r4, t0, temp, cpu_PSW_V); in gen_cond_add()
1424 tcg_gen_xor_tl(cpu_PSW_V, result, r1); in gen_sub_d()
1426 tcg_gen_and_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_sub_d()
1428 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_sub_d()
1451 tcg_gen_extrh_i64_i32(cpu_PSW_V, t1); in gen_sub64_d()
1453 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_sub64_d()
1473 tcg_gen_xor_tl(cpu_PSW_V, result, r1); in gen_sub_CC()
1475 tcg_gen_and_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_sub_CC()
1477 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_sub_CC()
1512 tcg_gen_movcond_tl(cond, cpu_PSW_V, r4, t0, temp, cpu_PSW_V); in gen_cond_sub()
1580 tcg_gen_mov_tl(temp, cpu_PSW_V); in gen_msubs_h()
1584 tcg_gen_or_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_msubs_h()
1753 tcg_gen_extrl_i64_i32(cpu_PSW_V, t1); in gen_msub32_q()
1754 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_msub32_q()
1756 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_msub32_q()
1876 tcg_gen_extrh_i64_i32(cpu_PSW_V, t3); in gen_msub64_q()
1888 tcg_gen_xor_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_msub64_q()
1893 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_msub64_q()
2048 tcg_gen_mov_tl(temp, cpu_PSW_V); in gen_msubads_h()
2052 tcg_gen_or_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_msubads_h()
2119 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, r1, 0x80000000); in gen_abs()
2120 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_abs()
2122 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_abs()
2140 tcg_gen_xor_tl(cpu_PSW_V, result, r1); in gen_absdif()
2142 tcg_gen_movcond_tl(TCG_COND_GT, cpu_PSW_V, r1, r2, cpu_PSW_V, temp); in gen_absdif()
2144 tcg_gen_and_tl(cpu_PSW_V, cpu_PSW_V, temp); in gen_absdif()
2146 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_absdif()
2177 tcg_gen_setcond_tl(TCG_COND_NE, cpu_PSW_V, high, low); in gen_mul_i32s()
2178 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_mul_i32s()
2180 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_mul_i32s()
2198 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_mul_i64s()
2200 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_mul_i64s()
2219 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_mul_i64u()
2221 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_mul_i64u()
2281 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_mul_q()
2296 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, rh, in gen_mul_q()
2299 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, rl, in gen_mul_q()
2302 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_mul_q()
2304 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in gen_mul_q()
2332 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_mul_q_16()
2356 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_mulr_q()
2499 tcg_gen_mov_tl(cpu_PSW_V, cpu_PSW_C); in gen_shaci()
2507 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_shaci()
2519 tcg_gen_or_tl(cpu_PSW_V, temp, temp2); in gen_shaci()
2520 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in gen_shaci()
2522 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_V, cpu_PSW_SV); in gen_shaci()
2527 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_shaci()
2799 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_calc_usb_mul_h()
2813 tcg_gen_movi_tl(cpu_PSW_V, 0); in gen_calc_usb_mulr_h()
3519 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r1], -0x80000000); in decode_sr_accu()
3520 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in decode_sr_accu()
3522 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in decode_sr_accu()
6128 tcg_gen_setcond_tl(TCG_COND_GE, cpu_PSW_V, temp, temp2); in decode_rr_divide()
6131 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r2], 0); in decode_rr_divide()
6133 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in decode_rr_divide()
6135 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in decode_rr_divide()
6157 tcg_gen_setcond_tl(TCG_COND_GE, cpu_PSW_V, temp, temp2); in decode_rr_divide()
6160 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r2], 0); in decode_rr_divide()
6162 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in decode_rr_divide()
6164 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in decode_rr_divide()
6179 tcg_gen_or_tl(cpu_PSW_V, temp, temp2); in decode_rr_divide()
6180 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in decode_rr_divide()
6182 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in decode_rr_divide()
6193 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r2], 0); in decode_rr_divide()
6194 tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); in decode_rr_divide()
6196 tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V); in decode_rr_divide()
6364 tcg_gen_movi_tl(cpu_PSW_V, 0); in decode_rr1_mul()
6366 tcg_gen_mov_tl(cpu_PSW_AV, cpu_PSW_V); in decode_rr1_mul()
6374 tcg_gen_movi_tl(cpu_PSW_V, 0); in decode_rr1_mul()
6376 tcg_gen_mov_tl(cpu_PSW_AV, cpu_PSW_V); in decode_rr1_mul()
6384 tcg_gen_movi_tl(cpu_PSW_V, 0); in decode_rr1_mul()
6386 tcg_gen_mov_tl(cpu_PSW_AV, cpu_PSW_V); in decode_rr1_mul()
6394 tcg_gen_movi_tl(cpu_PSW_V, 0); in decode_rr1_mul()
6396 tcg_gen_mov_tl(cpu_PSW_AV, cpu_PSW_V); in decode_rr1_mul()
8002 tcg_gen_brcondi_tl(TCG_COND_GE, cpu_PSW_V, 0, l1); in decode_sys_interrupts()
8336 tcg_gen_movi_tl(cpu_PSW_V, 0); in decode_32Bit_opc()
8337 tcg_gen_mov_tl(cpu_PSW_SV, cpu_PSW_V); in decode_32Bit_opc()
8338 tcg_gen_mov_tl(cpu_PSW_AV, cpu_PSW_V); in decode_32Bit_opc()
8339 tcg_gen_mov_tl(cpu_PSW_SAV, cpu_PSW_V); in decode_32Bit_opc()
8517 cpu_PSW_V = tcg_global_mem_new(tcg_env, in tricore_tcg_init()