Lines Matching refs:iw0
47 TIword iw0;
718 decode_ProgCtrl_0 (TIword iw0, disassemble_info *outf)
725 int poprnd = ((iw0 >> ProgCtrl_poprnd_bits) & ProgCtrl_poprnd_mask);
726 int prgfunc = ((iw0 >> ProgCtrl_prgfunc_bits) & ProgCtrl_prgfunc_mask);
806 decode_CaCTRL_0 (TIword iw0, disassemble_info *outf)
813 int a = ((iw0 >> CaCTRL_a_bits) & CaCTRL_a_mask);
814 int op = ((iw0 >> CaCTRL_op_bits) & CaCTRL_op_mask);
815 int reg = ((iw0 >> CaCTRL_reg_bits) & CaCTRL_reg_mask);
874 decode_PushPopReg_0 (TIword iw0, disassemble_info *outf)
881 int W = ((iw0 >> PushPopReg_W_bits) & PushPopReg_W_mask);
882 int grp = ((iw0 >> PushPopReg_grp_bits) & PushPopReg_grp_mask);
883 int reg = ((iw0 >> PushPopReg_reg_bits) & PushPopReg_reg_mask);
904 decode_PushPopMultiple_0 (TIword iw0, disassemble_info *outf)
911 int p = ((iw0 >> PushPopMultiple_p_bits) & PushPopMultiple_p_mask);
912 int d = ((iw0 >> PushPopMultiple_d_bits) & PushPopMultiple_d_mask);
913 int W = ((iw0 >> PushPopMultiple_W_bits) & PushPopMultiple_W_mask);
914 int dr = ((iw0 >> PushPopMultiple_dr_bits) & PushPopMultiple_dr_mask);
915 int pr = ((iw0 >> PushPopMultiple_pr_bits) & PushPopMultiple_pr_mask);
969 decode_ccMV_0 (TIword iw0, disassemble_info *outf)
976 int s = ((iw0 >> CCmv_s_bits) & CCmv_s_mask);
977 int d = ((iw0 >> CCmv_d_bits) & CCmv_d_mask);
978 int T = ((iw0 >> CCmv_T_bits) & CCmv_T_mask);
979 int src = ((iw0 >> CCmv_src_bits) & CCmv_src_mask);
980 int dst = ((iw0 >> CCmv_dst_bits) & CCmv_dst_mask);
1005 decode_CCflag_0 (TIword iw0, disassemble_info *outf)
1012 int x = ((iw0 >> CCflag_x_bits) & CCflag_x_mask);
1013 int y = ((iw0 >> CCflag_y_bits) & CCflag_y_mask);
1014 int I = ((iw0 >> CCflag_I_bits) & CCflag_I_mask);
1015 int G = ((iw0 >> CCflag_G_bits) & CCflag_G_mask);
1016 int opc = ((iw0 >> CCflag_opc_bits) & CCflag_opc_mask);
1184 decode_CC2dreg_0 (TIword iw0, disassemble_info *outf)
1191 int op = ((iw0 >> CC2dreg_op_bits) & CC2dreg_op_mask);
1192 int reg = ((iw0 >> CC2dreg_reg_bits) & CC2dreg_reg_mask);
1216 decode_CC2stat_0 (TIword iw0, disassemble_info *outf)
1223 int D = ((iw0 >> CC2stat_D_bits) & CC2stat_D_mask);
1224 int op = ((iw0 >> CC2stat_op_bits) & CC2stat_op_mask);
1225 int cbit = ((iw0 >> CC2stat_cbit_bits) & CC2stat_cbit_mask);
1255 decode_BRCC_0 (TIword iw0, bfd_vma pc, disassemble_info *outf)
1262 int B = ((iw0 >> BRCC_B_bits) & BRCC_B_mask);
1263 int T = ((iw0 >> BRCC_T_bits) & BRCC_T_mask);
1264 int offset = ((iw0 >> BRCC_offset_bits) & BRCC_offset_mask);
1298 decode_UJUMP_0 (TIword iw0, bfd_vma pc, disassemble_info *outf)
1305 int offset = ((iw0 >> UJump_offset_bits) & UJump_offset_mask);
1316 decode_REGMV_0 (TIword iw0, disassemble_info *outf)
1322 int gs = ((iw0 >> RegMv_gs_bits) & RegMv_gs_mask);
1323 int gd = ((iw0 >> RegMv_gd_bits) & RegMv_gd_mask);
1324 int src = ((iw0 >> RegMv_src_bits) & RegMv_src_mask);
1325 int dst = ((iw0 >> RegMv_dst_bits) & RegMv_dst_mask);
1365 decode_ALU2op_0 (TIword iw0, disassemble_info *outf)
1371 int src = ((iw0 >> ALU2op_src_bits) & ALU2op_src_mask);
1372 int opc = ((iw0 >> ALU2op_opc_bits) & ALU2op_opc_mask);
1373 int dst = ((iw0 >> ALU2op_dst_bits) & ALU2op_dst_mask);
1480 decode_PTR2op_0 (TIword iw0, disassemble_info *outf)
1486 int src = ((iw0 >> PTR2op_src_bits) & PTR2op_dst_mask);
1487 int opc = ((iw0 >> PTR2op_opc_bits) & PTR2op_opc_mask);
1488 int dst = ((iw0 >> PTR2op_dst_bits) & PTR2op_dst_mask);
1549 decode_LOGI2op_0 (TIword iw0, disassemble_info *outf)
1556 int src = ((iw0 >> LOGI2op_src_bits) & LOGI2op_src_mask);
1557 int opc = ((iw0 >> LOGI2op_opc_bits) & LOGI2op_opc_mask);
1558 int dst = ((iw0 >> LOGI2op_dst_bits) & LOGI2op_dst_mask);
1643 decode_COMP3op_0 (TIword iw0, disassemble_info *outf)
1649 int opc = ((iw0 >> COMP3op_opc_bits) & COMP3op_opc_mask);
1650 int dst = ((iw0 >> COMP3op_dst_bits) & COMP3op_dst_mask);
1651 int src0 = ((iw0 >> COMP3op_src0_bits) & COMP3op_src0_mask);
1652 int src1 = ((iw0 >> COMP3op_src1_bits) & COMP3op_src1_mask);
1734 decode_COMPI2opD_0 (TIword iw0, disassemble_info *outf)
1741 int op = ((iw0 >> COMPI2opD_op_bits) & COMPI2opD_op_mask);
1742 int dst = ((iw0 >> COMPI2opD_dst_bits) & COMPI2opD_dst_mask);
1743 int src = ((iw0 >> COMPI2opD_src_bits) & COMPI2opD_src_mask);
1793 decode_COMPI2opP_0 (TIword iw0, disassemble_info *outf)
1800 int op = ((iw0 >> COMPI2opP_op_bits) & COMPI2opP_op_mask);
1801 int src = ((iw0 >> COMPI2opP_src_bits) & COMPI2opP_src_mask);
1802 int dst = ((iw0 >> COMPI2opP_dst_bits) & COMPI2opP_dst_mask);
1849 decode_LDSTpmod_0 (TIword iw0, disassemble_info *outf)
1855 int W = ((iw0 >> LDSTpmod_W_bits) & LDSTpmod_W_mask);
1856 int aop = ((iw0 >> LDSTpmod_aop_bits) & LDSTpmod_aop_mask);
1857 int idx = ((iw0 >> LDSTpmod_idx_bits) & LDSTpmod_idx_mask);
1858 int ptr = ((iw0 >> LDSTpmod_ptr_bits) & LDSTpmod_ptr_mask);
1859 int reg = ((iw0 >> LDSTpmod_reg_bits) & LDSTpmod_reg_mask);
1968 decode_dagMODim_0 (TIword iw0, disassemble_info *outf)
1974 int i = ((iw0 >> DagMODim_i_bits) & DagMODim_i_mask);
1975 int m = ((iw0 >> DagMODim_m_bits) & DagMODim_m_mask);
1976 int br = ((iw0 >> DagMODim_br_bits) & DagMODim_br_mask);
1977 int op = ((iw0 >> DagMODim_op_bits) & DagMODim_op_mask);
2005 decode_dagMODik_0 (TIword iw0, disassemble_info *outf)
2012 int i = ((iw0 >> DagMODik_i_bits) & DagMODik_i_mask);
2013 int op = ((iw0 >> DagMODik_op_bits) & DagMODik_op_mask);
2053 decode_dspLDST_0 (TIword iw0, disassemble_info *outf)
2059 int i = ((iw0 >> DspLDST_i_bits) & DspLDST_i_mask);
2060 int m = ((iw0 >> DspLDST_m_bits) & DspLDST_m_mask);
2061 int W = ((iw0 >> DspLDST_W_bits) & DspLDST_W_mask);
2062 int aop = ((iw0 >> DspLDST_aop_bits) & DspLDST_aop_mask);
2063 int reg = ((iw0 >> DspLDST_reg_bits) & DspLDST_reg_mask);
2216 decode_LDST_0 (TIword iw0, disassemble_info *outf)
2222 int Z = ((iw0 >> LDST_Z_bits) & LDST_Z_mask);
2223 int W = ((iw0 >> LDST_W_bits) & LDST_W_mask);
2224 int sz = ((iw0 >> LDST_sz_bits) & LDST_sz_mask);
2225 int aop = ((iw0 >> LDST_aop_bits) & LDST_aop_mask);
2226 int reg = ((iw0 >> LDST_reg_bits) & LDST_reg_mask);
2227 int ptr = ((iw0 >> LDST_ptr_bits) & LDST_ptr_mask);
2446 decode_LDSTiiFP_0 (TIword iw0, disassemble_info *outf)
2452 int reg = ((iw0 >> LDSTiiFP_reg_bits) & LDSTiiFP_reg_mask);
2453 int offset = ((iw0 >> LDSTiiFP_offset_bits) & LDSTiiFP_offset_mask);
2454 int W = ((iw0 >> LDSTiiFP_W_bits) & LDSTiiFP_W_mask);
2477 decode_LDSTii_0 (TIword iw0, disassemble_info *outf)
2483 int reg = ((iw0 >> LDSTii_reg_bit) & LDSTii_reg_mask);
2484 int ptr = ((iw0 >> LDSTii_ptr_bit) & LDSTii_ptr_mask);
2485 int offset = ((iw0 >> LDSTii_offset_bit) & LDSTii_offset_mask);
2486 int op = ((iw0 >> LDSTii_op_bit) & LDSTii_op_mask);
2487 int W = ((iw0 >> LDSTii_W_bit) & LDSTii_W_mask);
2559 decode_LoopSetup_0 (TIword iw0, TIword iw1, bfd_vma pc, disassemble_info *outf)
2567 int c = ((iw0 >> (LoopSetup_c_bits - 16)) & LoopSetup_c_mask);
2569 int rop = ((iw0 >> (LoopSetup_rop_bits - 16)) & LoopSetup_rop_mask);
2570 int soffset = ((iw0 >> (LoopSetup_soffset_bits - 16)) & LoopSetup_soffset_mask);
2621 decode_LDIMMhalf_0 (TIword iw0, TIword iw1, disassemble_info *outf)
2629 int H = ((iw0 >> (LDIMMhalf_H_bits - 16)) & LDIMMhalf_H_mask);
2630 int Z = ((iw0 >> (LDIMMhalf_Z_bits - 16)) & LDIMMhalf_Z_mask);
2631 int S = ((iw0 >> (LDIMMhalf_S_bits - 16)) & LDIMMhalf_S_mask);
2632 int reg = ((iw0 >> (LDIMMhalf_reg_bits - 16)) & LDIMMhalf_reg_mask);
2633 int grp = ((iw0 >> (LDIMMhalf_grp_bits - 16)) & LDIMMhalf_grp_mask);
2763 decode_CALLa_0 (TIword iw0, TIword iw1, bfd_vma pc, disassemble_info *outf)
2771 int S = ((iw0 >> (CALLa_S_bits - 16)) & CALLa_S_mask);
2773 int msw = ((iw0 >> 0) & 0xff);
2790 decode_LDSTidxI_0 (TIword iw0, TIword iw1, disassemble_info *outf)
2797 int Z = ((iw0 >> (LDSTidxI_Z_bits - 16)) & LDSTidxI_Z_mask);
2798 int W = ((iw0 >> (LDSTidxI_W_bits - 16)) & LDSTidxI_W_mask);
2799 int sz = ((iw0 >> (LDSTidxI_sz_bits - 16)) & LDSTidxI_sz_mask);
2800 int reg = ((iw0 >> (LDSTidxI_reg_bits - 16)) & LDSTidxI_reg_mask);
2801 int ptr = ((iw0 >> (LDSTidxI_ptr_bits - 16)) & LDSTidxI_ptr_mask);
2901 decode_linkage_0 (TIword iw0, TIword iw1, disassemble_info *outf)
2909 int R = ((iw0 >> (Linkage_R_bits - 16)) & Linkage_R_mask);
2933 decode_dsp32mac_0 (TIword iw0, TIword iw1, disassemble_info *outf)
2940 int op1 = ((iw0 >> (DSP32Mac_op1_bits - 16)) & DSP32Mac_op1_mask);
2941 int w1 = ((iw0 >> (DSP32Mac_w1_bits - 16)) & DSP32Mac_w1_mask);
2942 int P = ((iw0 >> (DSP32Mac_p_bits - 16)) & DSP32Mac_p_mask);
2943 int MM = ((iw0 >> (DSP32Mac_MM_bits - 16)) & DSP32Mac_MM_mask);
2944 int mmod = ((iw0 >> (DSP32Mac_mmod_bits - 16)) & DSP32Mac_mmod_mask);
3018 decode_dsp32mult_0 (TIword iw0, TIword iw1, disassemble_info *outf)
3025 int w1 = ((iw0 >> (DSP32Mac_w1_bits - 16)) & DSP32Mac_w1_mask);
3026 int P = ((iw0 >> (DSP32Mac_p_bits - 16)) & DSP32Mac_p_mask);
3027 int MM = ((iw0 >> (DSP32Mac_MM_bits - 16)) & DSP32Mac_MM_mask);
3028 int mmod = ((iw0 >> (DSP32Mac_mmod_bits - 16)) & DSP32Mac_mmod_mask);
3071 decode_dsp32alu_0 (TIword iw0, TIword iw1, disassemble_info *outf)
3085 int HL = ((iw0 >> (DSP32Alu_HL_bits - 16)) & DSP32Alu_HL_mask);
3086 int aopcde = ((iw0 >> (DSP32Alu_aopcde_bits - 16)) & DSP32Alu_aopcde_mask);
3878 decode_dsp32shift_0 (TIword iw0, TIword iw1, disassemble_info *outf)
3890 int sopcde = ((iw0 >> (DSP32Shift_sopcde_bits - 16)) & DSP32Shift_sopcde_mask);
4307 decode_dsp32shiftimm_0 (TIword iw0, TIword iw1, disassemble_info *outf)
4320 int sopcde = ((iw0 >> (DSP32ShiftImm_sopcde_bits - 16)) & DSP32ShiftImm_sopcde_mask);
4498 decode_pseudoDEBUG_0 (TIword iw0, disassemble_info *outf)
4505 int fn = ((iw0 >> PseudoDbg_fn_bits) & PseudoDbg_fn_mask);
4506 int grp = ((iw0 >> PseudoDbg_grp_bits) & PseudoDbg_grp_mask);
4507 int reg = ((iw0 >> PseudoDbg_reg_bits) & PseudoDbg_reg_mask);
4558 decode_pseudoOChar_0 (TIword iw0, disassemble_info *outf)
4565 int ch = ((iw0 >> PseudoChr_ch_bits) & PseudoChr_ch_mask);
4577 decode_pseudodbg_assert_0 (TIword iw0, TIword iw1, disassemble_info *outf)
4586 int dbgop = ((iw0 >> (PseudoDbg_Assert_dbgop_bits - 16)) & PseudoDbg_Assert_dbgop_mask);
4587 int grp = ((iw0 >> (PseudoDbg_Assert_grp_bits - 16)) & PseudoDbg_Assert_grp_mask);
4588 int regtest = ((iw0 >> (PseudoDbg_Assert_regtest_bits - 16)) & PseudoDbg_Assert_regtest_mask);
4651 TIword iw0;
4663 if (ifetch (pc, outf, &iw0))
4665 priv->iw0 = iw0;
4667 if ((iw0 & 0xc000) == 0xc000)
4677 if ((iw0 & 0xf7ff) == 0xc003 && iw1 == 0x1800)
4687 else if ((iw0 & 0xff00) == 0x0000)
4688 rv = decode_ProgCtrl_0 (iw0, outf);
4689 else if ((iw0 & 0xffc0) == 0x0240)
4690 rv = decode_CaCTRL_0 (iw0, outf);
4691 else if ((iw0 & 0xff80) == 0x0100)
4692 rv = decode_PushPopReg_0 (iw0, outf);
4693 else if ((iw0 & 0xfe00) == 0x0400)
4694 rv = decode_PushPopMultiple_0 (iw0, outf);
4695 else if ((iw0 & 0xfe00) == 0x0600)
4696 rv = decode_ccMV_0 (iw0, outf);
4697 else if ((iw0 & 0xf800) == 0x0800)
4698 rv = decode_CCflag_0 (iw0, outf);
4699 else if ((iw0 & 0xffe0) == 0x0200)
4700 rv = decode_CC2dreg_0 (iw0, outf);
4701 else if ((iw0 & 0xff00) == 0x0300)
4702 rv = decode_CC2stat_0 (iw0, outf);
4703 else if ((iw0 & 0xf000) == 0x1000)
4704 rv = decode_BRCC_0 (iw0, pc, outf);
4705 else if ((iw0 & 0xf000) == 0x2000)
4706 rv = decode_UJUMP_0 (iw0, pc, outf);
4707 else if ((iw0 & 0xf000) == 0x3000)
4708 rv = decode_REGMV_0 (iw0, outf);
4709 else if ((iw0 & 0xfc00) == 0x4000)
4710 rv = decode_ALU2op_0 (iw0, outf);
4711 else if ((iw0 & 0xfe00) == 0x4400)
4712 rv = decode_PTR2op_0 (iw0, outf);
4713 else if ((iw0 & 0xf800) == 0x4800)
4714 rv = decode_LOGI2op_0 (iw0, outf);
4715 else if ((iw0 & 0xf000) == 0x5000)
4716 rv = decode_COMP3op_0 (iw0, outf);
4717 else if ((iw0 & 0xf800) == 0x6000)
4718 rv = decode_COMPI2opD_0 (iw0
4719 else if ((iw0 & 0xf800) == 0x6800)
4720 rv = decode_COMPI2opP_0 (iw0, outf);
4721 else if ((iw0 & 0xf000) == 0x8000)
4722 rv = decode_LDSTpmod_0 (iw0, outf);
4723 else if ((iw0 & 0xff60) == 0x9e60)
4724 rv = decode_dagMODim_0 (iw0, outf);
4725 else if ((iw0 & 0xfff0) == 0x9f60)
4726 rv = decode_dagMODik_0 (iw0, outf);
4727 else if ((iw0 & 0xfc00) == 0x9c00)
4728 rv = decode_dspLDST_0 (iw0, outf);
4729 else if ((iw0 & 0xf000) == 0x9000)
4730 rv = decode_LDST_0 (iw0, outf);
4731 else if ((iw0 & 0xfc00) == 0xb800)
4732 rv = decode_LDSTiiFP_0 (iw0, outf);
4733 else if ((iw0 & 0xe000) == 0xA000)
4734 rv = decode_LDSTii_0 (iw0, outf);
4735 else if ((iw0 & 0xff80) == 0xe080 && (iw1 & 0x0C00) == 0x0000)
4736 rv = decode_LoopSetup_0 (iw0, iw1, pc, outf);
4737 else if ((iw0 & 0xff00) == 0xe100 && (iw1 & 0x0000) == 0x0000)
4738 rv = decode_LDIMMhalf_0 (iw0, iw1, outf);
4739 else if ((iw0 & 0xfe00) == 0xe200 && (iw1 & 0x0000) == 0x0000)
4740 rv = decode_CALLa_0 (iw0, iw1, pc, outf);
4741 else if ((iw0 & 0xfc00) == 0xe400 && (iw1 & 0x0000) == 0x0000)
4742 rv = decode_LDSTidxI_0 (iw0, iw1, outf);
4743 else if ((iw0 & 0xfffe) == 0xe800 && (iw1 & 0x0000) == 0x0000)
4744 rv = decode_linkage_0 (iw0, iw1, outf);
4745 else if ((iw0 & 0xf600) == 0xc000 && (iw1 & 0x0000) == 0x0000)
4746 rv = decode_dsp32mac_0 (iw0, iw1, outf);
4747 else if ((iw0 & 0xf600) == 0xc200 && (iw1 & 0x0000) == 0x0000)
4748 rv = decode_dsp32mult_0 (iw0, iw1, outf);
4749 else if ((iw0 & 0xf7c0) == 0xc400 && (iw1 & 0x0000) == 0x0000)
4750 rv = decode_dsp32alu_0 (iw0, iw1, outf);
4751 else if ((iw0 & 0xf780) == 0xc600 && (iw1 & 0x01c0) == 0x0000)
4752 rv = decode_dsp32shift_0 (iw0, iw1, outf);
4753 else if ((iw0 & 0xf780) == 0xc680 && (iw1 & 0x0000) == 0x0000)
4754 rv = decode_dsp32shiftimm_0 (iw0, iw1, outf);
4755 else if ((iw0 & 0xff00) == 0xf800)
4756 rv = decode_pseudoDEBUG_0 (iw0, outf);
4757 else if ((iw0 & 0xFF00) == 0xF900)
4758 rv = decode_pseudoOChar_0 (iw0, outf);
4759 else if ((iw0 & 0xFF00) == 0xf000 && (iw1 & 0x0000) == 0x0000)
4760 rv = decode_pseudodbg_assert_0 (iw0, iw1, outf);
4784 if (count == 4 && (priv.iw0 & 0xc000) == 0xc000 && (priv.iw0 & BIT_MULTI_INS)
4785 && ((priv.iw0 & 0xe800) != 0xe800 /* Not Linkage. */ ))