Lines Matching refs:opc2

3481    UInt  opc2    = ifieldOPClo9(theInstr);  in dis_int_arith()  local
3569 switch (opc2) { in dis_int_arith()
4119 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_cmp() local
4172 switch (opc2) { in dis_int_cmp()
4237 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_logic() local
4295 switch (opc2) { in dis_int_logic()
4614 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_parity() local
4647 switch (opc2) { in dis_int_parity()
4747 UChar opc2 = toUChar( IFIELD( theInstr, 2, 3 ) ); in dis_int_rot() local
4879 switch (opc2) { in dis_int_rot()
4994 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_load() local
5098 switch (opc2) { in dis_int_load()
5292 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_store() local
5370 switch (opc2) { in dis_int_store()
5662 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_ldst_str() local
5676 switch (opc2) { in dis_int_ldst_str()
5832 UInt opc2 = ifieldOPClo10(theInstr); in dis_branch() local
5941 switch (opc2) { in dis_branch()
6043 UInt opc2 = ifieldOPClo10(theInstr); in dis_cond_logic() local
6055 if (opc2 == 0) { // mcrf (Move Cond Reg Field, PPC32 p464) in dis_cond_logic()
6071 switch (opc2) { in dis_cond_logic()
6273 UInt opc2 = ifieldOPClo10(theInstr); in dis_trap() local
6284 switch (opc2) { in dis_trap()
6377 UInt opc2 = ifieldOPClo10(theInstr); in dis_memsync() local
6388 if (opc2 != 0x096) { in dis_memsync()
6402 switch (opc2) { in dis_memsync()
6783 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_shift() local
6802 switch (opc2) { in dis_int_shift()
7049 UInt opc2 = ifieldOPClo10(theInstr); in dis_int_ldst_rev() local
7064 switch (opc2) { in dis_int_ldst_rev()
7158 UInt opc2 = ifieldOPClo10(theInstr); in dis_proc_ctl() local
7178 switch (opc2) { in dis_proc_ctl()
7578 UInt opc2 = ifieldOPClo10(theInstr); in dis_cache_manage() local
7588 if (opc1 == 0x1F && ((opc2 == 0x116) || (opc2 == 0xF6))) { in dis_cache_manage()
7592 if (opc1 == 0x1F && opc2 == 0x116 && b21to25 == 0x11) in dis_cache_manage()
7595 if (opc1 == 0x1F && opc2 == 0x3F6) { // dcbz in dis_cache_manage()
7616 switch (opc2) { in dis_cache_manage()
7876 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_load() local
7934 switch(opc2) { in dis_fp_load()
8014 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_store() local
8075 switch(opc2) { in dis_fp_store()
8143 UChar opc2 = ifieldOPClo5(theInstr); in dis_fp_arith() local
8169 switch (opc2) { in dis_fp_arith()
8248 switch (opc2) { in dis_fp_arith()
8381 UChar opc2 = ifieldOPClo5(theInstr); in dis_fp_multadd() local
8425 switch (opc2) { in dis_fp_multadd()
8443 if (opc2 == 0x1E) { in dis_fp_multadd()
8469 switch (opc2) { in dis_fp_multadd()
8487 if (opc2 == 0x1E) { in dis_fp_multadd()
8859 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_tests() local
8868 switch (opc2) { in dis_fp_tests()
8928 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_cmp() local
9000 switch (opc2) { in dis_fp_cmp()
9026 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_round() local
9056 switch (opc2) { in dis_fp_round()
9073 switch (opc2) { in dis_fp_round()
9100 DIP("fctiwu%s%s fr%u,fr%u\n", opc2 == 0x08F ? "z" : "", in dis_fp_round()
9104 opc2 == 0x08F ? mkU32( Irrm_ZERO ) : rm, in dis_fp_round()
9133 DIP("fctidu%s%s fr%u,fr%u\n", opc2 == 0x3AE ? "" : "z", in dis_fp_round()
9136 binop(Iop_F64toI64U, opc2 == 0x3AE ? rm : mkU32(Irrm_ZERO), mkexpr(frB)) ); in dis_fp_round()
9156 switch(opc2) { in dis_fp_round()
9242 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_pair() local
9258 switch(opc2) { in dis_fp_pair()
9317 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_merge() local
9329 switch (opc2) { in dis_fp_merge()
9375 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_move() local
9385 if (opc1 != 0x3F || (frA_addr != 0 && opc2 != 0x008)) { in dis_fp_move()
9392 switch (opc2) { in dis_fp_move()
9473 UInt opc2 = ifieldOPClo10(theInstr); in dis_fp_scr() local
9481 switch (opc2) { in dis_fp_scr()
10290 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_arith() local
10312 switch (opc2) { in dis_dfp_arith()
10348 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_arithq() local
10370 switch (opc2) { in dis_dfp_arithq()
10405 UInt opc2 = ifieldOPClo9( theInstr ); in dis_dfp_shift() local
10417 switch (opc2) { in dis_dfp_shift()
10442 UInt opc2 = ifieldOPClo9( theInstr ); in dis_dfp_shiftq() local
10454 switch (opc2) { in dis_dfp_shiftq()
10479 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_fmt_conv() local
10488 switch (opc2) { in dis_dfp_fmt_conv()
10545 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_fmt_convq() local
10556 switch (opc2) { in dis_dfp_fmt_convq()
10616 UInt opc2 = ifieldOPClo8( theInstr ); in dis_dfp_round() local
10619 switch (opc2) { in dis_dfp_round()
10662 UInt opc2 = ifieldOPClo8( theInstr ); in dis_dfp_roundq() local
10664 switch (opc2) { in dis_dfp_roundq()
10695 UInt opc2 = ifieldOPClo8( theInstr ); in dis_dfp_quantize_sig_rrnd() local
10710 switch (opc2) { in dis_dfp_quantize_sig_rrnd()
10789 UInt opc2 = ifieldOPClo8( theInstr ); in dis_dfp_quantize_sig_rrndq() local
10804 switch (opc2) { in dis_dfp_quantize_sig_rrndq()
10884 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_extract_insert() local
10899 switch (opc2) { in dis_dfp_extract_insert()
10930 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_extract_insertq() local
10945 switch (opc2) { in dis_dfp_extract_insertq()
11254 UInt opc2 = ifieldOPClo9( theInstr ); in dis_dfp_class_test() local
11319 DIP("dtstd%s %u,r%u,%u\n", opc2 == 0xc2 ? "c" : "g", in dis_dfp_class_test()
11355 DIP("dtstd%sq %u,r%u,%u\n", opc2 == 0xc2 ? "c" : "g", in dis_dfp_class_test()
11506 if (opc2 == 0xC2) { // dtstdc, dtstdcq in dis_dfp_class_test()
11541 } else if (opc2 == 0xE2) { // dtstdg, dtstdgq in dis_dfp_class_test()
11690 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_bcd() local
11709 switch ( opc2 ) { in dis_dfp_bcd()
11951 UInt opc2 = ifieldOPClo10( theInstr ); in dis_dfp_bcdq() local
11970 switch ( opc2 ) { in dis_dfp_bcdq()
12566 UInt opc2 = ifieldOPClo10(theInstr); in dis_av_datastream() local
12574 switch (opc2) { in dis_av_datastream()
12614 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_procctl() local
12621 switch (opc2) { in dis_av_procctl()
12653 dis_vx_conv ( UInt theInstr, UInt opc2 ) in dis_vx_conv() argument
12669 switch (opc2) { in dis_vx_conv()
12733 switch (opc2) { in dis_vx_conv()
12840 Bool un_signed = (opc2 == 0x110); in dis_vx_conv()
13151 dis_vxv_dp_arith ( UInt theInstr, UInt opc2 ) in dis_vxv_dp_arith() argument
13174 switch (opc2) { in dis_vxv_dp_arith()
13182 switch (opc2) { in dis_vxv_dp_arith()
13253 switch (opc2) { in dis_vxv_dp_arith()
13258 mdp = (opc2 & 0x0FF) == 0x0A4; in dis_vxv_dp_arith()
13265 mdp = (opc2 & 0x0FF) == 0x0E4; in dis_vxv_dp_arith()
13272 switch (opc2) { in dis_vxv_dp_arith()
13394 dis_vxv_sp_arith ( UInt theInstr, UInt opc2 ) in dis_vxv_sp_arith() argument
13417 switch (opc2) { in dis_vxv_sp_arith()
13520 switch (opc2) { in dis_vxv_sp_arith()
13523 msp = (opc2 & 0x0FF) == 0x024; in dis_vxv_sp_arith()
13530 msp = (opc2 & 0x0FF) == 0x064; in dis_vxv_sp_arith()
13539 switch (opc2) { in dis_vxv_sp_arith()
13720 dis_av_count_bitTranspose ( UInt theInstr, UInt opc2 ) in dis_av_count_bitTranspose() argument
13733 switch (opc2) { in dis_av_count_bitTranspose()
14069 static const HChar * _get_vsx_rdpi_suffix(UInt opc2) in _get_vsx_rdpi_suffix() argument
14071 switch (opc2 & 0x7F) { in _get_vsx_rdpi_suffix()
14084 vex_printf("Unrecognized opcode %x\n", opc2); in _get_vsx_rdpi_suffix()
14092 static IRExpr * _do_vsx_fp_roundToInt(IRTemp frB_I64, UInt opc2) in _do_vsx_fp_roundToInt() argument
14102 switch (opc2 & 0x7F) { in _do_vsx_fp_roundToInt()
14120 vex_printf("Unrecognized opcode %x\n", opc2); in _do_vsx_fp_roundToInt()
14184 dis_vxv_misc ( UInt theInstr, UInt opc2 ) in dis_vxv_misc() argument
14196 switch (opc2) { in dis_vxv_misc()
14205 Bool redp = opc2 == 0x1B4; in dis_vxv_misc()
14254 Bool resp = opc2 == 0x134; in dis_vxv_misc()
14322 Bool isMin = opc2 == 0x320 ? True : False; in dis_vxv_misc()
14371 Bool isMin = opc2 == 0x3A0 ? True : False; in dis_vxv_misc()
14471 Bool make_negative = (opc2 == 0x3D2) ? True : False; in dis_vxv_misc()
14498 Bool make_negative = (opc2 == 0x352) ? True : False; in dis_vxv_misc()
14557 frD_fp_roundHi = _do_vsx_fp_roundToInt(frBHi_I64, opc2); in dis_vxv_misc()
14559 frD_fp_roundLo = _do_vsx_fp_roundToInt(frBLo_I64, opc2); in dis_vxv_misc()
14561 DIP("xvrdpi%s v%d,v%d\n", _get_vsx_rdpi_suffix(opc2), XT, XB); in dis_vxv_misc()
14576 if (opc2 != 0x156) { in dis_vxv_misc()
14578 switch (opc2) { in dis_vxv_misc()
14597 vex_printf("Unrecognized opcode %x\n", opc2); in dis_vxv_misc()
14619 _do_vsx_fp_roundToInt(b3_I64, opc2)); in dis_vxv_misc()
14621 _do_vsx_fp_roundToInt(b2_I64, opc2)); in dis_vxv_misc()
14623 _do_vsx_fp_roundToInt(b1_I64, opc2)); in dis_vxv_misc()
14625 _do_vsx_fp_roundToInt(b0_I64, opc2)); in dis_vxv_misc()
14651 dis_vxs_arith ( UInt theInstr, UInt opc2 ) in dis_vxs_arith() argument
14674 switch (opc2) { in dis_vxs_arith()
14726 Bool mdp = opc2 == 0x024; in dis_vxs_arith()
14744 Bool mdp = opc2 == 0x0A4; in dis_vxs_arith()
14761 Bool mdp = opc2 == 0x064; in dis_vxs_arith()
14779 Bool mdp = opc2 == 0x0E4; in dis_vxs_arith()
14800 Bool mdp = opc2 == 0x2A4; in dis_vxs_arith()
14820 Bool mdp = opc2 == 0x224; in dis_vxs_arith()
14845 Bool mdp = opc2 == 0x264; in dis_vxs_arith()
14869 Bool mdp = opc2 == 0x2E4; in dis_vxs_arith()
14980 dis_vx_cmp( UInt theInstr, UInt opc2 ) in dis_vx_cmp() argument
14998 switch (opc2) { in dis_vx_cmp()
15002 DIP("xscmp%sdp crf%d,fr%u,fr%u\n", opc2 == 0x08c ? "u" : "o", in dis_vx_cmp()
15104 dis_vvec_cmp( UInt theInstr, UInt opc2 ) in dis_vvec_cmp() argument
15123 switch (opc2) { in dis_vvec_cmp()
15200 dis_vxs_misc( UInt theInstr, UInt opc2 ) in dis_vxs_misc() argument
15224 switch (opc2) { in dis_vxs_misc()
15324 Bool isMin = opc2 == 0x2A0 ? True : False; in dis_vxs_misc()
15343 frD_fp_round = _do_vsx_fp_roundToInt(frB_I64, opc2); in dis_vxs_misc()
15345 DIP("xsrdpi%s v%d,v%d\n", _get_vsx_rdpi_suffix(opc2), XT, XB); in dis_vxs_misc()
15361 Bool redp = opc2 == 0x034; in dis_vxs_misc()
15395 Bool redp = opc2 == 0x0B4; in dis_vxs_misc()
15446 dis_vx_logic ( UInt theInstr, UInt opc2 ) in dis_vx_logic() argument
15464 switch (opc2) { in dis_vx_logic()
15524 UInt opc2 = ifieldOPClo10( theInstr ); in dis_vx_load() local
15536 switch (opc2) { in dis_vx_load()
15661 UInt opc2 = ifieldOPClo10( theInstr ); in dis_vx_store() local
15674 switch (opc2) { in dis_vx_store()
15759 dis_vx_permute_misc( UInt theInstr, UInt opc2 ) in dis_vx_permute_misc() argument
15778 switch (opc2) { in dis_vx_permute_misc()
15820 const HChar type = (opc2 == 0x48) ? 'h' : 'l'; in dis_vx_permute_misc()
15821 IROp word_op = (opc2 == 0x48) ? Iop_V128HIto64 : Iop_V128to64; in dis_vx_permute_misc()
15886 UInt opc2 = ifieldOPClo10(theInstr); in dis_av_load() local
15901 switch (opc2) { in dis_av_load()
16049 UInt opc2 = ifieldOPClo10(theInstr); in dis_av_store() local
16067 switch (opc2) { in dis_av_store()
16147 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_arith() local
16173 switch (opc2) { in dis_av_arith()
16638 vex_printf("dis_av_arith(ppc)(opc2=0x%x)\n", opc2); in dis_av_arith()
16654 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_logic() local
16666 switch (opc2) { in dis_av_logic()
16716 vex_printf("dis_av_logic(ppc)(opc2=0x%x)\n", opc2); in dis_av_logic()
16733 UInt opc2 = IFIELD( theInstr, 0, 10 ); in dis_av_cmp() local
16746 switch (opc2) { in dis_av_cmp()
16843 UChar opc2 = toUChar( IFIELD( theInstr, 0, 6 ) ); in dis_av_multarith() local
16879 switch (opc2) { in dis_av_multarith()
17109 UInt opc2 = IFIELD(theInstr, 0, 11); in dis_av_polymultarith() local
17123 switch (opc2) { in dis_av_polymultarith()
17146 vex_printf("dis_av_polymultarith(ppc)(opc2=0x%x)\n", opc2); in dis_av_polymultarith()
17162 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_shift() local
17174 switch (opc2) { in dis_av_shift()
17324 UInt opc2 = toUChar( IFIELD( theInstr, 0, 6 ) ); in dis_av_permute() local
17340 switch (opc2) { in dis_av_permute()
17417 opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_permute()
17418 switch (opc2) { in dis_av_permute()
17541 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_pack() local
17554 switch (opc2) { in dis_av_pack()
17733 switch (opc2) { in dis_av_pack()
17861 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_cipher() local
17872 switch (opc2) { in dis_av_cipher()
17924 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_hash() local
17935 switch (opc2) { in dis_av_hash()
18046 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_quad() local
18060 switch (opc2) { in dis_av_quad()
18162 opc2 = IFIELD( theInstr, 0, 6 ); in dis_av_quad()
18166 switch (opc2) { in dis_av_quad()
18248 UInt opc2 = IFIELD( theInstr, 0, 9 ); in dis_av_bcd() local
18261 switch (opc2) { in dis_av_bcd()
18294 UInt opc2=0; in dis_av_fp_arith() local
18311 opc2 = IFIELD( theInstr, 0, 6 ); in dis_av_fp_arith()
18312 switch (opc2) { in dis_av_fp_arith()
18338 opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_fp_arith()
18339 switch (opc2) { in dis_av_fp_arith()
18372 switch (opc2) { in dis_av_fp_arith()
18394 vex_printf("dis_av_fp_arith(ppc)(opc2=0x%x)\n",opc2); in dis_av_fp_arith()
18411 UInt opc2 = IFIELD( theInstr, 0, 10 ); in dis_av_fp_cmp() local
18426 switch (opc2) { in dis_av_fp_cmp()
18504 UInt opc2 = IFIELD( theInstr, 0, 11 ); in dis_av_fp_convert() local
18526 switch (opc2) { in dis_av_fp_convert()
18567 switch (opc2) { in dis_av_fp_convert()
18601 UInt opc2 = IFIELD( theInstr, 1, 10 ); in dis_transactional_memory() local
18603 switch (opc2) { in dis_transactional_memory()
19011 UInt opc2; in disInstr_PPC_WRK() local
19177 opc2 = ifieldOPClo10(theInstr); in disInstr_PPC_WRK()
19184 opc2 = ifieldOPClo10(theInstr); in disInstr_PPC_WRK()
19290 opc2 = ifieldOPClo10(theInstr); in disInstr_PPC_WRK()
19292 switch (opc2) { in disInstr_PPC_WRK()
19349 opc2 = ifieldOPClo9( theInstr ); in disInstr_PPC_WRK()
19350 switch (opc2) { in disInstr_PPC_WRK()
19365 opc2 = ifieldOPClo8( theInstr ); in disInstr_PPC_WRK()
19366 switch (opc2) { in disInstr_PPC_WRK()
19390 opc2 = IFIELD(theInstr, 1, 5); in disInstr_PPC_WRK()
19391 switch (opc2) { in disInstr_PPC_WRK()
19428 UInt vsxOpc2 = get_VSX60_opc2(opc2); in disInstr_PPC_WRK()
19571 opc2 = IFIELD(theInstr, 1, 5); in disInstr_PPC_WRK()
19572 switch (opc2) { in disInstr_PPC_WRK()
19602 opc2 = IFIELD(theInstr, 1, 10); in disInstr_PPC_WRK()
19603 switch (opc2) { in disInstr_PPC_WRK()
19715 opc2 = ifieldOPClo9( theInstr ); in disInstr_PPC_WRK()
19716 switch (opc2) { in disInstr_PPC_WRK()
19733 opc2 = ifieldOPClo8( theInstr ); in disInstr_PPC_WRK()
19734 switch (opc2) { in disInstr_PPC_WRK()
19760 switch (opc2) { in disInstr_PPC_WRK()
19791 opc2 = IFIELD(theInstr, 1, 9); in disInstr_PPC_WRK()
19792 switch (opc2) { in disInstr_PPC_WRK()
19833 opc2 = IFIELD(theInstr, 1, 10); in disInstr_PPC_WRK()
19834 switch (opc2) { in disInstr_PPC_WRK()
20124 opc2 = IFIELD(theInstr, 0, 6); in disInstr_PPC_WRK()
20125 switch (opc2) { in disInstr_PPC_WRK()
20163 opc2 = IFIELD(theInstr, 0, 9); in disInstr_PPC_WRK()
20164 switch (opc2) { in disInstr_PPC_WRK()
20175 opc2 = IFIELD(theInstr, 0, 11); in disInstr_PPC_WRK()
20176 switch (opc2) { in disInstr_PPC_WRK()
20319 if (dis_av_count_bitTranspose( theInstr, opc2 )) goto decode_success; in disInstr_PPC_WRK()
20325 if (dis_av_count_bitTranspose( theInstr, opc2 )) goto decode_success; in disInstr_PPC_WRK()
20330 if (dis_av_count_bitTranspose( theInstr, opc2 )) goto decode_success; in disInstr_PPC_WRK()
20344 opc2 = IFIELD(theInstr, 0, 10); in disInstr_PPC_WRK()
20345 switch (opc2) { in disInstr_PPC_WRK()
20432 opc2 = (theInstr) & 0x7FF; in disInstr_PPC_WRK()
20437 opc1, opc1, opc2, opc2); in disInstr_PPC_WRK()