Lines Matching refs:IRTemp
449 static IRTemp newTemp ( IRType ty ) in newTemp()
504 static void assign ( IRTemp dst, IRExpr* e ) in assign()
538 static IRExpr* mkexpr ( IRTemp tmp ) in mkexpr()
593 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand8Ux16()
595 IRTemp ones8x16 = newTemp(Ity_V128); in expand8Ux16()
611 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand8Sx16()
613 IRTemp ones8x16 = newTemp(Ity_V128); in expand8Sx16()
629 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand16Ux8()
631 IRTemp ones16x8 = newTemp(Ity_V128); in expand16Ux8()
647 /*OUTs*/ IRTemp* vEvn, IRTemp* vOdd ) in expand16Sx8()
649 IRTemp ones16x8 = newTemp(Ity_V128); in expand16Sx8()
666 IRTemp* t3, IRTemp* t2, in breakV128to4xF64()
667 IRTemp* t1, IRTemp* t0 ) in breakV128to4xF64()
669 IRTemp hi64 = newTemp(Ity_I64); in breakV128to4xF64()
670 IRTemp lo64 = newTemp(Ity_I64); in breakV128to4xF64()
704 IRTemp* t3, IRTemp* t2, in breakV128to4x64S()
705 IRTemp* t1, IRTemp* t0 ) in breakV128to4x64S()
707 IRTemp hi64 = newTemp(Ity_I64); in breakV128to4x64S()
708 IRTemp lo64 = newTemp(Ity_I64); in breakV128to4x64S()
731 IRTemp* t3, IRTemp* t2, in breakV128to4x64U()
732 IRTemp* t1, IRTemp* t0 ) in breakV128to4x64U()
734 IRTemp hi64 = newTemp(Ity_I64); in breakV128to4x64U()
735 IRTemp lo64 = newTemp(Ity_I64); in breakV128to4x64U()
757 IRTemp* t3, IRTemp* t2, in breakV128to4x32()
758 IRTemp* t1, IRTemp* t0 ) in breakV128to4x32()
760 IRTemp hi64 = newTemp(Ity_I64); in breakV128to4x32()
761 IRTemp lo64 = newTemp(Ity_I64); in breakV128to4x32()
785 IRTemp hi32 = newTemp(Ity_I32); in mkQNarrow64Sto32()
786 IRTemp lo32 = newTemp(Ity_I32); in mkQNarrow64Sto32()
808 IRTemp hi32 = newTemp(Ity_I32); in mkQNarrow64Uto32()
809 IRTemp lo32 = newTemp(Ity_I32); in mkQNarrow64Uto32()
1296 static IRTemp gen_POPCOUNT ( IRType ty, IRTemp src ) in gen_POPCOUNT()
1299 IRTemp mask[6]; in gen_POPCOUNT()
1300 IRTemp old = IRTemp_INVALID; in gen_POPCOUNT()
1301 IRTemp nyu = IRTemp_INVALID; in gen_POPCOUNT()
1458 static void gen_SIGBUS_if_misaligned ( IRTemp addr, UChar align ) in gen_SIGBUS_if_misaligned()
1494 IRTemp nia, HChar* who ) in make_redzone_AbiHint()
1690 IRTemp v0 = newTemp(Ity_V128); in set_AV_CR6()
1691 IRTemp v1 = newTemp(Ity_V128); in set_AV_CR6()
1692 IRTemp v2 = newTemp(Ity_V128); in set_AV_CR6()
1693 IRTemp v3 = newTemp(Ity_V128); in set_AV_CR6()
1694 IRTemp rOnes = newTemp(Ity_I8); in set_AV_CR6()
1695 IRTemp rZeros = newTemp(Ity_I8); in set_AV_CR6()
1812 IRTemp t64; in set_XER_OV_32()
2457 IRTemp val = newTemp(Ity_I32); in getGST_masked()
2683 static IRExpr * fp_exp_part_sp(IRTemp src) in fp_exp_part_sp()
2691 static IRExpr * fp_exp_part(IRTemp src, Bool sp) in fp_exp_part()
2709 static IRExpr * is_Inf_sp(IRTemp src) in is_Inf_sp()
2711 IRTemp frac_part = newTemp(Ity_I32); in is_Inf_sp()
2721 static IRExpr * is_Inf(IRTemp src, Bool sp) in is_Inf()
2724 IRTemp frac_part; in is_Inf()
2738 static IRExpr * is_Zero_sp(IRTemp src) in is_Zero_sp()
2740 IRTemp sign_less_part = newTemp(Ity_I32); in is_Zero_sp()
2746 static IRExpr * is_Zero(IRTemp src, Bool sp) in is_Zero()
2749 IRTemp sign_less_part; in is_Zero()
2766 static IRExpr * is_NaN(IRTemp src) in is_NaN()
2769 IRTemp frac_part = newTemp(Ity_I64); in is_NaN()
2784 static IRExpr * is_NaN_32(IRTemp src) in is_NaN_32()
2808 static IRTemp getNegatedResult(IRTemp intermediateResult) in getNegatedResult()
2811 IRTemp signbit_32 = newTemp(Ity_I32); in getNegatedResult()
2812 IRTemp resultantSignbit = newTemp(Ity_I1); in getNegatedResult()
2813 IRTemp negatedResult = newTemp(Ity_I64); in getNegatedResult()
2852 static IRTemp getNegatedResult_32(IRTemp intermediateResult) in getNegatedResult_32()
2855 IRTemp signbit_32 = newTemp(Ity_I32); in getNegatedResult_32()
2856 IRTemp resultantSignbit = newTemp(Ity_I1); in getNegatedResult_32()
2857 IRTemp negatedResult = newTemp(Ity_I32); in getNegatedResult_32()
2906 IRTemp rA = newTemp(ty); in dis_int_arith()
2907 IRTemp rB = newTemp(ty); in dis_int_arith()
2908 IRTemp rD = newTemp(ty); in dis_int_arith()
3018 IRTemp old_xer_ca = newTemp(ty); in dis_int_arith()
3038 IRTemp old_xer_ca = newTemp(ty); in dis_int_arith()
3065 IRTemp old_xer_ca = newTemp(ty); in dis_int_arith()
3267 IRTemp old_xer_ca = newTemp(ty); in dis_int_arith()
3288 IRTemp old_xer_ca = newTemp(ty); in dis_int_arith()
3316 IRTemp old_xer_ca = newTemp(ty); in dis_int_arith()
3414 IRTemp res = newTemp(Ity_I32); in dis_int_arith()
3449 IRTemp res = newTemp(Ity_I32); in dis_int_arith()
3661 IRTemp rS = newTemp(ty); in dis_int_logic()
3662 IRTemp rA = newTemp(ty); in dis_int_logic()
3663 IRTemp rB = newTemp(ty); in dis_int_logic()
3877 IRTemp frB = newTemp(Ity_F64); in dis_int_logic()
3891 IRTemp frA = newTemp(Ity_F64); in dis_int_logic()
3905 IRTemp result = gen_POPCOUNT(ty, rS); in dis_int_logic()
3913 IRTemp resultHi, resultLo; in dis_int_logic()
3914 IRTemp argLo = newTemp(Ity_I32); in dis_int_logic()
3915 IRTemp argHi = newTemp(Ity_I32); in dis_int_logic()
3922 IRTemp result = gen_POPCOUNT(ty, rS); in dis_int_logic()
3942 IRTemp idx_tmp = newTemp( Ity_I64 ); in dis_int_logic()
3943 IRTemp perm_bit = newTemp( Ity_I64 ); in dis_int_logic()
3944 IRTemp idx = newTemp( Ity_I8 ); in dis_int_logic()
3945 IRTemp idx_LT64 = newTemp( Ity_I1 ); in dis_int_logic()
3946 IRTemp idx_LT64_ity64 = newTemp( Ity_I64 ); in dis_int_logic()
4018 IRTemp rS = newTemp(ty); in dis_int_parity()
4019 IRTemp rA = newTemp(ty); in dis_int_parity()
4020 IRTemp iTot1 = newTemp(Ity_I32); in dis_int_parity()
4021 IRTemp iTot2 = newTemp(Ity_I32); in dis_int_parity()
4022 IRTemp iTot3 = newTemp(Ity_I32); in dis_int_parity()
4023 IRTemp iTot4 = newTemp(Ity_I32); in dis_int_parity()
4024 IRTemp iTot5 = newTemp(Ity_I32); in dis_int_parity()
4025 IRTemp iTot6 = newTemp(Ity_I32); in dis_int_parity()
4026 IRTemp iTot7 = newTemp(Ity_I32); in dis_int_parity()
4027 IRTemp iTot8 = newTemp(Ity_I32); in dis_int_parity()
4028 IRTemp rS1 = newTemp(ty); in dis_int_parity()
4029 IRTemp rS2 = newTemp(ty); in dis_int_parity()
4030 IRTemp rS3 = newTemp(ty); in dis_int_parity()
4031 IRTemp rS4 = newTemp(ty); in dis_int_parity()
4032 IRTemp rS5 = newTemp(ty); in dis_int_parity()
4033 IRTemp rS6 = newTemp(ty); in dis_int_parity()
4034 IRTemp rS7 = newTemp(ty); in dis_int_parity()
4035 IRTemp iHi = newTemp(Ity_I32); in dis_int_parity()
4036 IRTemp iLo = newTemp(Ity_I32); in dis_int_parity()
4152 IRTemp rS = newTemp(ty); in dis_int_rot()
4153 IRTemp rA = newTemp(ty); in dis_int_rot()
4154 IRTemp rB = newTemp(ty); in dis_int_rot()
4155 IRTemp rot = newTemp(ty); in dis_int_rot()
4200 IRTemp rTmp = newTemp(Ity_I64); in dis_int_rot()
4350 IRTemp rA_orig = newTemp(ty); in dis_int_rot()
4400 IRTemp EA = newTemp(ty); in dis_int_load()
4657 IRTemp rS = newTemp(ty); in dis_int_store()
4658 IRTemp rB = newTemp(ty); in dis_int_store()
4659 IRTemp EA = newTemp(ty); in dis_int_store()
4842 IRTemp EA = newTemp(ty); in dis_int_ldst_mult()
4886 void generate_lsw_sequence ( IRTemp tNBytes, // # bytes, :: Ity_I32 in generate_lsw_sequence()
4887 IRTemp EA, // EA in generate_lsw_sequence()
4937 void generate_stsw_sequence ( IRTemp tNBytes, // # bytes, :: Ity_I32 in generate_stsw_sequence()
4938 IRTemp EA, // EA in generate_stsw_sequence()
4986 IRTemp t_EA = newTemp(ty); in dis_int_ldst_str()
4987 IRTemp t_nbytes = IRTemp_INVALID; in dis_int_ldst_str()
5083 IRTemp ok = newTemp(Ity_I32); in branch_ctr_ok()
5112 IRTemp res = newTemp(Ity_I32); in branch_cond_ok()
5113 IRTemp cr_bi = newTemp(Ity_I32); in branch_cond_ok()
5160 IRTemp do_branch = newTemp(Ity_I32); in dis_branch()
5161 IRTemp ctr_ok = newTemp(Ity_I32); in dis_branch()
5162 IRTemp cond_ok = newTemp(Ity_I32); in dis_branch()
5165 IRTemp lr_old = newTemp(ty); in dis_branch()
5197 IRTemp t_tgt = newTemp(ty); in dis_branch()
5365 IRTemp crbD = newTemp(Ity_I32); in dis_cond_logic()
5366 IRTemp crbA = newTemp(Ity_I32); in dis_cond_logic()
5367 IRTemp crbB = newTemp(Ity_I32); in dis_cond_logic()
5453 IRTemp argL, argR; in do_trap()
5699 IRTemp EA = newTemp(ty); in dis_memsync()
5732 IRTemp res; in dis_memsync()
5754 IRTemp rS = newTemp(Ity_I32); in dis_memsync()
5755 IRTemp resSC; in dis_memsync()
5823 IRTemp res; in dis_memsync()
5845 IRTemp rS = newTemp(Ity_I64); in dis_memsync()
5846 IRTemp resSC; in dis_memsync()
5908 IRTemp rA = newTemp(ty); in dis_int_shift()
5909 IRTemp rS = newTemp(ty); in dis_int_shift()
5910 IRTemp rB = newTemp(ty); in dis_int_shift()
5911 IRTemp outofrange = newTemp(Ity_I8); in dis_int_shift()
5912 IRTemp rS_lo32 = newTemp(Ity_I32); in dis_int_shift()
5913 IRTemp rB_lo32 = newTemp(Ity_I32); in dis_int_shift()
5948 IRTemp sh_amt = newTemp(Ity_I32); in dis_int_shift()
6049 IRTemp sh_amt = newTemp(Ity_I64); in dis_int_shift()
6134 static IRExpr* /* :: Ity_I32 */ gen_byterev32 ( IRTemp t ) in gen_byterev32()
6153 static IRExpr* /* :: Ity_I32 */ gen_byterev16 ( IRTemp t ) in gen_byterev16()
6177 IRTemp EA = newTemp(ty); in dis_int_ldst_rev()
6178 IRTemp w1 = newTemp(Ity_I32); in dis_int_ldst_rev()
6179 IRTemp w2 = newTemp(Ity_I32); in dis_int_ldst_rev()
6209 IRTemp w3 = newTemp( Ity_I32 ); in dis_int_ldst_rev()
6210 IRTemp w4 = newTemp( Ity_I32 ); in dis_int_ldst_rev()
6236 IRTemp lo = newTemp(Ity_I32); in dis_int_ldst_rev()
6237 IRTemp hi = newTemp(Ity_I32); in dis_int_ldst_rev()
6238 IRTemp rS = newTemp(Ity_I64); in dis_int_ldst_rev()
6282 IRTemp rS = newTemp(ty); in dis_proc_ctl()
6368 IRTemp val = newTemp(Ity_I32); in dis_proc_ctl()
6389 IRTemp val = newTemp(Ity_I32); in dis_proc_ctl()
6414 IRTemp val = newTemp(Ity_I64); in dis_proc_ctl()
6589 IRTemp EA = newTemp(ty); in dis_cache_manage()
6590 IRTemp addr = newTemp(ty); in dis_cache_manage()
6633 IRTemp EA = newTemp(ty); in dis_cache_manage()
6634 IRTemp addr = newTemp(ty); in dis_cache_manage()
6681 IRTemp rm_PPC32 = newTemp(Ity_I32); in get_IR_roundingmode()
6713 IRTemp EA = newTemp(ty); in dis_fp_load()
6714 IRTemp rA = newTemp(ty); in dis_fp_load()
6715 IRTemp rB = newTemp(ty); in dis_fp_load()
6716 IRTemp iHi = newTemp(Ity_I32); in dis_fp_load()
6717 IRTemp iLo = newTemp(Ity_I32); in dis_fp_load()
6811 IRTemp dw = newTemp( Ity_I64 ); in dis_fp_load()
6850 IRTemp frS = newTemp(Ity_F64); in dis_fp_store()
6852 IRTemp EA = newTemp(ty); in dis_fp_store()
6853 IRTemp rA = newTemp(ty); in dis_fp_store()
6854 IRTemp rB = newTemp(ty); in dis_fp_store()
6980 IRTemp frD = newTemp(Ity_F64); in dis_fp_arith()
6981 IRTemp frA = newTemp(Ity_F64); in dis_fp_arith()
6982 IRTemp frB = newTemp(Ity_F64); in dis_fp_arith()
6983 IRTemp frC = newTemp(Ity_F64); in dis_fp_arith()
7118 IRTemp cc = newTemp(Ity_I32); in dis_fp_arith()
7119 IRTemp cc_b0 = newTemp(Ity_I32); in dis_fp_arith()
7219 IRTemp frD = newTemp(Ity_F64); in dis_fp_multadd()
7220 IRTemp frA = newTemp(Ity_F64); in dis_fp_multadd()
7221 IRTemp frB = newTemp(Ity_F64); in dis_fp_multadd()
7222 IRTemp frC = newTemp(Ity_F64); in dis_fp_multadd()
7223 IRTemp rmt = newTemp(Ity_I32); in dis_fp_multadd()
7365 static void do_fp_tsqrt(IRTemp frB_Int, Bool sp, IRTemp * fe_flag_tmp, IRTemp * fg_flag_tmp) in do_fp_tsqrt()
7368 IRTemp e_b = newTemp(Ity_I32); in do_fp_tsqrt()
7370 IRTemp frB_exp_shR = newTemp(Ity_I32); in do_fp_tsqrt()
7374 IRTemp frbZero_tmp = newTemp(Ity_I1); in do_fp_tsqrt()
7375 IRTemp frbInf_tmp = newTemp(Ity_I1); in do_fp_tsqrt()
7415 IRTemp frac_part = newTemp(Ity_I32); in do_fp_tsqrt()
7422 IRTemp frac_part = newTemp(Ity_I64); in do_fp_tsqrt()
7472 static void _do_fp_tdiv(IRTemp frA_int, IRTemp frB_int, Bool sp, IRTemp * fe_flag_tmp, IRTemp * fg_… in _do_fp_tdiv()
7475 IRTemp e_a = newTemp(Ity_I32); in _do_fp_tdiv()
7476 IRTemp e_b = newTemp(Ity_I32); in _do_fp_tdiv()
7477 IRTemp frA_exp_shR = newTemp(Ity_I32); in _do_fp_tdiv()
7478 IRTemp frB_exp_shR = newTemp(Ity_I32); in _do_fp_tdiv()
7491 IRTemp fraInf_tmp = newTemp(Ity_I1); in _do_fp_tdiv()
7492 IRTemp frbZero_tmp = newTemp(Ity_I1); in _do_fp_tdiv()
7493 IRTemp frbInf_tmp = newTemp(Ity_I1); in _do_fp_tdiv()
7494 IRTemp fraNotZero_tmp = newTemp(Ity_I1); in _do_fp_tdiv()
7614 IRTemp frac_part = newTemp(Ity_I64); in _do_fp_tdiv()
7656 static IRExpr * do_fp_tdiv(IRTemp frA_int, IRTemp frB_int) in do_fp_tdiv()
7658 IRTemp fe_flag, fg_flag; in do_fp_tdiv()
7680 IRTemp frB_I64 = newTemp(Ity_I64); in dis_fp_tests()
7692 IRTemp frA_I64 = newTemp(Ity_I64); in dis_fp_tests()
7707 IRTemp flags = newTemp(Ity_I32); in dis_fp_tests()
7708 IRTemp fe_flag, fg_flag; in dis_fp_tests()
7751 IRTemp ccIR = newTemp(Ity_I32); in dis_fp_cmp()
7752 IRTemp ccPPC32 = newTemp(Ity_I32); in dis_fp_cmp()
7754 IRTemp frA = newTemp(Ity_F64); in dis_fp_cmp()
7755 IRTemp frB = newTemp(Ity_F64); in dis_fp_cmp()
7849 IRTemp frD = newTemp(Ity_F64); in dis_fp_round()
7850 IRTemp frB = newTemp(Ity_F64); in dis_fp_round()
7851 IRTemp r_tmp32 = newTemp(Ity_I32); in dis_fp_round()
7852 IRTemp r_tmp64 = newTemp(Ity_I64); in dis_fp_round()
8056 IRTemp EA_hi = newTemp(ty); in dis_fp_pair()
8057 IRTemp EA_lo = newTemp(ty); in dis_fp_pair()
8058 IRTemp frT_hi = newTemp(Ity_F64); in dis_fp_pair()
8059 IRTemp frT_lo = newTemp(Ity_F64); in dis_fp_pair()
8136 IRTemp frD = newTemp(Ity_F64); in dis_fp_move()
8137 IRTemp frB = newTemp(Ity_F64); in dis_fp_move()
8138 IRTemp itmpB = newTemp(Ity_F64); in dis_fp_move()
8139 IRTemp frA; in dis_fp_move()
8140 IRTemp signA; in dis_fp_move()
8141 IRTemp hiD; in dis_fp_move()
8259 IRTemp tmp = newTemp(Ity_I32); in dis_fp_scr()
8325 IRTemp frB = newTemp(Ity_F64); in dis_fp_scr()
8326 IRTemp rB_32 = newTemp(Ity_I32); in dis_fp_scr()
8448 IRTemp vB = newTemp(Ity_V128); in dis_av_procctl()
8475 IRTemp xB, xB2; in dis_vx_conv()
8476 IRTemp b3, b2, b1, b0; in dis_vx_conv()
8596 IRTemp hiResult_32 = newTemp(Ity_I32); in dis_vx_conv()
8597 IRTemp loResult_32 = newTemp(Ity_I32); in dis_vx_conv()
8614 IRTemp tempResult = newTemp(Ity_V128); in dis_vx_conv()
8615 IRTemp res0 = newTemp(Ity_I32); in dis_vx_conv()
8616 IRTemp res1 = newTemp(Ity_I32); in dis_vx_conv()
8617 IRTemp res2 = newTemp(Ity_I32); in dis_vx_conv()
8618 IRTemp res3 = newTemp(Ity_I32); in dis_vx_conv()
8619 IRTemp hi64 = newTemp(Ity_I64); in dis_vx_conv()
8620 IRTemp lo64 = newTemp(Ity_I64); in dis_vx_conv()
8917 IRTemp frA = newTemp(Ity_F64); in dis_vxv_dp_arith()
8918 IRTemp frB = newTemp(Ity_F64); in dis_vxv_dp_arith()
8919 IRTemp frA2 = newTemp(Ity_F64); in dis_vxv_dp_arith()
8920 IRTemp frB2 = newTemp(Ity_F64); in dis_vxv_dp_arith()
8961 IRTemp hiResult = newTemp(Ity_I64); in dis_vxv_dp_arith()
8962 IRTemp loResult = newTemp(Ity_I64); in dis_vxv_dp_arith()
8977 IRTemp hiResult = newTemp(Ity_I64); in dis_vxv_dp_arith()
8978 IRTemp loResult = newTemp(Ity_I64); in dis_vxv_dp_arith()
9038 IRTemp hiResult = newTemp(Ity_I64); in dis_vxv_dp_arith()
9039 IRTemp loResult = newTemp(Ity_I64); in dis_vxv_dp_arith()
9040 IRTemp frT = newTemp(Ity_F64); in dis_vxv_dp_arith()
9041 IRTemp frT2 = newTemp(Ity_F64); in dis_vxv_dp_arith()
9071 IRTemp frBHi_I64 = newTemp(Ity_I64); in dis_vxv_dp_arith()
9072 IRTemp frBLo_I64 = newTemp(Ity_I64); in dis_vxv_dp_arith()
9073 IRTemp flagsHi = newTemp(Ity_I32); in dis_vxv_dp_arith()
9074 IRTemp flagsLo = newTemp(Ity_I32); in dis_vxv_dp_arith()
9076 IRTemp fe_flagHi, fg_flagHi, fe_flagLo, fg_flagLo; in dis_vxv_dp_arith()
9104 IRTemp frBHi_I64 = newTemp(Ity_I64); in dis_vxv_dp_arith()
9105 IRTemp frBLo_I64 = newTemp(Ity_I64); in dis_vxv_dp_arith()
9106 IRTemp frAHi_I64 = newTemp(Ity_I64); in dis_vxv_dp_arith()
9107 IRTemp frALo_I64 = newTemp(Ity_I64); in dis_vxv_dp_arith()
9108 IRTemp flagsHi = newTemp(Ity_I32); in dis_vxv_dp_arith()
9109 IRTemp flagsLo = newTemp(Ity_I32); in dis_vxv_dp_arith()
9111 IRTemp fe_flagHi, fg_flagHi, fe_flagLo, fg_flagLo; in dis_vxv_dp_arith()
9160 IRTemp a3, a2, a1, a0; in dis_vxv_sp_arith()
9161 IRTemp b3, b2, b1, b0; in dis_vxv_sp_arith()
9162 IRTemp res0 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9163 IRTemp res1 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9164 IRTemp res2 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9165 IRTemp res3 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9267 IRTemp t3, t2, t1, t0; in dis_vxv_sp_arith()
9353 IRTemp flags0 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9354 IRTemp flags1 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9355 IRTemp flags2 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9356 IRTemp flags3 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9358 IRTemp fe_flag0, fg_flag0, fe_flag1, fg_flag1; in dis_vxv_sp_arith()
9359 IRTemp fe_flag2, fg_flag2, fe_flag3, fg_flag3; in dis_vxv_sp_arith()
9407 IRTemp flags0 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9408 IRTemp flags1 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9409 IRTemp flags2 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9410 IRTemp flags3 = newTemp(Ity_I32); in dis_vxv_sp_arith()
9412 IRTemp fe_flag0, fg_flag0, fe_flag1, fg_flag1; in dis_vxv_sp_arith()
9413 IRTemp fe_flag2, fg_flag2, fe_flag3, fg_flag3; in dis_vxv_sp_arith()
9493 static IRTemp
9496 IRTemp condcode = newTemp( Ity_I32 ); in get_fp_cmp_CR_val()
9497 IRTemp ccIR = newTemp( Ity_I32 ); in get_fp_cmp_CR_val()
9529 static IRExpr * _get_maxmin_fp_NaN(IRTemp frA_I64, IRTemp frB_I64) in _get_maxmin_fp_NaN()
9531 IRTemp frA_isNaN = newTemp(Ity_I1); in _get_maxmin_fp_NaN()
9532 IRTemp frB_isNaN = newTemp(Ity_I1); in _get_maxmin_fp_NaN()
9533 IRTemp frA_isSNaN = newTemp(Ity_I1); in _get_maxmin_fp_NaN()
9534 IRTemp frB_isSNaN = newTemp(Ity_I1); in _get_maxmin_fp_NaN()
9535 IRTemp frA_isQNaN = newTemp(Ity_I1); in _get_maxmin_fp_NaN()
9536 IRTemp frB_isQNaN = newTemp(Ity_I1); in _get_maxmin_fp_NaN()
9595 static IRExpr * _get_maxmin_fp_cmp(IRTemp src1, IRTemp src2, Bool isMin) in _get_maxmin_fp_cmp()
9597 IRTemp src1cmpsrc2 = get_fp_cmp_CR_val( binop( Iop_CmpF64, in _get_maxmin_fp_cmp()
9618 static IRExpr * get_max_min_fp(IRTemp frA_I64, IRTemp frB_I64, Bool isMin) in get_max_min_fp()
9629 IRTemp anyNaN = newTemp(Ity_I1); in get_max_min_fp()
9630 IRTemp frA_isZero = newTemp(Ity_I1); in get_max_min_fp()
9631 IRTemp frB_isZero = newTemp(Ity_I1); in get_max_min_fp()
9661 static IRExpr * _do_vsx_fp_roundToInt(IRTemp frB_I64, UInt opc2, UChar * insn_suffix) in _do_vsx_fp_roundToInt()
9665 IRTemp frB = newTemp(Ity_F64); in _do_vsx_fp_roundToInt()
9666 IRTemp frD = newTemp(Ity_F64); in _do_vsx_fp_roundToInt()
9667 IRTemp intermediateResult = newTemp(Ity_I64); in _do_vsx_fp_roundToInt()
9668 IRTemp is_SNAN = newTemp(Ity_I1); in _do_vsx_fp_roundToInt()
9769 IRTemp frB = newTemp(Ity_I64); in dis_vxv_misc()
9770 IRTemp frB2 = newTemp(Ity_I64); in dis_vxv_misc()
9772 IRTemp sqrtHi = newTemp(Ity_F64); in dis_vxv_misc()
9773 IRTemp sqrtLo = newTemp(Ity_F64); in dis_vxv_misc()
9810 IRTemp b3, b2, b1, b0; in dis_vxv_misc()
9811 IRTemp res0 = newTemp(Ity_I32); in dis_vxv_misc()
9812 IRTemp res1 = newTemp(Ity_I32); in dis_vxv_misc()
9813 IRTemp res2 = newTemp(Ity_I32); in dis_vxv_misc()
9814 IRTemp res3 = newTemp(Ity_I32); in dis_vxv_misc()
9815 IRTemp sqrt3 = newTemp(Ity_F64); in dis_vxv_misc()
9816 IRTemp sqrt2 = newTemp(Ity_F64); in dis_vxv_misc()
9817 IRTemp sqrt1 = newTemp(Ity_F64); in dis_vxv_misc()
9818 IRTemp sqrt0 = newTemp(Ity_F64); in dis_vxv_misc()
9873 IRTemp a3, a2, a1, a0; in dis_vxv_misc()
9874 IRTemp b3, b2, b1, b0; in dis_vxv_misc()
9875 IRTemp res0 = newTemp( Ity_I32 ); in dis_vxv_misc()
9876 IRTemp res1 = newTemp( Ity_I32 ); in dis_vxv_misc()
9877 IRTemp res2 = newTemp( Ity_I32 ); in dis_vxv_misc()
9878 IRTemp res3 = newTemp( Ity_I32 ); in dis_vxv_misc()
9879 IRTemp a0_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9880 IRTemp a1_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9881 IRTemp a2_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9882 IRTemp a3_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9883 IRTemp b0_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9884 IRTemp b1_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9885 IRTemp b2_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9886 IRTemp b3_I64 = newTemp( Ity_I64 ); in dis_vxv_misc()
9933 IRTemp frA = newTemp(Ity_I64); in dis_vxv_misc()
9934 IRTemp frB = newTemp(Ity_I64); in dis_vxv_misc()
9935 IRTemp frA2 = newTemp(Ity_I64); in dis_vxv_misc()
9936 IRTemp frB2 = newTemp(Ity_I64); in dis_vxv_misc()
9951 IRTemp frA = newTemp(Ity_I64); in dis_vxv_misc()
9952 IRTemp frB = newTemp(Ity_I64); in dis_vxv_misc()
9953 IRTemp frA2 = newTemp(Ity_I64); in dis_vxv_misc()
9954 IRTemp frB2 = newTemp(Ity_I64); in dis_vxv_misc()
9982 IRTemp a3_I64, a2_I64, a1_I64, a0_I64; in dis_vxv_misc()
9983 IRTemp b3_I64, b2_I64, b1_I64, b0_I64; in dis_vxv_misc()
9984 IRTemp resHi = newTemp(Ity_I64); in dis_vxv_misc()
9985 IRTemp resLo = newTemp(Ity_I64); in dis_vxv_misc()
10033 IRTemp frB = newTemp(Ity_F64); in dis_vxv_misc()
10034 IRTemp frB2 = newTemp(Ity_F64); in dis_vxv_misc()
10035 IRTemp abs_resultHi = newTemp(Ity_F64); in dis_vxv_misc()
10036 IRTemp abs_resultLo = newTemp(Ity_F64); in dis_vxv_misc()
10065 IRTemp shiftVector = newTemp(Ity_V128); in dis_vxv_misc()
10066 IRTemp absVal_vector = newTemp(Ity_V128); in dis_vxv_misc()
10078 IRTemp signBit_vector = newTemp(Ity_V128); in dis_vxv_misc()
10098 IRTemp frB = newTemp(Ity_F64); in dis_vxv_misc()
10099 IRTemp frB2 = newTemp(Ity_F64); in dis_vxv_misc()
10117 IRTemp frBHi_I64 = newTemp(Ity_I64); in dis_vxv_misc()
10118 IRTemp frBLo_I64 = newTemp(Ity_I64); in dis_vxv_misc()
10172 IRTemp b3_F64, b2_F64, b1_F64, b0_F64; in dis_vxv_misc()
10173 IRTemp b3_I64 = newTemp(Ity_I64); in dis_vxv_misc()
10174 IRTemp b2_I64 = newTemp(Ity_I64); in dis_vxv_misc()
10175 IRTemp b1_I64 = newTemp(Ity_I64); in dis_vxv_misc()
10176 IRTemp b0_I64 = newTemp(Ity_I64); in dis_vxv_misc()
10226 IRTemp frA = newTemp(Ity_F64); in dis_vxs_arith()
10227 IRTemp frB = newTemp(Ity_F64); in dis_vxs_arith()
10260 IRTemp frT = newTemp(Ity_F64); in dis_vxs_arith()
10275 IRTemp frT = newTemp(Ity_F64); in dis_vxs_arith()
10296 IRTemp frT = newTemp(Ity_F64); in dis_vxs_arith()
10297 IRTemp maddResult = newTemp(Ity_I64); in dis_vxs_arith()
10313 IRTemp frT = newTemp(Ity_F64); in dis_vxs_arith()
10315 IRTemp msubResult = newTemp(Ity_I64); in dis_vxs_arith()
10360 IRTemp frA_I64 = newTemp(Ity_I64); in dis_vxs_arith()
10361 IRTemp frB_I64 = newTemp(Ity_I64); in dis_vxs_arith()
10370 IRTemp frB_I64 = newTemp(Ity_I64); in dis_vxs_arith()
10372 IRTemp flags = newTemp(Ity_I32); in dis_vxs_arith()
10373 IRTemp fe_flag, fg_flag; in dis_vxs_arith()
10408 IRTemp ccPPC32; in dis_vx_cmp()
10411 IRTemp frA = newTemp(Ity_F64); in dis_vx_cmp()
10412 IRTemp frB = newTemp(Ity_F64); in dis_vx_cmp()
10439 do_vvec_fp_cmp ( IRTemp vA, IRTemp vB, UChar XT, UChar flag_rC, in do_vvec_fp_cmp()
10442 IRTemp frA_hi = newTemp(Ity_F64); in do_vvec_fp_cmp()
10443 IRTemp frB_hi = newTemp(Ity_F64); in do_vvec_fp_cmp()
10444 IRTemp frA_lo = newTemp(Ity_F64); in do_vvec_fp_cmp()
10445 IRTemp frB_lo = newTemp(Ity_F64); in do_vvec_fp_cmp()
10446 IRTemp ccPPC32 = newTemp(Ity_I32); in do_vvec_fp_cmp()
10447 IRTemp ccIR_hi; in do_vvec_fp_cmp()
10448 IRTemp ccIR_lo; in do_vvec_fp_cmp()
10450 IRTemp hiResult = newTemp(Ity_I64); in do_vvec_fp_cmp()
10451 IRTemp loResult = newTemp(Ity_I64); in do_vvec_fp_cmp()
10452 IRTemp hiEQlo = newTemp(Ity_I1); in do_vvec_fp_cmp()
10453 IRTemp all_elem_true = newTemp(Ity_I32); in do_vvec_fp_cmp()
10454 IRTemp all_elem_false = newTemp(Ity_I32); in do_vvec_fp_cmp()
10478 IRTemp lo_GE = newTemp(Ity_I1); in do_vvec_fp_cmp()
10479 IRTemp hi_GE = newTemp(Ity_I1); in do_vvec_fp_cmp()
10535 IRTemp vA = newTemp( Ity_V128 ); in dis_vvec_cmp()
10536 IRTemp vB = newTemp( Ity_V128 ); in dis_vvec_cmp()
10573 IRTemp vD = newTemp(Ity_V128); in dis_vvec_cmp()
10587 IRTemp vD = newTemp(Ity_V128); in dis_vvec_cmp()
10601 IRTemp vD = newTemp(Ity_V128); in dis_vvec_cmp()
10630 IRTemp vA = newTemp( Ity_V128 ); in dis_vxs_misc()
10631 IRTemp vB = newTemp( Ity_V128 ); in dis_vxs_misc()
10650 IRTemp absVal = newTemp(Ity_V128); in dis_vxs_misc()
10659 IRTemp vecA_signbit = newTemp(Ity_V128); in dis_vxs_misc()
10660 IRTemp vecB_no_signbit = newTemp(Ity_V128); in dis_vxs_misc()
10661 IRTemp vec_result = newTemp(Ity_V128); in dis_vxs_misc()
10678 IRTemp vec_neg_signbit = newTemp(Ity_V128); in dis_vxs_misc()
10689 IRTemp vecB_no_signbit = newTemp(Ity_V128); in dis_vxs_misc()
10690 IRTemp vecB_signbit_comp = newTemp(Ity_V128); in dis_vxs_misc()
10709 IRTemp frA = newTemp(Ity_I64); in dis_vxs_misc()
10710 IRTemp frB = newTemp(Ity_I64); in dis_vxs_misc()
10726 IRTemp frB_I64 = newTemp(Ity_I64); in dis_vxs_misc()
10744 IRTemp frB = newTemp(Ity_F64); in dis_vxs_misc()
10745 IRTemp sqrt = newTemp(Ity_F64); in dis_vxs_misc()
10788 IRTemp vA = newTemp( Ity_V128 ); in dis_vx_logic()
10789 IRTemp vB = newTemp( Ity_V128 ); in dis_vx_logic()
10844 IRTemp EA = newTemp( ty ); in dis_vx_load()
10881 IRTemp data = newTemp(Ity_I64); in dis_vx_load()
10930 IRTemp vS = newTemp( Ity_V128 ); in dis_vx_store()
10934 IRTemp EA = newTemp( ty ); in dis_vx_store()
10968 IRTemp hi64 = newTemp( Ity_I64 ); in dis_vx_store()
10969 IRTemp lo64 = newTemp( Ity_I64 ); in dis_vx_store()
11012 IRTemp vT = newTemp( Ity_V128 ); in dis_vx_permute_misc()
11013 IRTemp vA = newTemp( Ity_V128 ); in dis_vx_permute_misc()
11014 IRTemp vB = newTemp( Ity_V128 ); in dis_vx_permute_misc()
11028 IRTemp result = newTemp(Ity_V128); in dis_vx_permute_misc()
11030 IRTemp hi = newTemp(Ity_V128); in dis_vx_permute_misc()
11031 IRTemp lo = newTemp(Ity_V128); in dis_vx_permute_misc()
11044 IRTemp hi = newTemp(Ity_I64); in dis_vx_permute_misc()
11045 IRTemp lo = newTemp(Ity_I64); in dis_vx_permute_misc()
11068 IRTemp a64 = newTemp(Ity_I64); in dis_vx_permute_misc()
11069 IRTemp ahi32 = newTemp(Ity_I32); in dis_vx_permute_misc()
11070 IRTemp alo32 = newTemp(Ity_I32); in dis_vx_permute_misc()
11071 IRTemp b64 = newTemp(Ity_I64); in dis_vx_permute_misc()
11072 IRTemp bhi32 = newTemp(Ity_I32); in dis_vx_permute_misc()
11073 IRTemp blo32 = newTemp(Ity_I32); in dis_vx_permute_misc()
11094 IRTemp vC = newTemp( Ity_V128 ); in dis_vx_permute_misc()
11136 IRTemp EA = newTemp(ty); in dis_av_load()
11137 IRTemp EA_align16 = newTemp(ty); in dis_av_load()
11266 IRTemp EA = newTemp(ty); in dis_av_store()
11267 IRTemp addr_aligned = newTemp(ty); in dis_av_store()
11268 IRTemp vS = newTemp(Ity_V128); in dis_av_store()
11269 IRTemp eb = newTemp(Ity_I8); in dis_av_store()
11270 IRTemp idx = newTemp(Ity_I8); in dis_av_store()
11350 IRTemp vA = newTemp(Ity_V128); in dis_av_arith()
11351 IRTemp vB = newTemp(Ity_V128); in dis_av_arith()
11352 IRTemp z3 = newTemp(Ity_I64); in dis_av_arith()
11353 IRTemp z2 = newTemp(Ity_I64); in dis_av_arith()
11354 IRTemp z1 = newTemp(Ity_I64); in dis_av_arith()
11355 IRTemp z0 = newTemp(Ity_I64); in dis_av_arith()
11356 IRTemp aEvn, aOdd; in dis_av_arith()
11357 IRTemp a15, a14, a13, a12, a11, a10, a9, a8; in dis_av_arith()
11358 IRTemp a7, a6, a5, a4, a3, a2, a1, a0; in dis_av_arith()
11359 IRTemp b3, b2, b1, b0; in dis_av_arith()
11644 IRTemp aEE, aEO, aOE, aOO; in dis_av_arith()
11684 IRTemp aEE, aEO, aOE, aOO; in dis_av_arith()
11804 IRTemp vA = newTemp(Ity_V128); in dis_av_logic()
11805 IRTemp vB = newTemp(Ity_V128); in dis_av_logic()
11862 IRTemp vA = newTemp(Ity_V128); in dis_av_cmp()
11863 IRTemp vB = newTemp(Ity_V128); in dis_av_cmp()
11864 IRTemp vD = newTemp(Ity_V128); in dis_av_cmp()
11954 IRTemp vA = newTemp(Ity_V128); in dis_av_multarith()
11955 IRTemp vB = newTemp(Ity_V128); in dis_av_multarith()
11956 IRTemp vC = newTemp(Ity_V128); in dis_av_multarith()
11957 IRTemp zeros = newTemp(Ity_V128); in dis_av_multarith()
11958 IRTemp aLo = newTemp(Ity_V128); in dis_av_multarith()
11959 IRTemp bLo = newTemp(Ity_V128); in dis_av_multarith()
11960 IRTemp cLo = newTemp(Ity_V128); in dis_av_multarith()
11961 IRTemp zLo = newTemp(Ity_V128); in dis_av_multarith()
11962 IRTemp aHi = newTemp(Ity_V128); in dis_av_multarith()
11963 IRTemp bHi = newTemp(Ity_V128); in dis_av_multarith()
11964 IRTemp cHi = newTemp(Ity_V128); in dis_av_multarith()
11965 IRTemp zHi = newTemp(Ity_V128); in dis_av_multarith()
11966 IRTemp abEvn = newTemp(Ity_V128); in dis_av_multarith()
11967 IRTemp abOdd = newTemp(Ity_V128); in dis_av_multarith()
11968 IRTemp z3 = newTemp(Ity_I64); in dis_av_multarith()
11969 IRTemp z2 = newTemp(Ity_I64); in dis_av_multarith()
11970 IRTemp z1 = newTemp(Ity_I64); in dis_av_multarith()
11971 IRTemp z0 = newTemp(Ity_I64); in dis_av_multarith()
11972 IRTemp ab7, ab6, ab5, ab4, ab3, ab2, ab1, ab0; in dis_av_multarith()
11973 IRTemp c3, c2, c1, c0; in dis_av_multarith()
11991 IRTemp cSigns = newTemp(Ity_V128); in dis_av_multarith()
12019 IRTemp zKonst = newTemp(Ity_V128); in dis_av_multarith()
12020 IRTemp cSigns = newTemp(Ity_V128); in dis_av_multarith()
12076 IRTemp abEE, abEO, abOE, abOO; in dis_av_multarith()
12097 IRTemp aEvn, aOdd, bEvn, bOdd; in dis_av_multarith()
12098 IRTemp abEE = newTemp(Ity_V128); in dis_av_multarith()
12099 IRTemp abEO = newTemp(Ity_V128); in dis_av_multarith()
12100 IRTemp abOE = newTemp(Ity_V128); in dis_av_multarith()
12101 IRTemp abOO = newTemp(Ity_V128); in dis_av_multarith()
12219 IRTemp vA = newTemp(Ity_V128); in dis_av_shift()
12220 IRTemp vB = newTemp(Ity_V128); in dis_av_shift()
12264 IRTemp sh = newTemp(Ity_I8); in dis_av_shift()
12274 IRTemp sh = newTemp(Ity_I8); in dis_av_shift()
12302 IRTemp sh = newTemp(Ity_I8); in dis_av_shift()
12327 IRTemp sh = newTemp(Ity_I8); in dis_av_shift()
12362 IRTemp vA = newTemp(Ity_V128); in dis_av_permute()
12363 IRTemp vB = newTemp(Ity_V128); in dis_av_permute()
12364 IRTemp vC = newTemp(Ity_V128); in dis_av_permute()
12385 IRTemp a_perm = newTemp(Ity_V128); in dis_av_permute()
12386 IRTemp b_perm = newTemp(Ity_V128); in dis_av_permute()
12387 IRTemp mask = newTemp(Ity_V128); in dis_av_permute()
12388 IRTemp vC_andF = newTemp(Ity_V128); in dis_av_permute()
12537 IRTemp signs = IRTemp_INVALID; in dis_av_pack()
12538 IRTemp zeros = IRTemp_INVALID; in dis_av_pack()
12539 IRTemp vA = newTemp(Ity_V128); in dis_av_pack()
12540 IRTemp vB = newTemp(Ity_V128); in dis_av_pack()
12581 IRTemp vA_tmp = newTemp(Ity_V128); in dis_av_pack()
12582 IRTemp vB_tmp = newTemp(Ity_V128); in dis_av_pack()
12601 IRTemp vA_tmp = newTemp(Ity_V128); in dis_av_pack()
12602 IRTemp vB_tmp = newTemp(Ity_V128); in dis_av_pack()
12634 IRTemp a1 = newTemp(Ity_V128); in dis_av_pack()
12635 IRTemp a2 = newTemp(Ity_V128); in dis_av_pack()
12636 IRTemp a3 = newTemp(Ity_V128); in dis_av_pack()
12637 IRTemp a_tmp = newTemp(Ity_V128); in dis_av_pack()
12638 IRTemp b1 = newTemp(Ity_V128); in dis_av_pack()
12639 IRTemp b2 = newTemp(Ity_V128); in dis_av_pack()
12640 IRTemp b3 = newTemp(Ity_V128); in dis_av_pack()
12641 IRTemp b_tmp = newTemp(Ity_V128); in dis_av_pack()
12719 IRTemp z0 = newTemp(Ity_V128); in dis_av_pack()
12720 IRTemp z1 = newTemp(Ity_V128); in dis_av_pack()
12721 IRTemp z01 = newTemp(Ity_V128); in dis_av_pack()
12722 IRTemp z2 = newTemp(Ity_V128); in dis_av_pack()
12723 IRTemp z3 = newTemp(Ity_V128); in dis_av_pack()
12724 IRTemp z23 = newTemp(Ity_V128); in dis_av_pack()
12752 IRTemp z0 = newTemp(Ity_V128); in dis_av_pack()
12753 IRTemp z1 = newTemp(Ity_V128); in dis_av_pack()
12754 IRTemp z01 = newTemp(Ity_V128); in dis_av_pack()
12755 IRTemp z2 = newTemp(Ity_V128); in dis_av_pack()
12756 IRTemp z3 = newTemp(Ity_V128); in dis_av_pack()
12757 IRTemp z23 = newTemp(Ity_V128); in dis_av_pack()
12804 IRTemp vA = newTemp(Ity_V128); in dis_av_fp_arith()
12805 IRTemp vB = newTemp(Ity_V128); in dis_av_fp_arith()
12806 IRTemp vC = newTemp(Ity_V128); in dis_av_fp_arith()
12915 IRTemp vA = newTemp(Ity_V128); in dis_av_fp_cmp()
12916 IRTemp vB = newTemp(Ity_V128); in dis_av_fp_cmp()
12917 IRTemp vD = newTemp(Ity_V128); in dis_av_fp_cmp()
12946 IRTemp gt = newTemp(Ity_V128); in dis_av_fp_cmp()
12947 IRTemp lt = newTemp(Ity_V128); in dis_av_fp_cmp()
12948 IRTemp zeros = newTemp(Ity_V128); in dis_av_fp_cmp()
13005 IRTemp vB = newTemp(Ity_V128); in dis_av_fp_convert()
13006 IRTemp vScale = newTemp(Ity_V128); in dis_av_fp_convert()
13007 IRTemp vInvScale = newTemp(Ity_V128); in dis_av_fp_convert()