Lines Matching refs:shift_n
1108 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateMVNReg()
1127 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateMVNReg() local
1136 shift_n = 0; in EmulateMVNReg()
1144 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateMVNReg()
1153 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateMVNReg()
1163 uint32_t shifted = Shift_C(value, shift_t, shift_n, APSR_C, carry, &success); in EmulateMVNReg()
1369 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateADDSPRm()
2625 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateADDReg()
2644 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateADDReg() local
2654 shift_n = 0; in EmulateADDReg()
2661 shift_n = 0; in EmulateADDReg()
2672 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateADDReg()
2688 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateADDReg()
2766 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateCMNReg()
2779 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateCMNReg() local
2785 shift_n = 0; in EmulateCMNReg()
2790 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateCMNReg()
2798 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateCMNReg()
2813 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateCMNReg()
2890 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateCMPReg()
2903 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateCMPReg() local
2909 shift_n = 0; in EmulateCMPReg()
2915 shift_n = 0; in EmulateCMPReg()
2924 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateCMPReg()
2939 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateCMPReg()
2963 (result, carry) = Shift_C(R[m], SRType_ASR, shift_n, APSR.C); in EmulateASRImm()
2989 shift_n = UInt(R[m]<7:0>); in EmulateASRReg()
2990 (result, carry) = Shift_C(R[m], SRType_ASR, shift_n, APSR.C); in EmulateASRReg()
3012 (result, carry) = Shift_C(R[m], SRType_LSL, shift_n, APSR.C); in EmulateLSLImm()
3038 shift_n = UInt(R[m]<7:0>); in EmulateLSLReg()
3039 (result, carry) = Shift_C(R[m], SRType_LSL, shift_n, APSR.C); in EmulateLSLReg()
3061 (result, carry) = Shift_C(R[m], SRType_LSR, shift_n, APSR.C); in EmulateLSRImm()
3087 shift_n = UInt(R[m]<7:0>); in EmulateLSRReg()
3088 (result, carry) = Shift_C(R[m], SRType_LSR, shift_n, APSR.C); in EmulateLSRReg()
3110 (result, carry) = Shift_C(R[m], SRType_ROR, shift_n, APSR.C); in EmulateRORImm()
3136 shift_n = UInt(R[m]<7:0>); in EmulateRORReg()
3137 (result, carry) = Shift_C(R[m], SRType_ROR, shift_n, APSR.C); in EmulateRORReg()
4731 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateSTRRegister()
4755 uint32_t shift_n; in EmulateSTRRegister() local
4777 shift_n = 0; in EmulateSTRRegister()
4797 shift_n = Bits32 (opcode, 5, 4); in EmulateSTRRegister()
4820 shift_n = DecodeImmShift(typ, imm5, shift_t); in EmulateSTRRegister()
4849 offset = Shift (Rm_data, shift_t, shift_n, APSR_C, &success); in EmulateSTRRegister()
5058 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateSTRHRegister()
5079 uint32_t shift_n; in EmulateSTRHRegister() local
5098 shift_n = 0; in EmulateSTRHRegister()
5118 shift_n = Bits32 (opcode, 5, 4); in EmulateSTRHRegister()
5140 shift_n = 0; in EmulateSTRHRegister()
5165 uint32_t offset = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateSTRHRegister()
5308 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateADCReg()
5327 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateADCReg() local
5336 shift_n = 0; in EmulateADCReg()
5343 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateADCReg()
5352 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateADCReg()
5371 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateADCReg()
5533 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateANDReg()
5552 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateANDReg() local
5562 shift_n = 0; in EmulateANDReg()
5569 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateANDReg()
5581 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateANDReg()
5600 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success); in EmulateANDReg()
5696 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateBICReg()
5715 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateBICReg() local
5725 shift_n = 0; in EmulateBICReg()
5732 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateBICReg()
5741 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateBICReg()
5761 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success); in EmulateBICReg()
5923 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateLDRRegister()
5952 uint32_t shift_n; in EmulateLDRRegister() local
5970 shift_n = 0; in EmulateLDRRegister()
5988 shift_n = Bits32 (opcode, 5, 4); in EmulateLDRRegister()
6016 shift_n = DecodeImmShift (type, imm5, shift_t); in EmulateLDRRegister()
6045 addr_t offset = Shift (Rm, shift_t, shift_n, Bit32 (m_opcode_cpsr, APSR_C), &success); in EmulateLDRRegister()
6351 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateLDRBRegister()
6369 uint32_t shift_n; in EmulateLDRBRegister() local
6387 shift_n = 0; in EmulateLDRBRegister()
6405 shift_n = Bits32 (opcode, 5, 4); in EmulateLDRBRegister()
6428 shift_n = DecodeImmShift (type, imm5, shift_t); in EmulateLDRBRegister()
6452 addr_t offset = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateLDRBRegister()
6765 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateLDRHRegister()
6787 uint32_t shift_n; in EmulateLDRHRegister() local
6806 shift_n = 0; in EmulateLDRHRegister()
6825 shift_n = Bits32 (opcode, 5, 4); in EmulateLDRHRegister()
6846 shift_n = 0; in EmulateLDRHRegister()
6868 addr_t offset = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateLDRHRegister()
7179 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateLDRSBRegister()
7197 uint32_t shift_n; in EmulateLDRSBRegister() local
7215 shift_n = 0; in EmulateLDRSBRegister()
7234 shift_n = Bits32 (opcode, 5, 4); in EmulateLDRSBRegister()
7255 shift_n = 0; in EmulateLDRSBRegister()
7275 addr_t offset = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateLDRSBRegister()
7601 offset = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateLDRSHRegister()
7623 uint32_t shift_n; in EmulateLDRSHRegister() local
7642 shift_n = 0; in EmulateLDRSHRegister()
7661 shift_n = Bits32 (opcode, 5, 4); in EmulateLDRSHRegister()
7683 shift_n = 0; in EmulateLDRSHRegister()
7708 addr_t offset = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateLDRSHRegister()
8333 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateEORReg()
8352 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateEORReg() local
8362 shift_n = 0; in EmulateEORReg()
8369 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateEORReg()
8381 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateEORReg()
8401 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success); in EmulateEORReg()
8499 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateORRReg()
8518 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateORRReg() local
8528 shift_n = 0; in EmulateORRReg()
8535 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateORRReg()
8547 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateORRReg()
8566 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success); in EmulateORRReg()
8662 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateRSBReg()
8682 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateRSBReg() local
8689 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateRSBReg()
8699 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateRSBReg()
8718 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateRSBReg()
8801 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateRSCReg()
8821 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateRSCReg() local
8828 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateRSCReg()
8847 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateRSCReg()
8938 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateSBCReg()
8958 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateSBCReg() local
8965 shift_n = 0; in EmulateSBCReg()
8972 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateSBCReg()
8981 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateSBCReg()
9000 uint32_t shifted = Shift(val2, shift_t, shift_n, APSR_C, &success); in EmulateSBCReg()
9237 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateTEQReg()
9251 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateTEQReg() local
9258 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateTEQReg()
9265 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateTEQReg()
9281 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success); in EmulateTEQReg()
9361 (shifted, carry) = Shift_C(R[m], shift_t, shift_n, APSR.C); in EmulateTSTReg()
9375 uint32_t shift_n; // the shift applied to the value read from Rm in EmulateTSTReg() local
9383 shift_n = 0; in EmulateTSTReg()
9388 shift_n = DecodeImmShiftThumb(opcode, shift_t); in EmulateTSTReg()
9395 shift_n = DecodeImmShiftARM(opcode, shift_t); in EmulateTSTReg()
9411 uint32_t shifted = Shift_C(val2, shift_t, shift_n, APSR_C, carry, &success); in EmulateTSTReg()
9433 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateSUBSPReg()
9454 uint32_t shift_n; in EmulateSUBSPReg() local
9465 shift_n = DecodeImmShiftThumb (opcode, shift_t); in EmulateSUBSPReg()
9468 if ((d == 13) && ((shift_t != SRType_LSL) || (shift_n > 3))) in EmulateSUBSPReg()
9487 shift_n = DecodeImmShiftARM (opcode, shift_t); in EmulateSUBSPReg()
9499 uint32_t shifted = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateSUBSPReg()
9532 shift_n = UInt(R[s]<7:0>); in EmulateADDRegShift()
9533 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateADDRegShift()
9581 uint32_t shift_n = Bits32 (Rs, 7, 0); in EmulateADDRegShift() local
9588 uint32_t shifted = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateADDRegShift()
9630 shifted = Shift(R[m], shift_t, shift_n, APSR.C); in EmulateSUBReg()
9652 uint32_t shift_n; in EmulateSUBReg() local
9665 shift_n = 0; in EmulateSUBReg()
9679 shift_n = DecodeImmShiftThumb (opcode, shift_t); in EmulateSUBReg()
9700 shift_n = DecodeImmShiftARM (opcode, shift_t); in EmulateSUBReg()
9713 uint32_t shifted = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateSUBReg()
12080 operand2 = if register_form then Shift(R[m], shift_t, shift_n, APSR.C) else imm32; in EmulateSUBSPcLrEtc()
12107 uint32_t shift_n; in EmulateSUBSPcLrEtc() local
12142 shift_n = DecodeImmShiftARM (opcode, shift_t); in EmulateSUBSPcLrEtc()
12158 operand2 = Shift (Rm, shift_t, shift_n, APSR_C, &success); in EmulateSUBSPcLrEtc()