Lines Matching refs:theInstr
2815 UInt get_neon_d_regno(UInt theInstr) in get_neon_d_regno() argument
2817 UInt x = ((theInstr >> 18) & 0x10) | ((theInstr >> 12) & 0xF); in get_neon_d_regno()
2818 if (theInstr & 0x40) { in get_neon_d_regno()
2829 UInt get_neon_n_regno(UInt theInstr) in get_neon_n_regno() argument
2831 UInt x = ((theInstr >> 3) & 0x10) | ((theInstr >> 16) & 0xF); in get_neon_n_regno()
2832 if (theInstr & 0x40) { in get_neon_n_regno()
2843 UInt get_neon_m_regno(UInt theInstr) in get_neon_m_regno() argument
2845 UInt x = ((theInstr >> 1) & 0x10) | (theInstr & 0xF); in get_neon_m_regno()
2846 if (theInstr & 0x40) { in get_neon_m_regno()
2857 Bool dis_neon_vext ( UInt theInstr, IRTemp condT ) in dis_neon_vext() argument
2859 UInt dreg = get_neon_d_regno(theInstr); in dis_neon_vext()
2860 UInt mreg = get_neon_m_regno(theInstr); in dis_neon_vext()
2861 UInt nreg = get_neon_n_regno(theInstr); in dis_neon_vext()
2862 UInt imm4 = (theInstr >> 8) & 0xf; in dis_neon_vext()
2863 UInt Q = (theInstr >> 6) & 1; in dis_neon_vext()
2905 Bool dis_neon_vtb ( UInt theInstr, IRTemp condT ) in dis_neon_vtb() argument
2907 UInt op = (theInstr >> 6) & 1; in dis_neon_vtb()
2908 UInt dreg = get_neon_d_regno(theInstr & ~(1 << 6)); in dis_neon_vtb()
2909 UInt nreg = get_neon_n_regno(theInstr & ~(1 << 6)); in dis_neon_vtb()
2910 UInt mreg = get_neon_m_regno(theInstr & ~(1 << 6)); in dis_neon_vtb()
2911 UInt len = (theInstr >> 8) & 3; in dis_neon_vtb()
2985 Bool dis_neon_vdup ( UInt theInstr, IRTemp condT ) in dis_neon_vdup() argument
2987 UInt Q = (theInstr >> 6) & 1; in dis_neon_vdup()
2988 UInt dreg = ((theInstr >> 18) & 0x10) | ((theInstr >> 12) & 0xF); in dis_neon_vdup()
2989 UInt mreg = ((theInstr >> 1) & 0x10) | (theInstr & 0xF); in dis_neon_vdup()
2990 UInt imm4 = (theInstr >> 16) & 0xF; in dis_neon_vdup()
3039 Bool dis_neon_data_3same ( UInt theInstr, IRTemp condT ) in dis_neon_data_3same() argument
3041 UInt Q = (theInstr >> 6) & 1; in dis_neon_data_3same()
3042 UInt dreg = get_neon_d_regno(theInstr); in dis_neon_data_3same()
3043 UInt nreg = get_neon_n_regno(theInstr); in dis_neon_data_3same()
3044 UInt mreg = get_neon_m_regno(theInstr); in dis_neon_data_3same()
3045 UInt A = (theInstr >> 8) & 0xF; in dis_neon_data_3same()
3046 UInt B = (theInstr >> 4) & 1; in dis_neon_data_3same()
3047 UInt C = (theInstr >> 20) & 0x3; in dis_neon_data_3same()
3048 UInt U = (theInstr >> 24) & 1; in dis_neon_data_3same()
4198 if ((theInstr >> 23) & 1) { in dis_neon_data_3same()
4264 if ((theInstr >> 23) & 1) { in dis_neon_data_3same()
4404 UInt P = (theInstr >> 24) & 1; in dis_neon_data_3same()
4454 UInt P = (theInstr >> 24) & 1; in dis_neon_data_3same()
4481 UInt P = (theInstr >> 4) & 1; in dis_neon_data_3same()
4650 UInt P = (theInstr >> 21) & 1; in dis_neon_data_3same()
4698 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4712 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4722 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4734 UInt op_bit = (theInstr >> 21) & 1; in dis_neon_data_3same()
4759 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4761 if ((theInstr >> 21) & 1) { in dis_neon_data_3same()
4776 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4778 if ((theInstr >> 21) & 1) { in dis_neon_data_3same()
4791 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4801 if ((theInstr >> 20) & 1) in dis_neon_data_3same()
4826 Bool dis_neon_data_3diff ( UInt theInstr, IRTemp condT ) in dis_neon_data_3diff() argument
4828 UInt A = (theInstr >> 8) & 0xf; in dis_neon_data_3diff()
4829 UInt B = (theInstr >> 20) & 3; in dis_neon_data_3diff()
4830 UInt U = (theInstr >> 24) & 1; in dis_neon_data_3diff()
4831 UInt P = (theInstr >> 9) & 1; in dis_neon_data_3diff()
4832 UInt mreg = get_neon_m_regno(theInstr); in dis_neon_data_3diff()
4833 UInt nreg = get_neon_n_regno(theInstr); in dis_neon_data_3diff()
4834 UInt dreg = get_neon_d_regno(theInstr); in dis_neon_data_3diff()
4934 if (!((theInstr >> 23) & 1)) { in dis_neon_data_3diff()
5044 if (!((theInstr >> 23) & 1)) { in dis_neon_data_3diff()
5243 Bool dis_neon_data_2reg_and_scalar ( UInt theInstr, IRTemp condT ) in dis_neon_data_2reg_and_scalar() argument
5245 # define INSN(_bMax,_bMin) SLICE_UInt(theInstr, (_bMax), (_bMin)) in dis_neon_data_2reg_and_scalar()
5247 UInt dreg = get_neon_d_regno(theInstr & ~(1 << 6)); in dis_neon_data_2reg_and_scalar()
5248 UInt nreg = get_neon_n_regno(theInstr & ~(1 << 6)); in dis_neon_data_2reg_and_scalar()
5249 UInt mreg = get_neon_m_regno(theInstr & ~(1 << 6)); in dis_neon_data_2reg_and_scalar()
5901 Bool dis_neon_data_2reg_and_shift ( UInt theInstr, IRTemp condT ) in dis_neon_data_2reg_and_shift() argument
5903 UInt A = (theInstr >> 8) & 0xf; in dis_neon_data_2reg_and_shift()
5904 UInt B = (theInstr >> 6) & 1; in dis_neon_data_2reg_and_shift()
5905 UInt L = (theInstr >> 7) & 1; in dis_neon_data_2reg_and_shift()
5906 UInt U = (theInstr >> 24) & 1; in dis_neon_data_2reg_and_shift()
5908 UInt imm6 = (theInstr >> 16) & 0x3f; in dis_neon_data_2reg_and_shift()
5912 UInt mreg = get_neon_m_regno(theInstr); in dis_neon_data_2reg_and_shift()
5913 UInt dreg = get_neon_d_regno(theInstr); in dis_neon_data_2reg_and_shift()
5918 if (L == 0 && ((theInstr >> 19) & 7) == 0) in dis_neon_data_2reg_and_shift()
6359 dreg = ((theInstr >> 18) & 0x10) | ((theInstr >> 12) & 0xF); in dis_neon_data_2reg_and_shift()
6360 mreg = ((theInstr >> 1) & 0x10) | (theInstr & 0xF); in dis_neon_data_2reg_and_shift()
6453 dreg = ((theInstr >> 18) & 0x10) | ((theInstr >> 12) & 0xF); in dis_neon_data_2reg_and_shift()
6454 mreg = ((theInstr >> 1) & 0x10) | (theInstr & 0xF); in dis_neon_data_2reg_and_shift()
6459 if ((theInstr >> 8) & 1) { in dis_neon_data_2reg_and_shift()
6583 if ((theInstr >> 8) & 1) { in dis_neon_data_2reg_and_shift()
6591 64 - ((theInstr >> 16) & 0x3f)); in dis_neon_data_2reg_and_shift()
6600 64 - ((theInstr >> 16) & 0x3f)); in dis_neon_data_2reg_and_shift()
6602 if (((theInstr >> 21) & 1) == 0) in dis_neon_data_2reg_and_shift()
6606 mkU8(64 - ((theInstr >> 16) & 0x3f))), condT); in dis_neon_data_2reg_and_shift()
6609 mkU8(64 - ((theInstr >> 16) & 0x3f))), condT); in dis_neon_data_2reg_and_shift()
6621 Bool dis_neon_data_2reg_misc ( UInt theInstr, IRTemp condT ) in dis_neon_data_2reg_misc() argument
6623 UInt A = (theInstr >> 16) & 3; in dis_neon_data_2reg_misc()
6624 UInt B = (theInstr >> 6) & 0x1f; in dis_neon_data_2reg_misc()
6625 UInt Q = (theInstr >> 6) & 1; in dis_neon_data_2reg_misc()
6626 UInt U = (theInstr >> 24) & 1; in dis_neon_data_2reg_misc()
6627 UInt size = (theInstr >> 18) & 3; in dis_neon_data_2reg_misc()
6628 UInt dreg = get_neon_d_regno(theInstr); in dis_neon_data_2reg_misc()
6629 UInt mreg = get_neon_m_regno(theInstr); in dis_neon_data_2reg_misc()
6630 UInt F = (theInstr >> 10) & 1; in dis_neon_data_2reg_misc()
6715 U = (theInstr >> 7) & 1; in dis_neon_data_2reg_misc()
6790 U = (theInstr >> 7) & 1; in dis_neon_data_2reg_misc()
7381 dreg = ((theInstr >> 18) & 0x10) | ((theInstr >> 12) & 0xF); in dis_neon_data_2reg_misc()
7382 mreg = ((theInstr >> 1) & 0x10) | (theInstr & 0xF); in dis_neon_data_2reg_misc()
7463 if (((theInstr >> 18) & 3) != 1) in dis_neon_data_2reg_misc()
7465 if ((theInstr >> 8) & 1) { in dis_neon_data_2reg_misc()
7490 F = (theInstr >> 8) & 1; in dis_neon_data_2reg_misc()
7646 Bool dis_neon_data_1reg_and_imm ( UInt theInstr, IRTemp condT ) in dis_neon_data_1reg_and_imm() argument
7648 UInt dreg = get_neon_d_regno(theInstr); in dis_neon_data_1reg_and_imm()
7649 ULong imm_raw = ((theInstr >> 17) & 0x80) | ((theInstr >> 12) & 0x70) | in dis_neon_data_1reg_and_imm()
7650 (theInstr & 0xf); in dis_neon_data_1reg_and_imm()
7652 UInt cmode = (theInstr >> 8) & 0xf; in dis_neon_data_1reg_and_imm()
7653 UInt op_bit = (theInstr >> 5) & 1; in dis_neon_data_1reg_and_imm()
7655 UInt Q = (theInstr >> 6) & 1; in dis_neon_data_1reg_and_imm()
7777 Bool dis_neon_data_processing ( UInt theInstr, IRTemp condT ) in dis_neon_data_processing() argument
7779 UInt A = (theInstr >> 19) & 0x1F; in dis_neon_data_processing()
7780 UInt B = (theInstr >> 8) & 0xF; in dis_neon_data_processing()
7781 UInt C = (theInstr >> 4) & 0xF; in dis_neon_data_processing()
7782 UInt U = (theInstr >> 24) & 0x1; in dis_neon_data_processing()
7785 return dis_neon_data_3same(theInstr, condT); in dis_neon_data_processing()
7788 return dis_neon_data_1reg_and_imm(theInstr, condT); in dis_neon_data_processing()
7791 return dis_neon_data_2reg_and_shift(theInstr, condT); in dis_neon_data_processing()
7794 return dis_neon_data_3diff(theInstr, condT); in dis_neon_data_processing()
7797 return dis_neon_data_2reg_and_scalar(theInstr, condT); in dis_neon_data_processing()
7801 return dis_neon_vext(theInstr, condT); in dis_neon_data_processing()
7806 return dis_neon_data_2reg_misc(theInstr, condT); in dis_neon_data_processing()
7809 return dis_neon_vtb(theInstr, condT); in dis_neon_data_processing()
7812 return dis_neon_vdup(theInstr, condT); in dis_neon_data_processing()
8326 Bool dis_neon_load_or_store ( UInt theInstr, in dis_neon_load_or_store() argument
8329 # define INSN(_bMax,_bMin) SLICE_UInt(theInstr, (_bMax), (_bMin)) in dis_neon_load_or_store()