Home | History | Annotate | Download | only in priv

Lines Matching refs:theInstr

2990 static Bool dis_int_arith ( UInt theInstr )
2993 UChar opc1 = ifieldOPC(theInstr);
2994 UChar rD_addr = ifieldRegDS(theInstr);
2995 UChar rA_addr = ifieldRegA(theInstr);
2996 UInt uimm16 = ifieldUIMM16(theInstr);
2997 UChar rB_addr = ifieldRegB(theInstr);
2998 UChar flag_OE = ifieldBIT10(theInstr);
2999 UInt opc2 = ifieldOPClo9(theInstr);
3000 UChar flag_rC = ifieldBIT0(theInstr);
3627 static Bool dis_int_cmp ( UInt theInstr )
3630 UChar opc1 = ifieldOPC(theInstr);
3631 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
3632 UChar b22 = toUChar( IFIELD( theInstr, 22, 1 ) );
3633 UChar flag_L = toUChar( IFIELD( theInstr, 21, 1 ) );
3634 UChar rA_addr = ifieldRegA(theInstr);
3635 UInt uimm16 = ifieldUIMM16(theInstr);
3636 UChar rB_addr = ifieldRegB(theInstr);
3637 UInt opc2 = ifieldOPClo10(theInstr);
3638 UChar b0 = ifieldBIT0(theInstr);
3747 static Bool dis_int_logic ( UInt theInstr )
3750 UChar opc1 = ifieldOPC(theInstr);
3751 UChar rS_addr = ifieldRegDS(theInstr);
3752 UChar rA_addr = ifieldRegA(theInstr);
3753 UInt uimm16 = ifieldUIMM16(theInstr);
3754 UChar rB_addr = ifieldRegB(theInstr);
3755 UInt opc2 = ifieldOPClo10(theInstr);
3756 UChar flag_rC = ifieldBIT0(theInstr);
4125 static Bool dis_int_parity ( UInt theInstr )
4128 UChar opc1 = ifieldOPC(theInstr);
4129 UChar rS_addr = ifieldRegDS(theInstr);
4130 UChar rA_addr = ifieldRegA(theInstr);
4131 UChar rB_addr = ifieldRegB(theInstr);
4132 UInt opc2 = ifieldOPClo10(theInstr);
4133 UChar b0 = ifieldBIT0(theInstr);
4254 static Bool dis_int_rot ( UInt theInstr )
4257 UChar opc1 = ifieldOPC(theInstr);
4258 UChar rS_addr = ifieldRegDS(theInstr);
4259 UChar rA_addr = ifieldRegA(theInstr);
4260 UChar rB_addr = ifieldRegB(theInstr);
4262 UChar MaskBeg = toUChar( IFIELD( theInstr, 6, 5 ) );
4263 UChar MaskEnd = toUChar( IFIELD( theInstr, 1, 5 ) );
4264 UChar msk_imm = toUChar( IFIELD( theInstr, 5, 6 ) );
4265 UChar opc2 = toUChar( IFIELD( theInstr, 2, 3 ) );
4266 UChar b1 = ifieldBIT1(theInstr);
4267 UChar flag_rC = ifieldBIT0(theInstr);
4504 static Bool dis_int_load ( UInt theInstr )
4507 UChar opc1 = ifieldOPC(theInstr);
4508 UChar rD_addr = ifieldRegDS(theInstr);
4509 UChar rA_addr = ifieldRegA(theInstr);
4510 UInt uimm16 = ifieldUIMM16(theInstr);
4511 UChar rB_addr = ifieldRegB(theInstr);
4512 UInt opc2 = ifieldOPClo10(theInstr);
4513 UChar b1 = ifieldBIT1(theInstr);
4514 UChar b0 = ifieldBIT0(theInstr);
4761 static Bool dis_int_store ( UInt theInstr, VexAbiInfo* vbi )
4764 UChar opc1 = ifieldOPC(theInstr);
4765 UInt rS_addr = ifieldRegDS(theInstr);
4766 UInt rA_addr = ifieldRegA(theInstr);
4767 UInt uimm16 = ifieldUIMM16(theInstr);
4768 UInt rB_addr = ifieldRegB(theInstr);
4769 UInt opc2 = ifieldOPClo10(theInstr);
4770 UChar b1 = ifieldBIT1(theInstr);
4771 UChar b0 = ifieldBIT0(theInstr);
4949 static Bool dis_int_ldst_mult ( UInt theInstr )
4952 UChar opc1 = ifieldOPC(theInstr);
4953 UChar rD_addr = ifieldRegDS(theInstr);
4955 UChar rA_addr = ifieldRegA(theInstr);
4956 UInt uimm16 = ifieldUIMM16(theInstr);
5091 static Bool dis_int_ldst_str ( UInt theInstr, /*OUT*/Bool* stopHere )
5094 UChar opc1 = ifieldOPC(theInstr);
5095 UChar rD_addr = ifieldRegDS(theInstr);
5097 UChar rA_addr = ifieldRegA(theInstr);
5098 UChar rB_addr = ifieldRegB(theInstr);
5100 UInt opc2 = ifieldOPClo10(theInstr);
5101 UChar b0 = ifieldBIT0(theInstr);
5259 static Bool dis_branch ( UInt theInstr,
5265 UChar opc1 = ifieldOPC(theInstr);
5266 UChar BO = ifieldRegDS(theInstr);
5267 UChar BI = ifieldRegA(theInstr);
5268 UInt BD_u16 = ifieldUIMM16(theInstr) & 0xFFFFFFFC; /* mask off */
5269 UChar b11to15 = ifieldRegB(theInstr);
5270 UInt opc2 = ifieldOPClo10(theInstr);
5271 UInt LI_u26 = ifieldUIMM26(theInstr) & 0xFFFFFFFC; /* mask off */
5272 UChar flag_AA = ifieldBIT1(theInstr);
5273 UChar flag_LK = ifieldBIT0(theInstr);
5286 if (theInstr == 0x429F0005) {
5472 static Bool dis_cond_logic ( UInt theInstr )
5475 UChar opc1 = ifieldOPC(theInstr);
5476 UChar crbD_addr = ifieldRegDS(theInstr);
5477 UChar crfD_addr = toUChar( IFIELD(theInstr, 23, 3) );
5478 UChar crbA_addr = ifieldRegA(theInstr);
5479 UChar crfS_addr = toUChar( IFIELD(theInstr, 18, 3) );
5480 UChar crbB_addr = ifieldRegB(theInstr);
5481 UInt opc2 = ifieldOPClo10(theInstr);
5482 UChar b0 = ifieldBIT0(theInstr);
5656 static Bool dis_trapi ( UInt theInstr,
5660 UChar opc1 = ifieldOPC(theInstr);
5661 UChar TO = ifieldRegDS(theInstr);
5662 UChar rA_addr = ifieldRegA(theInstr);
5663 UInt uimm16 = ifieldUIMM16(theInstr);
5707 static Bool dis_trap ( UInt theInstr,
5711 UInt opc2 = ifieldOPClo10(theInstr);
5712 UChar TO = ifieldRegDS(theInstr);
5713 UChar rA_addr = ifieldRegA(theInstr);
5714 UChar rB_addr = ifieldRegB(theInstr);
5719 if (ifieldBIT0(theInstr) != 0)
5765 static Bool dis_syslink ( UInt theInstr,
5770 if (theInstr != 0x44000002) {
5771 vex_printf("dis_syslink(ppc)(theInstr)\n");
5805 static Bool dis_memsync ( UInt theInstr )
5808 UChar opc1 = ifieldOPC(theInstr);
5809 UInt b11to25 = IFIELD(theInstr, 11, 15);
5810 UChar flag_L = ifieldRegDS(theInstr);
5811 UInt b11to20 = IFIELD(theInstr, 11, 10);
5812 UChar rD_addr = ifieldRegDS(theInstr);
5814 UChar rA_addr = ifieldRegA(theInstr);
5815 UChar rB_addr = ifieldRegB(theInstr);
5816 UInt opc2 = ifieldOPClo10(theInstr);
5817 UChar b0 = ifieldBIT0(theInstr);
6016 static Bool dis_int_shift ( UInt theInstr )
6019 UChar opc1 = ifieldOPC(theInstr);
6020 UChar rS_addr = ifieldRegDS(theInstr);
6021 UChar rA_addr = ifieldRegA(theInstr);
6022 UChar rB_addr = ifieldRegB(theInstr);
6024 UInt opc2 = ifieldOPClo10(theInstr);
6025 UChar b1 = ifieldBIT1(theInstr);
6026 UChar flag_rC = ifieldBIT0(theInstr);
6286 static Bool dis_int_ldst_rev ( UInt theInstr )
6289 UChar opc1 = ifieldOPC(theInstr);
6290 UChar rD_addr = ifieldRegDS(theInstr);
6292 UChar rA_addr = ifieldRegA(theInstr);
6293 UChar rB_addr = ifieldRegB(theInstr);
6294 UInt opc2 = ifieldOPClo10(theInstr);
6295 UChar b0 = ifieldBIT0(theInstr);
6381 static Bool dis_proc_ctl ( VexAbiInfo* vbi, UInt theInstr )
6383 UChar opc1 = ifieldOPC(theInstr);
6386 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
6387 UChar b21to22 = toUChar( IFIELD( theInstr, 21, 2 ) );
6388 UChar rD_addr = ifieldRegDS(theInstr);
6389 UInt b11to20 = IFIELD( theInstr, 11, 10 );
6395 UChar b20 = toUChar( IFIELD( theInstr, 20, 1 ) );
6396 UInt CRM = IFIELD( theInstr, 12, 8 );
6397 UChar b11 = toUChar( IFIELD( theInstr, 11, 1 ) );
6399 UInt opc2 = ifieldOPClo10(theInstr);
6400 UChar b0 = ifieldBIT0(theInstr);
6635 static Bool dis_cache_manage ( UInt theInstr,
6640 UChar opc1 = ifieldOPC(theInstr);
6641 UChar b21to25 = ifieldRegDS(theInstr);
6642 UChar rA_addr = ifieldRegA(theInstr);
6643 UChar rB_addr = ifieldRegB(theInstr);
6644 UInt opc2 = ifieldOPClo10(theInstr);
6645 UChar b0 = ifieldBIT0(theInstr);
6933 static Bool dis_fp_load ( UInt theInstr )
6936 UChar opc1 = ifieldOPC(theInstr);
6937 UChar frD_addr = ifieldRegDS(theInstr);
6938 UChar rA_addr = ifieldRegA(theInstr);
6939 UChar rB_addr = ifieldRegB(theInstr);
6940 UInt opc2 = ifieldOPClo10(theInstr);
6941 UChar b0 = ifieldBIT0(theInstr);
6942 UInt uimm16 = ifieldUIMM16(theInstr);
7071 static Bool dis_fp_store ( UInt theInstr )
7074 UChar opc1 = ifieldOPC(theInstr);
7075 UChar frS_addr = ifieldRegDS(theInstr);
7076 UChar rA_addr = ifieldRegA(theInstr);
7077 UChar rB_addr = ifieldRegB(theInstr);
7078 UInt opc2 = ifieldOPClo10(theInstr);
7079 UChar b0 = ifieldBIT0(theInstr);
7080 Int uimm16 = ifieldUIMM16(theInstr);
7202 static Bool dis_fp_arith ( UInt theInstr )
7205 UChar opc1 = ifieldOPC(theInstr);
7206 UChar frD_addr = ifieldRegDS(theInstr);
7207 UChar frA_addr = ifieldRegA(theInstr);
7208 UChar frB_addr = ifieldRegB(theInstr);
7209 UChar frC_addr = ifieldRegC(theInstr);
7210 UChar opc2 = ifieldOPClo5(theInstr);
7211 UChar flag_rC = ifieldBIT0(theInstr);
7441 static Bool dis_fp_multadd ( UInt theInstr )
7444 UChar opc1 = ifieldOPC(theInstr);
7445 UChar frD_addr = ifieldRegDS(theInstr);
7446 UChar frA_addr = ifieldRegA(theInstr);
7447 UChar frB_addr = ifieldRegB(theInstr);
7448 UChar frC_addr = ifieldRegC(theInstr);
7449 UChar opc2 = ifieldOPClo5(theInstr);
7450 UChar flag_rC = ifieldBIT0(theInstr);
7921 static Bool dis_fp_tests ( UInt theInstr )
7923 UChar opc1 = ifieldOPC(theInstr);
7924 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
7925 UChar frB_addr = ifieldRegB(theInstr);
7926 UChar b0 = ifieldBIT0(theInstr);
7927 UInt opc2 = ifieldOPClo10(theInstr);
7939 UChar frA_addr = ifieldRegA(theInstr);
7941 UChar b21to22 = toUChar( IFIELD( theInstr, 21, 2 ) );
7958 UChar b18to22 = toUChar( IFIELD( theInstr, 18, 5 ) );
7988 static Bool dis_fp_cmp ( UInt theInstr )
7991 UChar opc1 = ifieldOPC(theInstr);
7992 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
7993 UChar b21to22 = toUChar( IFIELD( theInstr, 21, 2 ) );
7994 UChar frA_addr = ifieldRegA(theInstr);
7995 UChar frB_addr = ifieldRegB(theInstr);
7996 UInt opc2 = ifieldOPClo10(theInstr);
7997 UChar b0 = ifieldBIT0(theInstr);
8087 static Bool dis_fp_round ( UInt theInstr )
8090 UChar opc1 = ifieldOPC(theInstr);
8091 UChar b16to20 = ifieldRegA(theInstr);
8092 UChar frD_addr = ifieldRegDS(theInstr);
8093 UChar frB_addr = ifieldRegB(theInstr);
8094 UInt opc2 = ifieldOPClo10(theInstr);
8095 UChar flag_rC = ifieldBIT0(theInstr);
8292 static Bool dis_fp_pair ( UInt theInstr )
8295 UChar opc1 = ifieldOPC(theInstr);
8296 UChar frT_hi_addr = ifieldRegDS(theInstr);
8298 UChar rA_addr = ifieldRegA(theInstr);
8299 UChar rB_addr = ifieldRegB(theInstr);
8300 UInt uimm16 = ifieldUIMM16(theInstr);
8302 UInt opc2 = ifieldOPClo10(theInstr);
8308 UChar b0 = ifieldBIT0(theInstr);
8374 static Bool dis_fp_move ( UInt theInstr )
8377 UChar opc1 = ifieldOPC(theInstr);
8378 UChar frD_addr = ifieldRegDS(theInstr);
8379 UChar frA_addr = ifieldRegA(theInstr);
8380 UChar frB_addr = ifieldRegB(theInstr);
8381 UInt opc2 = ifieldOPClo10(theInstr);
8382 UChar flag_rC = ifieldBIT0(theInstr);
8475 static Bool dis_fp_scr ( UInt theInstr, Bool GX_level )
8478 UChar opc1 = ifieldOPC(theInstr);
8479 UInt opc2 = ifieldOPClo10(theInstr);
8480 UChar flag_rC = ifieldBIT0(theInstr);
8490 UChar crbD = ifieldRegDS(theInstr);
8491 UInt b11to20 = IFIELD(theInstr, 11, 10);
8504 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
8505 UChar b21to22 = toUChar( IFIELD( theInstr, 21, 2 ) );
8506 UChar crfS = toUChar( IFIELD( theInstr, 18, 3 ) );
8507 UChar b11to17 = toUChar( IFIELD( theInstr, 11, 7 ) );
8527 UChar crbD = ifieldRegDS(theInstr);
8528 UInt b11to20 = IFIELD(theInstr, 11, 10);
8540 UInt crfD = IFIELD( theInstr, 23, 3 );
8541 UChar b16to22 = toUChar( IFIELD( theInstr, 16, 7 ) );
8542 UChar IMM = toUChar( IFIELD( theInstr, 12, 4 ) );
8543 UChar b11 = toUChar( IFIELD( theInstr, 11, 1 ) );
8555 Wbit = toUChar( IFIELD(theInstr, 16, 1) );
8565 UChar frD_addr = ifieldRegDS(theInstr);
8566 UInt b11to20 = IFIELD(theInstr, 11, 10);
8583 UChar b25 = toUChar( IFIELD(theInstr, 25, 1) );
8584 UChar FM = toUChar( IFIELD(theInstr, 17, 8) );
8585 UChar frB_addr = ifieldRegB(theInstr);
8598 Wbit = toUChar( IFIELD(theInstr, 16, 1) );
9294 static Bool dis_dfp_arith(UInt theInstr)
9296 UInt opc2 = ifieldOPClo10( theInstr );
9297 UChar frS_addr = ifieldRegDS( theInstr );
9298 UChar frA_addr = ifieldRegA( theInstr );
9299 UChar frB_addr = ifieldRegB( theInstr );
9300 UChar flag_rC = ifieldBIT0( theInstr );
9352 static Bool dis_dfp_arithq(UInt theInstr)
9354 UInt opc2 = ifieldOPClo10( theInstr );
9355 UChar frS_addr = ifieldRegDS( theInstr );
9356 UChar frA_addr = ifieldRegA( theInstr );
9357 UChar frB_addr = ifieldRegB( theInstr );
9358 UChar flag_rC = ifieldBIT0( theInstr );
9410 static Bool dis_dfp_shift(UInt theInstr) {
9411 UInt opc2 = ifieldOPClo9( theInstr );
9412 UChar frS_addr = ifieldRegDS( theInstr );
9413 UChar frA_addr = ifieldRegA( theInstr );
9414 UChar shift_val = IFIELD(theInstr, 10, 6);
9415 UChar flag_rC = ifieldBIT0( theInstr );
9447 static Bool dis_dfp_shiftq(UInt theInstr) {
9448 UInt opc2 = ifieldOPClo9( theInstr );
9449 UChar frS_addr = ifieldRegDS( theInstr );
9450 UChar frA_addr = ifieldRegA( theInstr );
9451 UChar shift_val = IFIELD(theInstr, 10, 6);
9452 UChar flag_rC = ifieldBIT0( theInstr );
9484 static Bool dis_dfp_fmt_conv(UInt theInstr) {
9485 UInt opc2 = ifieldOPClo10( theInstr );
9486 UChar frS_addr = ifieldRegDS( theInstr );
9487 UChar frB_addr = ifieldRegB( theInstr );
9489 UChar flag_rC = ifieldBIT0( theInstr );
9543 static Bool dis_dfp_fmt_convq(UInt theInstr) {
9544 UInt opc2 = ifieldOPClo10( theInstr );
9545 UChar frS_addr = ifieldRegDS( theInstr );
9546 UChar frB_addr = ifieldRegB( theInstr );
9552 UChar flag_rC = ifieldBIT0( theInstr );
9598 static Bool dis_dfp_round( UInt theInstr ) {
9599 UChar frS_addr = ifieldRegDS(theInstr);
9600 UChar R = IFIELD(theInstr, 16, 1);
9601 UChar RMC = IFIELD(theInstr, 9, 2);
9602 UChar frB_addr = ifieldRegB( theInstr );
9603 UChar flag_rC = ifieldBIT0( theInstr );
9606 UInt opc2 = ifieldOPClo8( theInstr );
9639 static Bool dis_dfp_roundq(UInt theInstr) {
9640 UChar frS_addr = ifieldRegDS( theInstr );
9641 UChar frB_addr = ifieldRegB( theInstr );
9642 UChar R = IFIELD(theInstr, 16, 1);
9643 UChar RMC = IFIELD(theInstr, 9, 2);
9644 UChar flag_rC = ifieldBIT0( theInstr );
9648 UInt opc2 = ifieldOPClo8( theInstr );
9680 static Bool dis_dfp_quantize_sig_rrnd(UInt theInstr) {
9681 UInt opc2 = ifieldOPClo8( theInstr );
9682 UChar frS_addr = ifieldRegDS( theInstr );
9683 UChar frA_addr = ifieldRegA( theInstr );
9684 UChar frB_addr = ifieldRegB( theInstr );
9685 UChar flag_rC = ifieldBIT0( theInstr );
9686 UInt TE_value = IFIELD(theInstr, 16, 4);
9687 UInt TE_sign = IFIELD(theInstr, 20, 1);
9688 UInt RMC = IFIELD(theInstr, 9, 2);
9764 static Bool dis_dfp_quantize_sig_rrndq(UInt theInstr) {
9765 UInt opc2 = ifieldOPClo8( theInstr );
9766 UChar frS_addr = ifieldRegDS( theInstr );
9767 UChar frA_addr = ifieldRegA( theInstr );
9768 UChar frB_addr = ifieldRegB( theInstr );
9769 UChar flag_rC = ifieldBIT0( theInstr );
9770 UInt TE_value = IFIELD(theInstr, 16, 4);
9771 UInt TE_sign = IFIELD(theInstr, 20, 1);
9772 UInt RMC = IFIELD(theInstr, 9, 2);
9849 static Bool dis_dfp_extract_insert(UInt theInstr) {
9850 UInt opc2 = ifieldOPClo10( theInstr );
9851 UChar frS_addr = ifieldRegDS( theInstr );
9852 UChar frA_addr = ifieldRegA( theInstr );
9853 UChar frB_addr = ifieldRegB( theInstr );
9854 UChar flag_rC = ifieldBIT0( theInstr );
9890 static Bool dis_dfp_extract_insertq(UInt theInstr) {
9891 UInt opc2 = ifieldOPClo10( theInstr );
9892 UChar frS_addr = ifieldRegDS( theInstr );
9893 UChar frA_addr = ifieldRegA( theInstr );
9894 UChar frB_addr = ifieldRegB( theInstr );
9895 UChar flag_rC = ifieldBIT0( theInstr );
9937 static Bool dis_dfp_compare(UInt theInstr) {
9939 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) ); // AKA BF
9940 UChar frA_addr = ifieldRegA( theInstr );
9941 UChar frB_addr = ifieldRegB( theInstr );
9942 UInt opc1 = ifieldOPC( theInstr );
10011 static Bool dis_dfp_exponent_test ( UInt theInstr )
10013 UChar frA_addr = ifieldRegA( theInstr );
10014 UChar frB_addr = ifieldRegB( theInstr );
10015 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
10020 UInt opc1 = ifieldOPC( theInstr );
10207 static Bool dis_dfp_class_test ( UInt theInstr )
10209 UChar frA_addr = ifieldRegA( theInstr );
10214 UInt opc1 = ifieldOPC( theInstr );
10215 UInt opc2 = ifieldOPClo9( theInstr );
10216 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) ); // AKA BF
10217 UInt DCM = IFIELD( theInstr, 10, 6 );
10654 static Bool dis_dfp_bcd(UInt theInstr) {
10655 UInt opc2 = ifieldOPClo10( theInstr );
10656 ULong sp = IFIELD(theInstr, 19, 2);
10657 ULong s = IFIELD(theInstr, 20, 1);
10658 UChar frT_addr = ifieldRegDS( theInstr );
10659 UChar frB_addr = ifieldRegB( theInstr );
10916 static Bool dis_dfp_bcdq( UInt theInstr )
10918 UInt opc2 = ifieldOPClo10( theInstr );
10919 ULong sp = IFIELD(theInstr, 19, 2);
10920 ULong s = IFIELD(theInstr, 20, 1);
10925 UChar frT_addr = ifieldRegDS( theInstr );
10926 UChar frB_addr = ifieldRegB( theInstr );
11325 static Bool dis_dfp_significant_digits( UInt theInstr )
11327 UChar frA_addr = ifieldRegA( theInstr );
11328 UChar frB_addr = ifieldRegB( theInstr );
11330 UInt opc1 = ifieldOPC( theInstr );
11335 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) ); // AKA BF
11523 static Bool dis_av_datastream ( UInt theInstr )
11526 UChar opc1 = ifieldOPC(theInstr);
11527 UChar flag_T = toUChar( IFIELD( theInstr, 25, 1 ) );
11529 UChar b23to24 = toUChar( IFIELD( theInstr, 23, 2 ) );
11530 UChar STRM = toUChar( IFIELD( theInstr, 21, 2 ) );
11531 UChar rA_addr = ifieldRegA(theInstr);
11532 UChar rB_addr = ifieldRegB(theInstr);
11533 UInt opc2 = ifieldOPClo10(theInstr);
11534 UChar b0 = ifieldBIT0(theInstr);
11574 static Bool dis_av_procctl ( UInt theInstr )
11577 UChar opc1 = ifieldOPC(theInstr);
11578 UChar vD_addr = ifieldRegDS(theInstr);
11579 UChar vA_addr = ifieldRegA(theInstr);
11580 UChar vB_addr = ifieldRegB(theInstr);
11581 UInt opc2 = IFIELD( theInstr, 0, 11 );
11620 dis_vx_conv ( UInt theInstr, UInt opc2 )
11623 UChar opc1 = ifieldOPC( theInstr );
11624 UChar XT = ifieldRegXT( theInstr );
11625 UChar XB = ifieldRegXB( theInstr );
12060 dis_vxv_dp_arith ( UInt theInstr, UInt opc2 )
12063 UChar opc1 = ifieldOPC( theInstr );
12064 UChar XT = ifieldRegXT( theInstr );
12065 UChar XA = ifieldRegXA( theInstr );
12066 UChar XB = ifieldRegXB( theInstr );
12226 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
12261 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
12303 dis_vxv_sp_arith ( UInt theInstr, UInt opc2 )
12306 UChar opc1 = ifieldOPC( theInstr );
12307 UChar XT = ifieldRegXT( theInstr );
12308 UChar XA = ifieldRegXA( theInstr );
12309 UChar XB = ifieldRegXB( theInstr );
12508 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
12562 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
12901 dis_vxv_misc ( UInt theInstr, UInt opc2 )
12904 UChar opc1 = ifieldOPC( theInstr );
12905 UChar XT = ifieldRegXT( theInstr );
12906 UChar XB = ifieldRegXB( theInstr );
13023 UChar XA = ifieldRegXA( theInstr );
13083 UChar XA = ifieldRegXA( theInstr );
13101 UChar XA = ifieldRegXA( theInstr );
13132 UChar XA = ifieldRegXA( theInstr );
13369 dis_vxs_arith ( UInt theInstr, UInt opc2 )
13372 UChar opc1 = ifieldOPC( theInstr );
13373 UChar XT = ifieldRegXT( theInstr );
13374 UChar XA = ifieldRegXA( theInstr );
13375 UChar XB = ifieldRegXB( theInstr );
13512 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
13524 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
13556 dis_vx_cmp( UInt theInstr, UInt opc2 )
13559 UChar opc1 = ifieldOPC( theInstr );
13560 UChar crfD = toUChar( IFIELD( theInstr, 23, 3 ) );
13562 UChar XA = ifieldRegXA ( theInstr );
13563 UChar XB = ifieldRegXB ( theInstr );
13680 dis_vvec_cmp( UInt theInstr, UInt opc2 )
13683 UChar opc1 = ifieldOPC( theInstr );
13684 UChar XT = ifieldRegXT ( theInstr );
13685 UChar XA = ifieldRegXA ( theInstr );
13686 UChar XB = ifieldRegXB ( theInstr );
13687 UChar flag_rC = ifieldBIT10(theInstr);
13776 dis_vxs_misc( UInt theInstr, UInt opc2 )
13779 UChar opc1 = ifieldOPC( theInstr );
13780 UChar XT = ifieldRegXT ( theInstr );
13781 UChar XA = ifieldRegXA ( theInstr );
13782 UChar XB = ifieldRegXB ( theInstr );
13934 dis_vx_logic ( UInt theInstr, UInt opc2 )
13937 UChar opc1 = ifieldOPC( theInstr );
13938 UChar XT = ifieldRegXT ( theInstr );
13939 UChar XA = ifieldRegXA ( theInstr );
13940 UChar XB = ifieldRegXB ( theInstr );
13987 dis_vx_load ( UInt theInstr )
13990 UChar opc1 = ifieldOPC( theInstr );
13991 UChar XT = ifieldRegXT ( theInstr );
13992 UChar rA_addr = ifieldRegA( theInstr );
13993 UChar rB_addr = ifieldRegB( theInstr );
13994 UInt opc2 = ifieldOPClo10( theInstr );
14076 dis_vx_store ( UInt theInstr )
14079 UChar opc1 = ifieldOPC( theInstr );
14080 UChar XS = ifieldRegXS( theInstr );
14081 UChar rA_addr = ifieldRegA( theInstr );
14082 UChar rB_addr = ifieldRegB( theInstr );
14084 UInt opc2 = ifieldOPClo10( theInstr );
14158 dis_vx_permute_misc( UInt theInstr, UInt opc2 )
14161 UChar opc1 = ifieldOPC( theInstr );
14162 UChar XT = ifieldRegXT ( theInstr );
14163 UChar XA = ifieldRegXA ( theInstr );
14164 UChar XB = ifieldRegXB ( theInstr );
14180 UChar SHW = ifieldSHW ( theInstr );
14196 UChar DM = ifieldDM ( theInstr );
14246 UChar XC = ifieldRegXC(theInstr);
14258 UChar UIM = ifieldRegA(theInstr) & 3;
14278 static Bool dis_av_load ( VexAbiInfo* vbi, UInt theInstr )
14281 UChar opc1 = ifieldOPC(theInstr);
14282 UChar vD_addr = ifieldRegDS(theInstr);
14283 UChar rA_addr = ifieldRegA(theInstr);
14284 UChar rB_addr = ifieldRegB(theInstr);
14285 UInt opc2 = ifieldOPClo10(theInstr);
14286 UChar b0 = ifieldBIT0(theInstr);
14410 static Bool dis_av_store ( UInt theInstr )
14413 UChar opc1 = ifieldOPC(theInstr);
14414 UChar vS_addr = ifieldRegDS(theInstr);
14415 UChar rA_addr = ifieldRegA(theInstr);
14416 UChar rB_addr = ifieldRegB(theInstr);
14417 UInt opc2 = ifieldOPClo10(theInstr);
14418 UChar b0 = ifieldBIT0(theInstr);
14496 static Bool dis_av_arith ( UInt theInstr )
14499 UChar opc1 = ifieldOPC(theInstr);
14500 UChar vD_addr = ifieldRegDS(theInstr);
14501 UChar vA_addr = ifieldRegA(theInstr);
14502 UChar vB_addr = ifieldRegB(theInstr);
14503 UInt opc2 = IFIELD( theInstr, 0, 11 );
14950 static Bool dis_av_logic ( UInt theInstr )
14953 UChar opc1 = ifieldOPC(theInstr);
14954 UChar vD_addr = ifieldRegDS(theInstr);
14955 UChar vA_addr = ifieldRegA(theInstr);
14956 UChar vB_addr = ifieldRegB(theInstr);
14957 UInt opc2 = IFIELD( theInstr, 0, 11 );
15007 static Bool dis_av_cmp ( UInt theInstr )
15010 UChar opc1 = ifieldOPC(theInstr);
15011 UChar vD_addr = ifieldRegDS(theInstr);
15012 UChar vA_addr = ifieldRegA(theInstr);
15013 UChar vB_addr = ifieldRegB(theInstr);
15014 UChar flag_rC = ifieldBIT10(theInstr);
15015 UInt opc2 = IFIELD( theInstr, 0, 10 );
15099 static Bool dis_av_multarith ( UInt theInstr )
15102 UChar opc1 = ifieldOPC(theInstr);
15103 UChar vD_addr = ifieldRegDS(theInstr);
15104 UChar vA_addr = ifieldRegA(theInstr);
15105 UChar vB_addr = ifieldRegB(theInstr);
15106 UChar vC_addr = ifieldRegC(theInstr);
15107 UChar opc2 = toUChar( IFIELD( theInstr, 0, 6 ) );
15365 static Bool dis_av_shift ( UInt theInstr )
15368 UChar opc1 = ifieldOPC(theInstr);
15369 UChar vD_addr = ifieldRegDS(theInstr);
15370 UChar vA_addr = ifieldRegA(theInstr);
15371 UChar vB_addr = ifieldRegB(theInstr);
15372 UInt opc2 = IFIELD( theInstr, 0, 11 );
15502 static Bool dis_av_permute ( UInt theInstr )
15505 UChar opc1 = ifieldOPC(theInstr);
15506 UChar vD_addr = ifieldRegDS(theInstr);
15507 UChar vA_addr = ifieldRegA(theInstr);
15509 UChar vB_addr = ifieldRegB(theInstr);
15510 UChar vC_addr = ifieldRegC(theInstr);
15511 UChar b10 = ifieldBIT10(theInstr);
15512 UChar SHB_uimm4 = toUChar( IFIELD( theInstr, 6, 4 ) );
15513 UInt opc2 = toUChar( IFIELD( theInstr, 0, 6 ) );
15588 opc2 = IFIELD( theInstr, 0, 11 );
15683 static Bool dis_av_pack ( UInt theInstr )
15686 UChar opc1 = ifieldOPC(theInstr);
15687 UChar vD_addr = ifieldRegDS(theInstr);
15688 UChar vA_addr = ifieldRegA(theInstr);
15689 UChar vB_addr = ifieldRegB(theInstr);
15690 UInt opc2 = IFIELD( theInstr, 0, 11 );
15949 static Bool dis_av_fp_arith ( UInt theInstr )
15952 UChar opc1 = ifieldOPC(theInstr);
15953 UChar vD_addr = ifieldRegDS(theInstr);
15954 UChar vA_addr = ifieldRegA(theInstr);
15955 UChar vB_addr = ifieldRegB(theInstr);
15956 UChar vC_addr = ifieldRegC(theInstr);
15971 opc2 = IFIELD( theInstr, 0, 6 );
15995 opc2 = IFIELD( theInstr, 0, 11 );
16058 static Bool dis_av_fp_cmp ( UInt theInstr )
16061 UChar opc1 = ifieldOPC(theInstr);
16062 UChar vD_addr = ifieldRegDS(theInstr);
16063 UChar vA_addr = ifieldRegA(theInstr);
16064 UChar vB_addr = ifieldRegB(theInstr);
16065 UChar flag_rC = ifieldBIT10(theInstr);
16066 UInt opc2 = IFIELD( theInstr
16151 static Bool dis_av_fp_convert ( UInt theInstr )
16154 UChar opc1 = ifieldOPC(theInstr);
16155 UChar vD_addr = ifieldRegDS(theInstr);
16156 UChar UIMM_5 = ifieldRegA(theInstr);
16157 UChar vB_addr = ifieldRegB(theInstr);
16158 UInt opc2 = IFIELD( theInstr, 0, 11 );
16484 UInt theInstr;
16524 theInstr = getUIntBigendianly( (UChar*)(&guest_code[delta]) );
16526 if (0) vex_printf("insn: 0x%x\n", theInstr);
16594 theInstr = getUIntBigendianly(code+16);
16595 opc1 = ifieldOPC(theInstr);
16596 opc2 = ifieldOPClo10(theInstr);
16602 opc1 = ifieldOPC(theInstr);
16603 opc2 = ifieldOPClo10(theInstr);
16611 if (dis_int_arith( theInstr )) goto decode_success;
16616 if (dis_int_cmp( theInstr )) goto decode_success;
16622 if (dis_int_logic( theInstr )) goto decode_success;
16627 if (dis_int_rot( theInstr )) goto decode_success;
16632 if (dis_int_rot( theInstr )) goto decode_success;
16639 if (dis_int_load( theInstr )) goto decode_success;
16645 if (dis_int_store( theInstr, abiinfo )) goto decode_success;
16650 if (dis_int_ldst_mult( theInstr )) goto decode_success;
16655 if (dis_branch(theInstr, abiinfo, &dres,
16662 if (dis_syslink(theInstr, abiinfo, &dres)) goto decode_success;
16667 if (dis_trapi(theInstr, &dres)) goto decode_success;
16674 if (dis_fp_load( theInstr )) goto decode_success;
16681 if (dis_fp_store( theInstr )) goto decode_success;
16687 if (dis_fp_pair( theInstr )) goto decode_success;
16693 if (dis_int_load( theInstr )) goto decode_success;
16698 opc2 = ifieldOPClo10(theInstr);
16706 if (dis_dfp_arith( theInstr ))
16712 if (dis_dfp_compare( theInstr ) )
16720 if (dis_dfp_fmt_conv( theInstr ))
16726 if (dis_dfp_fmt_conv( theInstr ))
16732 if (dis_dfp_significant_digits(theInstr))
16739 if (dis_dfp_bcd(theInstr))
16746 if (dis_dfp_extract_insert( theInstr ) )
16752 if (dis_fp_round( theInstr ))
16756 if (dis_fp_round( theInstr ))
16761 opc2 = ifieldOPClo9( theInstr );
16767 if (dis_dfp_shift( theInstr ))
16774 if (dis_dfp_class_test( theInstr ))
16779 opc2 = ifieldOPClo8( theInstr );
16786 if (dis_dfp_quantize_sig_rrnd( theInstr ) )
16792 if (dis_dfp_exponent_test( theInstr ) )
16799 if (dis_dfp_round( theInstr ) ) {
16807 opc2 = IFIELD(theInstr, 1, 5);
16812 if (dis_fp_arith(theInstr)) goto decode_success;
16816 if (dis_fp_arith(theInstr)) goto decode_success;
16820 if (dis_fp_arith(theInstr)) goto decode_success;
16826 if (dis_fp_multadd(theInstr)) goto decode_success;
16831 if (dis_fp_arith(theInstr)) goto decode_success;
16858 if (dis_vx_permute_misc(theInstr, vsxOpc2)) goto decode_success;
16861 if (dis_vx_logic(theInstr, vsxOpc2)) goto decode_success;
16870 if (dis_vxs_misc(theInstr, vsxOpc2)) goto decode_success;
16873 if (dis_vx_cmp(theInstr, vsxOpc2)) goto decode_success;
16883 if (dis_vxs_arith(theInstr, vsxOpc2)) goto decode_success;
16895 if (dis_vxv_dp_arith(theInstr, vsxOpc2)) goto decode_success;
16907 if (dis_vxv_sp_arith(theInstr, vsxOpc2)) goto decode_success;
16918 if (dis_vx_conv(theInstr, vsxOpc2)) goto decode_success;
16932 if (dis_vx_conv(theInstr, vsxOpc2)) goto decode_success;
16941 if (dis_vvec_cmp(theInstr, vsxOpc2)) goto decode_success;
16958 if (dis_vxv_misc(theInstr, vsxOpc2)) goto decode_success;
16970 if (dis_int_store( theInstr, abiinfo )) goto decode_success;
16978 opc2 = IFIELD(theInstr, 1, 5);
16983 theInstr)) goto decode_success;
16987 if (dis_fp_arith(theInstr)) goto decode_success;
16991 if (dis_fp_arith(theInstr)) goto decode_success;
16997 if (dis_fp_multadd(theInstr)) goto decode_success;
17002 if (dis_fp_arith(theInstr)) goto decode_success;
17009 opc2 = IFIELD(theInstr, 1, 10);
17017 if (dis_dfp_arithq( theInstr ))
17024 if (dis_dfp_extract_insertq( theInstr ))
17032 if (dis_dfp_compare( theInstr ) )
17042 if (dis_dfp_fmt_convq( theInstr ))
17049 if (dis_dfp_significant_digits(theInstr))
17057 if (dis_dfp_bcdq(theInstr))
17064 if (dis_fp_cmp(theInstr)) goto decode_success;
17069 if (dis_fp_tests(theInstr)) goto decode_success;
17079 if (dis_fp_round(theInstr)) goto decode_success;
17084 if (dis_fp_round(theInstr)) goto decode_success;
17094 (dis_fp_round(theInstr)))
17104 if (dis_fp_move( theInstr )) goto decode_success;
17116 if (dis_fp_scr( theInstr, allow_GX )) goto decode_success;
17123 opc2 = ifieldOPClo9( theInstr );
17129 if (dis_dfp_shiftq( theInstr ))
17136 if (dis_dfp_class_test( theInstr ))
17143 opc2 = ifieldOPClo8( theInstr );
17150 if (dis_dfp_quantize_sig_rrndq( theInstr ))
17154 if (dis_dfp_exponent_test( theInstr ) )
17161 if (dis_dfp_roundq( theInstr ))
17177 if (dis_cond_logic( theInstr )) goto decode_success;
17182 if (dis_branch(theInstr, abiinfo, &dres,
17189 if (dis_memsync( theInstr )) goto decode_success;
17202 opc2 = IFIELD(theInstr, 1, 9);
17211 if (dis_int_arith( theInstr )) goto decode_success;
17217 if (dis_int_arith( theInstr )) goto decode_success;
17224 if (dis_int_arith( theInstr )) goto decode_success;
17231 if (dis_int_arith( theInstr )) goto decode_success;
17235 if (dis_int_logic( theInstr )) goto decode_success;
17244 opc2 = IFIELD(theInstr, 1, 10);
17248 if (dis_int_cmp( theInstr )) goto decode_success;
17257 if (dis_int_logic( theInstr )) goto decode_success;
17263 if (dis_int_logic( theInstr )) goto decode_success;
17268 if (dis_int_parity( theInstr )) goto decode_success;
17274 if (dis_int_shift( theInstr )) goto decode_success;
17282 if (dis_int_shift( theInstr )) goto decode_success;
17289 if (dis_int_load( theInstr )) goto decode_success;
17296 if (dis_int_load( theInstr )) goto decode_success;
17302 if (dis_int_store( theInstr, abiinfo )) goto decode_success;
17308 if (dis_int_store( theInstr, abiinfo )) goto decode_success;
17315 if (dis_int_ldst_rev( theInstr )) goto decode_success;
17322 Bool ok = dis_int_ldst_str( theInstr, &stopHere );
17335 if (dis_memsync( theInstr )) goto decode_success;
17341 if (dis_memsync( theInstr )) goto decode_success;
17347 if (dis_proc_ctl( abiinfo, theInstr )) goto decode_success;
17354 if (dis_cache_manage( theInstr, &dres, archinfo ))
17365 if (dis_trap(theInstr, &dres)) goto decode_success;
17372 if (dis_fp_load( theInstr )) goto decode_success;
17379 if (dis_fp_store( theInstr )) goto decode_success;
17384 if (dis_fp_store( theInstr )) goto decode_success;
17391 if (dis_fp_pair(theInstr)) goto decode_success;
17396 if (dis_fp_load( theInstr )) goto decode_success;
17401 if (dis_fp_load( theInstr )) goto decode_success;
17409 if (dis_av_datastream( theInstr )) goto decode_success;
17417 if (dis_av_load( abiinfo, theInstr )) goto decode_success;
17424 if (dis_av_store( theInstr )) goto decode_success;
17436 if (dis_vx_load( theInstr )) goto decode_success;
17447 if (dis_vx_store( theInstr )) goto decode_success;
17454 if (dis_int_logic( theInstr )) goto decode_success;
17458 if (dis_int_logic( theInstr )) goto decode_success;
17467 if (IFIELD(theInstr, 0, 6) == (15<<1)) {
17468 UInt rT = ifieldRegDS( theInstr );
17469 UInt rA = ifieldRegA( theInstr );
17470 UInt rB = ifieldRegB( theInstr );
17471 UInt bi = ifieldRegC( theInstr );
17490 opc2 = IFIELD(theInstr, 0, 6);
17497 if (dis_av_multarith( theInstr )) goto decode_success;
17505 if (dis_av_permute( theInstr )) goto decode_success;
17511 if (dis_av_fp_arith( theInstr )) goto decode_success;
17518 opc2 = IFIELD(theInstr, 0, 11);
17542 if (dis_av_arith( theInstr )) goto decode_success;
17553 if (dis_av_shift( theInstr )) goto decode_success;
17560 if (dis_av_logic( theInstr )) goto decode_success;
17566 if (dis_av_procctl( theInstr )) goto decode_success;
17575 if (dis_av_fp_arith( theInstr )) goto decode_success;
17584 if (dis_av_fp_convert( theInstr )) goto decode_success;
17593 if (dis_av_permute( theInstr )) goto decode_success;
17605 if (dis_av_pack( theInstr )) goto decode_success;
17612 opc2 = IFIELD(theInstr, 0, 10);
17620 if (dis_av_cmp( theInstr )) goto decode_success;
17627 if (dis_av_fp_cmp( theInstr )) goto decode_success;
17669 opc2 = (theInstr) & 0x7FF;
17671 "0x%x\n", theInstr);