• Home
  • Raw
  • Download

Lines Matching refs:Bits32

615   ITCounter = CountITSize(Bits32(bits7_0, 3, 0));  in InitIT()
620 unsigned short FirstCond = Bits32(bits7_0, 7, 4); in InitIT()
639 unsigned short NewITState4_0 = Bits32(ITState, 4, 0) << 1; in ITAdvance()
653 return Bits32(ITState, 7, 4); in GetCond()
933 registers = Bits32(opcode, 7, 0); in EmulatePUSH()
943 registers = Bits32(opcode, 15, 0) & ~0xa000; in EmulatePUSH()
949 Rt = Bits32(opcode, 15, 12); in EmulatePUSH()
956 registers = Bits32(opcode, 15, 0); in EmulatePUSH()
962 Rt = Bits32(opcode, 15, 12); in EmulatePUSH()
1048 registers = Bits32(opcode, 7, 0); in EmulatePOP()
1058 registers = Bits32(opcode, 15, 0) & ~0x2000; in EmulatePOP()
1069 Rt = Bits32(opcode, 15, 12); in EmulatePOP()
1079 registers = Bits32(opcode, 15, 0); in EmulatePOP()
1089 Rt = Bits32(opcode, 15, 12); in EmulatePOP()
1175 imm32 = Bits32(opcode, 7, 0) << 2; // imm32 = ZeroExtend(imm8:'00', 32) in EmulateADDRdSPImm()
1178 Rd = Bits32(opcode, 15, 12); in EmulateADDRdSPImm()
1295 Rd = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0); in EmulateMOVRdRm()
1296 Rm = Bits32(opcode, 6, 3); in EmulateMOVRdRm()
1302 Rd = Bits32(opcode, 2, 0); in EmulateMOVRdRm()
1303 Rm = Bits32(opcode, 5, 3); in EmulateMOVRdRm()
1309 Rd = Bits32(opcode, 11, 8); in EmulateMOVRdRm()
1310 Rm = Bits32(opcode, 3, 0); in EmulateMOVRdRm()
1321 Rd = Bits32(opcode, 15, 12); in EmulateMOVRdRm()
1322 Rm = Bits32(opcode, 3, 0); in EmulateMOVRdRm()
1388 Rd = Bits32(opcode, 10, 8); in EmulateMOVRdImm()
1390 imm32 = Bits32(opcode, 7, 0); // imm32 = ZeroExtend(imm8, 32) in EmulateMOVRdImm()
1396 Rd = Bits32(opcode, 11, 8); in EmulateMOVRdImm()
1407 Rd = Bits32(opcode, 11, 8); in EmulateMOVRdImm()
1409 uint32_t imm4 = Bits32(opcode, 19, 16); in EmulateMOVRdImm()
1410 uint32_t imm3 = Bits32(opcode, 14, 12); in EmulateMOVRdImm()
1412 uint32_t imm8 = Bits32(opcode, 7, 0); in EmulateMOVRdImm()
1423 Rd = Bits32(opcode, 15, 12); in EmulateMOVRdImm()
1436 Rd = Bits32(opcode, 15, 12); in EmulateMOVRdImm()
1438 uint32_t imm4 = Bits32(opcode, 19, 16); in EmulateMOVRdImm()
1439 uint32_t imm12 = Bits32(opcode, 11, 0); in EmulateMOVRdImm()
1499 d = Bits32(opcode, 2, 0); in EmulateMUL()
1500 n = Bits32(opcode, 5, 3); in EmulateMUL()
1501 m = Bits32(opcode, 2, 0); in EmulateMUL()
1512 d = Bits32(opcode, 11, 8); in EmulateMUL()
1513 n = Bits32(opcode, 19, 16); in EmulateMUL()
1514 m = Bits32(opcode, 3, 0); in EmulateMUL()
1525 d = Bits32(opcode, 19, 16); in EmulateMUL()
1526 n = Bits32(opcode, 3, 0); in EmulateMUL()
1527 m = Bits32(opcode, 11, 8); in EmulateMUL()
1627 Rd = Bits32(opcode, 11, 8); in EmulateMVNImm()
1632 Rd = Bits32(opcode, 15, 12); in EmulateMVNImm()
1690 Rd = Bits32(opcode, 2, 0); in EmulateMVNReg()
1691 Rm = Bits32(opcode, 5, 3); in EmulateMVNReg()
1699 Rd = Bits32(opcode, 11, 8); in EmulateMVNReg()
1700 Rm = Bits32(opcode, 3, 0); in EmulateMVNReg()
1708 Rd = Bits32(opcode, 15, 12); in EmulateMVNReg()
1709 Rm = Bits32(opcode, 3, 0); in EmulateMVNReg()
1784 Rt = Bits32(opcode, 10, 8); in EmulateLDRRtPCRelative()
1785 imm32 = Bits32(opcode, 7, 0) << 2; // imm32 = ZeroExtend(imm8:'00', 32); in EmulateLDRRtPCRelative()
1789 Rt = Bits32(opcode, 15, 12); in EmulateLDRRtPCRelative()
1790 imm32 = Bits32(opcode, 11, 0) << 2; // imm32 = ZeroExtend(imm12, 32); in EmulateLDRRtPCRelative()
1811 if (Bits32(address, 1, 0) == 0) { in EmulateLDRRtPCRelative()
1817 } else if (UnalignedSupport() || Bits32(address, 1, 0) == 0) { in EmulateLDRRtPCRelative()
1861 d = Bits32(opcode, 10, 8); in EmulateADDSPImm()
1862 imm32 = (Bits32(opcode, 7, 0) << 2); in EmulateADDSPImm()
1876 d = Bits32(opcode, 11, 8); in EmulateADDSPImm()
1892 d = Bits32(opcode, 11, 8); in EmulateADDSPImm()
1895 uint32_t imm3 = Bits32(opcode, 14, 12); in EmulateADDSPImm()
1896 uint32_t imm8 = Bits32(opcode, 7, 0); in EmulateADDSPImm()
1970 Rm = Bits32(opcode, 6, 3); in EmulateADDSPRm()
2036 uint32_t imm10 = Bits32(opcode, 25, 16); in EmulateBLXImmediate()
2039 uint32_t imm11 = Bits32(opcode, 10, 0); in EmulateBLXImmediate()
2055 uint32_t imm10H = Bits32(opcode, 25, 16); in EmulateBLXImmediate()
2058 uint32_t imm10L = Bits32(opcode, 10, 1); in EmulateBLXImmediate()
2073 imm32 = llvm::SignExtend32<26>(Bits32(opcode, 23, 0) << 2); in EmulateBLXImmediate()
2080 imm32 = llvm::SignExtend32<26>(Bits32(opcode, 23, 0) << 2 | in EmulateBLXImmediate()
2081 Bits32(opcode, 24, 24) << 1); in EmulateBLXImmediate()
2136 Rm = Bits32(opcode, 6, 3); in EmulateBLXRm()
2145 Rm = Bits32(opcode, 3, 0); in EmulateBLXRm()
2187 Rm = Bits32(opcode, 6, 3); in EmulateBXRm()
2192 Rm = Bits32(opcode, 3, 0); in EmulateBXRm()
2241 Rm = Bits32(opcode, 19, 16); in EmulateBXJRm()
2248 Rm = Bits32(opcode, 3, 0); in EmulateBXJRm()
2410 Rd = Bits32(opcode, 11, 8); in EmulateSUBSPImm()
2419 Rd = Bits32(opcode, 11, 8); in EmulateSUBSPImm()
2426 Rd = Bits32(opcode, 15, 12); in EmulateSUBSPImm()
2490 Rt = Bits32(opcode, 15, 12); in EmulateSTRRtSP()
2491 imm12 = Bits32(opcode, 11, 0); in EmulateSTRRtSP()
2492 Rn = Bits32(opcode, 19, 16); in EmulateSTRRtSP()
2590 d = Bit32(opcode, 22) << 4 | Bits32(opcode, 15, 12); in EmulateVPUSH()
2591 imm32 = Bits32(opcode, 7, 0) * addr_byte_size; in EmulateVPUSH()
2593 regs = Bits32(opcode, 7, 0) / 2; in EmulateVPUSH()
2601 d = Bits32(opcode, 15, 12) << 1 | Bit32(opcode, 22); in EmulateVPUSH()
2602 imm32 = Bits32(opcode, 7, 0) * addr_byte_size; in EmulateVPUSH()
2603 regs = Bits32(opcode, 7, 0); in EmulateVPUSH()
2682 d = Bit32(opcode, 22) << 4 | Bits32(opcode, 15, 12); in EmulateVPOP()
2683 imm32 = Bits32(opcode, 7, 0) * addr_byte_size; in EmulateVPOP()
2685 regs = Bits32(opcode, 7, 0) / 2; in EmulateVPOP()
2693 d = Bits32(opcode, 15, 12) << 1 | Bit32(opcode, 22); in EmulateVPOP()
2694 imm32 = Bits32(opcode, 7, 0) * addr_byte_size; in EmulateVPOP()
2695 regs = Bits32(opcode, 7, 0); in EmulateVPOP()
2761 imm32 = Bits32(opcode, 7, 0); in EmulateSVC()
2766 imm32 = Bits32(opcode, 23, 0); in EmulateSVC()
2792 m_it_session.InitIT(Bits32(opcode, 7, 0)); in EmulateIT()
2827 imm32 = llvm::SignExtend32<9>(Bits32(opcode, 7, 0) << 1); in EmulateB()
2832 imm32 = llvm::SignExtend32<12>(Bits32(opcode, 10, 0) << 1); in EmulateB()
2839 if (Bits32(opcode, 25, 23) == 7) in EmulateB()
2844 uint32_t imm6 = Bits32(opcode, 21, 16); in EmulateB()
2847 uint32_t imm11 = Bits32(opcode, 10, 0); in EmulateB()
2857 uint32_t imm10 = Bits32(opcode, 25, 16); in EmulateB()
2860 uint32_t imm11 = Bits32(opcode, 10, 0); in EmulateB()
2871 imm32 = llvm::SignExtend32<26>(Bits32(opcode, 23, 0) << 2); in EmulateB()
2899 uint32_t reg_val = ReadCoreReg(Bits32(opcode, 2, 0), &success); in EmulateCB()
2914 imm32 = Bit32(opcode, 9) << 6 | Bits32(opcode, 7, 3) << 1; in EmulateCB()
2963 Rn = Bits32(opcode, 19, 16); in EmulateTB()
2964 Rm = Bits32(opcode, 3, 0); in EmulateTB()
3043 d = Bits32(opcode, 2, 0); in EmulateADDImmThumb()
3044 n = Bits32(opcode, 5, 3); in EmulateADDImmThumb()
3046 imm32 = Bits32(opcode, 8, 6); in EmulateADDImmThumb()
3053 d = Bits32(opcode, 10, 8); in EmulateADDImmThumb()
3054 n = Bits32(opcode, 10, 8); in EmulateADDImmThumb()
3056 imm32 = Bits32(opcode, 7, 0); in EmulateADDImmThumb()
3064 d = Bits32(opcode, 11, 8); in EmulateADDImmThumb()
3065 n = Bits32(opcode, 19, 16); in EmulateADDImmThumb()
3083 d = Bits32(opcode, 11, 8); in EmulateADDImmThumb()
3084 n = Bits32(opcode, 19, 16); in EmulateADDImmThumb()
3087 uint32_t imm3 = Bits32(opcode, 14, 12); in EmulateADDImmThumb()
3088 uint32_t imm8 = Bits32(opcode, 7, 0); in EmulateADDImmThumb()
3164 Rd = Bits32(opcode, 15, 12); in EmulateADDImmARM()
3165 Rn = Bits32(opcode, 19, 16); in EmulateADDImmARM()
3230 Rd = Bits32(opcode, 2, 0); in EmulateADDReg()
3231 Rn = Bits32(opcode, 5, 3); in EmulateADDReg()
3232 Rm = Bits32(opcode, 8, 6); in EmulateADDReg()
3238 Rd = Rn = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0); in EmulateADDReg()
3239 Rm = Bits32(opcode, 6, 3); in EmulateADDReg()
3249 Rd = Bits32(opcode, 15, 12); in EmulateADDReg()
3250 Rn = Bits32(opcode, 19, 16); in EmulateADDReg()
3251 Rm = Bits32(opcode, 3, 0); in EmulateADDReg()
3310 Rn = Bits32(opcode, 19, 16); in EmulateCMNImm()
3316 Rn = Bits32(opcode, 19, 16); in EmulateCMNImm()
3360 Rn = Bits32(opcode, 2, 0); in EmulateCMNReg()
3361 Rm = Bits32(opcode, 5, 3); in EmulateCMNReg()
3366 Rn = Bits32(opcode, 19, 16); in EmulateCMNReg()
3367 Rm = Bits32(opcode, 3, 0); in EmulateCMNReg()
3374 Rn = Bits32(opcode, 19, 16); in EmulateCMNReg()
3375 Rm = Bits32(opcode, 3, 0); in EmulateCMNReg()
3423 Rn = Bits32(opcode, 10, 8); in EmulateCMPImm()
3424 imm32 = Bits32(opcode, 7, 0); in EmulateCMPImm()
3427 Rn = Bits32(opcode, 19, 16); in EmulateCMPImm()
3433 Rn = Bits32(opcode, 19, 16); in EmulateCMPImm()
3477 Rn = Bits32(opcode, 2, 0); in EmulateCMPReg()
3478 Rm = Bits32(opcode, 5, 3); in EmulateCMPReg()
3483 Rn = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0); in EmulateCMPReg()
3484 Rm = Bits32(opcode, 6, 3); in EmulateCMPReg()
3493 Rn = Bits32(opcode, 19, 16); in EmulateCMPReg()
3494 Rm = Bits32(opcode, 3, 0); in EmulateCMPReg()
3500 Rn = Bits32(opcode, 19, 16); in EmulateCMPReg()
3501 Rm = Bits32(opcode, 3, 0); in EmulateCMPReg()
3781 Rd = Bits32(opcode, 2, 0); in EmulateShiftImm()
3782 Rm = Bits32(opcode, 5, 3); in EmulateShiftImm()
3784 imm5 = Bits32(opcode, 10, 6); in EmulateShiftImm()
3792 Rd = Bits32(opcode, 11, 8); in EmulateShiftImm()
3793 Rm = Bits32(opcode, 3, 0); in EmulateShiftImm()
3795 imm5 = Bits32(opcode, 14, 12) << 2 | Bits32(opcode, 7, 6); in EmulateShiftImm()
3800 Rd = Bits32(opcode, 15, 12); in EmulateShiftImm()
3801 Rm = Bits32(opcode, 3, 0); in EmulateShiftImm()
3803 imm5 = Bits32(opcode, 11, 7); in EmulateShiftImm()
3856 Rd = Bits32(opcode, 2, 0); in EmulateShiftReg()
3858 Rm = Bits32(opcode, 5, 3); in EmulateShiftReg()
3862 Rd = Bits32(opcode, 11, 8); in EmulateShiftReg()
3863 Rn = Bits32(opcode, 19, 16); in EmulateShiftReg()
3864 Rm = Bits32(opcode, 3, 0); in EmulateShiftReg()
3870 Rd = Bits32(opcode, 15, 12); in EmulateShiftReg()
3871 Rn = Bits32(opcode, 3, 0); in EmulateShiftReg()
3872 Rm = Bits32(opcode, 11, 8); in EmulateShiftReg()
3891 uint32_t amt = Bits32(val, 7, 0); in EmulateShiftReg()
3940 n = Bits32(opcode, 10, 8); in EmulateLDM()
3941 registers = Bits32(opcode, 7, 0); in EmulateLDM()
3951 n = Bits32(opcode, 19, 16); in EmulateLDM()
3952 registers = Bits32(opcode, 15, 0); in EmulateLDM()
3973 n = Bits32(opcode, 19, 16); in EmulateLDM()
3974 registers = Bits32(opcode, 15, 0); in EmulateLDM()
4085 n = Bits32(opcode, 19, 16); in EmulateLDMDA()
4086 registers = Bits32(opcode, 15, 0); in EmulateLDMDA()
4199 n = Bits32(opcode, 19, 16); in EmulateLDMDB()
4200 registers = Bits32(opcode, 15, 0); in EmulateLDMDB()
4223 n = Bits32(opcode, 19, 16); in EmulateLDMDB()
4224 registers = Bits32(opcode, 15, 0); in EmulateLDMDB()
4337 n = Bits32(opcode, 19, 16); in EmulateLDMIB()
4338 registers = Bits32(opcode, 15, 0); in EmulateLDMIB()
4453 Rt = Bits32(opcode, 2, 0); in EmulateLDRRtRnImm()
4454 Rn = Bits32(opcode, 5, 3); in EmulateLDRRtRnImm()
4455 imm32 = Bits32(opcode, 10, 6) << 2; // imm32 = ZeroExtend(imm5:'00', 32); in EmulateLDRRtRnImm()
4465 Rt = Bits32(opcode, 10, 8); in EmulateLDRRtRnImm()
4467 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateLDRRtRnImm()
4479 Rt = Bits32(opcode, 15, 12); in EmulateLDRRtRnImm()
4480 Rn = Bits32(opcode, 19, 16); in EmulateLDRRtRnImm()
4481 imm32 = Bits32(opcode, 11, 0); in EmulateLDRRtRnImm()
4504 Rt = Bits32(opcode, 15, 12); in EmulateLDRRtRnImm()
4505 Rn = Bits32(opcode, 19, 16); in EmulateLDRRtRnImm()
4506 imm32 = Bits32(opcode, 7, 0); in EmulateLDRRtRnImm()
4565 if (Bits32(address, 1, 0) == 0) { in EmulateLDRRtRnImm()
4570 } else if (UnalignedSupport() || Bits32(address, 1, 0) == 0) { in EmulateLDRRtRnImm()
4617 n = Bits32(opcode, 10, 8); in EmulateSTM()
4618 registers = Bits32(opcode, 7, 0); in EmulateSTM()
4630 n = Bits32(opcode, 19, 16); in EmulateSTM()
4631 registers = Bits32(opcode, 15, 0); in EmulateSTM()
4647 n = Bits32(opcode, 19, 16); in EmulateSTM()
4648 registers = Bits32(opcode, 15, 0); in EmulateSTM()
4770 n = Bits32(opcode, 19, 16); in EmulateSTMDA()
4771 registers = Bits32(opcode, 15, 0); in EmulateSTMDA()
4892 if ((BitIsSet(opcode, 21)) && (Bits32(opcode, 19, 16) == 13)) { in EmulateSTMDB()
4896 n = Bits32(opcode, 19, 16); in EmulateSTMDB()
4897 registers = Bits32(opcode, 15, 0); in EmulateSTMDB()
4911 if (BitIsSet(opcode, 21) && (Bits32(opcode, 19, 16) == 13) && in EmulateSTMDB()
4912 BitCount(Bits32(opcode, 15, 0)) >= 2) { in EmulateSTMDB()
4916 n = Bits32(opcode, 19, 16); in EmulateSTMDB()
4917 registers = Bits32(opcode, 15, 0); in EmulateSTMDB()
5041 n = Bits32(opcode, 19, 16); in EmulateSTMIB()
5042 registers = Bits32(opcode, 15, 0); in EmulateSTMIB()
5159 t = Bits32(opcode, 2, 0); in EmulateSTRThumb()
5160 n = Bits32(opcode, 5, 3); in EmulateSTRThumb()
5161 imm32 = Bits32(opcode, 10, 6) << 2; in EmulateSTRThumb()
5171 t = Bits32(opcode, 10, 8); in EmulateSTRThumb()
5173 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateSTRThumb()
5183 if (Bits32(opcode, 19, 16) == 15) in EmulateSTRThumb()
5187 t = Bits32(opcode, 15, 12); in EmulateSTRThumb()
5188 n = Bits32(opcode, 19, 16); in EmulateSTRThumb()
5189 imm32 = Bits32(opcode, 11, 0); in EmulateSTRThumb()
5206 if ((Bits32(opcode, 19, 16) == 15) || in EmulateSTRThumb()
5211 t = Bits32(opcode, 15, 12); in EmulateSTRThumb()
5212 n = Bits32(opcode, 19, 16); in EmulateSTRThumb()
5213 imm32 = Bits32(opcode, 7, 0); in EmulateSTRThumb()
5336 t = Bits32(opcode, 2, 0); in EmulateSTRRegister()
5337 n = Bits32(opcode, 5, 3); in EmulateSTRRegister()
5338 m = Bits32(opcode, 8, 6); in EmulateSTRRegister()
5352 if (Bits32(opcode, 19, 16) == 15) in EmulateSTRRegister()
5356 t = Bits32(opcode, 15, 12); in EmulateSTRRegister()
5357 n = Bits32(opcode, 19, 16); in EmulateSTRRegister()
5358 m = Bits32(opcode, 3, 0); in EmulateSTRRegister()
5367 shift_n = Bits32(opcode, 5, 4); in EmulateSTRRegister()
5377 t = Bits32(opcode, 15, 12); in EmulateSTRRegister()
5378 n = Bits32(opcode, 19, 16); in EmulateSTRRegister()
5379 m = Bits32(opcode, 3, 0); in EmulateSTRRegister()
5388 uint32_t typ = Bits32(opcode, 6, 5); in EmulateSTRRegister()
5389 uint32_t imm5 = Bits32(opcode, 11, 7); in EmulateSTRRegister()
5511 t = Bits32(opcode, 2, 0); in EmulateSTRBThumb()
5512 n = Bits32(opcode, 5, 3); in EmulateSTRBThumb()
5513 imm32 = Bits32(opcode, 10, 6); in EmulateSTRBThumb()
5523 if (Bits32(opcode, 19, 16) == 15) in EmulateSTRBThumb()
5527 t = Bits32(opcode, 15, 12); in EmulateSTRBThumb()
5528 n = Bits32(opcode, 19, 16); in EmulateSTRBThumb()
5529 imm32 = Bits32(opcode, 11, 0); in EmulateSTRBThumb()
5544 if (Bits32(opcode, 19, 16) == 15) in EmulateSTRBThumb()
5548 t = Bits32(opcode, 15, 12); in EmulateSTRBThumb()
5549 n = Bits32(opcode, 19, 16); in EmulateSTRBThumb()
5550 imm32 = Bits32(opcode, 7, 0); in EmulateSTRBThumb()
5602 data = Bits32(data, 7, 0); in EmulateSTRBThumb()
5657 t = Bits32(opcode, 2, 0); in EmulateSTRHRegister()
5658 n = Bits32(opcode, 5, 3); in EmulateSTRHRegister()
5659 m = Bits32(opcode, 8, 6); in EmulateSTRHRegister()
5675 t = Bits32(opcode, 15, 12); in EmulateSTRHRegister()
5676 n = Bits32(opcode, 19, 16); in EmulateSTRHRegister()
5677 m = Bits32(opcode, 3, 0); in EmulateSTRHRegister()
5688 shift_n = Bits32(opcode, 5, 4); in EmulateSTRHRegister()
5699 t = Bits32(opcode, 15, 12); in EmulateSTRHRegister()
5700 n = Bits32(opcode, 19, 16); in EmulateSTRHRegister()
5701 m = Bits32(opcode, 3, 0); in EmulateSTRHRegister()
5779 if (!MemUWrite(context, address, Bits32(Rt, 15, 0), 2)) in EmulateSTRHRegister()
5829 Rd = Bits32(opcode, 11, 8); in EmulateADCImm()
5830 Rn = Bits32(opcode, 19, 16); in EmulateADCImm()
5837 Rd = Bits32(opcode, 15, 12); in EmulateADCImm()
5838 Rn = Bits32(opcode, 19, 16); in EmulateADCImm()
5899 Rd = Rn = Bits32(opcode, 2, 0); in EmulateADCReg()
5900 Rm = Bits32(opcode, 5, 3); in EmulateADCReg()
5906 Rd = Bits32(opcode, 11, 8); in EmulateADCReg()
5907 Rn = Bits32(opcode, 19, 16); in EmulateADCReg()
5908 Rm = Bits32(opcode, 3, 0); in EmulateADCReg()
5915 Rd = Bits32(opcode, 15, 12); in EmulateADCReg()
5916 Rn = Bits32(opcode, 19, 16); in EmulateADCReg()
5917 Rm = Bits32(opcode, 3, 0); in EmulateADCReg()
5977 Rd = Bits32(opcode, 10, 8); in EmulateADR()
5983 Rd = Bits32(opcode, 11, 8); in EmulateADR()
5985 add = (Bits32(opcode, 24, 21) == 0); // 0b0000 => ADD; 0b0101 => SUB in EmulateADR()
5991 Rd = Bits32(opcode, 15, 12); in EmulateADR()
5993 add = (Bits32(opcode, 24, 21) == 0x4); // 0b0100 => ADD; 0b0010 => SUB in EmulateADR()
6047 Rd = Bits32(opcode, 11, 8); in EmulateANDImm()
6048 Rn = Bits32(opcode, 19, 16); in EmulateANDImm()
6060 Rd = Bits32(opcode, 15, 12); in EmulateANDImm()
6061 Rn = Bits32(opcode, 19, 16); in EmulateANDImm()
6123 Rd = Rn = Bits32(opcode, 2, 0); in EmulateANDReg()
6124 Rm = Bits32(opcode, 5, 3); in EmulateANDReg()
6130 Rd = Bits32(opcode, 11, 8); in EmulateANDReg()
6131 Rn = Bits32(opcode, 19, 16); in EmulateANDReg()
6132 Rm = Bits32(opcode, 3, 0); in EmulateANDReg()
6142 Rd = Bits32(opcode, 15, 12); in EmulateANDReg()
6143 Rn = Bits32(opcode, 19, 16); in EmulateANDReg()
6144 Rm = Bits32(opcode, 3, 0); in EmulateANDReg()
6212 Rd = Bits32(opcode, 11, 8); in EmulateBICImm()
6213 Rn = Bits32(opcode, 19, 16); in EmulateBICImm()
6222 Rd = Bits32(opcode, 15, 12); in EmulateBICImm()
6223 Rn = Bits32(opcode, 19, 16); in EmulateBICImm()
6288 Rd = Rn = Bits32(opcode, 2, 0); in EmulateBICReg()
6289 Rm = Bits32(opcode, 5, 3); in EmulateBICReg()
6295 Rd = Bits32(opcode, 11, 8); in EmulateBICReg()
6296 Rn = Bits32(opcode, 19, 16); in EmulateBICReg()
6297 Rm = Bits32(opcode, 3, 0); in EmulateBICReg()
6304 Rd = Bits32(opcode, 15, 12); in EmulateBICReg()
6305 Rn = Bits32(opcode, 19, 16); in EmulateBICReg()
6306 Rm = Bits32(opcode, 3, 0); in EmulateBICReg()
6384 t = Bits32(opcode, 15, 12); in EmulateLDRImmediateARM()
6385 n = Bits32(opcode, 19, 16); in EmulateLDRImmediateARM()
6386 imm32 = Bits32(opcode, 11, 0); in EmulateLDRImmediateARM()
6468 data = ROR(data, Bits32(address, 1, 0), &success); in EmulateLDRImmediateARM()
6525 t = Bits32(opcode, 2, 0); in EmulateLDRRegister()
6526 n = Bits32(opcode, 5, 3); in EmulateLDRRegister()
6527 m = Bits32(opcode, 8, 6); in EmulateLDRRegister()
6543 t = Bits32(opcode, 15, 12); in EmulateLDRRegister()
6544 n = Bits32(opcode, 19, 16); in EmulateLDRRegister()
6545 m = Bits32(opcode, 3, 0); in EmulateLDRRegister()
6554 shift_n = Bits32(opcode, 5, 4); in EmulateLDRRegister()
6569 t = Bits32(opcode, 15, 12); in EmulateLDRRegister()
6570 n = Bits32(opcode, 19, 16); in EmulateLDRRegister()
6571 m = Bits32(opcode, 3, 0); in EmulateLDRRegister()
6580 uint32_t type = Bits32(opcode, 6, 5); in EmulateLDRRegister()
6581 uint32_t imm5 = Bits32(opcode, 11, 7); in EmulateLDRRegister()
6674 data = ROR(data, Bits32(address, 1, 0), &success); in EmulateLDRRegister()
6717 t = Bits32(opcode, 2, 0); in EmulateLDRBImmediate()
6718 n = Bits32(opcode, 5, 3); in EmulateLDRBImmediate()
6719 imm32 = Bits32(opcode, 10, 6); in EmulateLDRBImmediate()
6730 t = Bits32(opcode, 15, 12); in EmulateLDRBImmediate()
6731 n = Bits32(opcode, 19, 16); in EmulateLDRBImmediate()
6732 imm32 = Bits32(opcode, 11, 0); in EmulateLDRBImmediate()
6760 t = Bits32(opcode, 15, 12); in EmulateLDRBImmediate()
6761 n = Bits32(opcode, 19, 16); in EmulateLDRBImmediate()
6762 imm32 = Bits32(opcode, 7, 0); in EmulateLDRBImmediate()
6858 t = Bits32(opcode, 15, 12); in EmulateLDRBLiteral()
6859 imm32 = Bits32(opcode, 11, 0); in EmulateLDRBLiteral()
6874 t = Bits32(opcode, 15, 12); in EmulateLDRBLiteral()
6875 imm32 = Bits32(opcode, 11, 0); in EmulateLDRBLiteral()
6948 t = Bits32(opcode, 2, 0); in EmulateLDRBRegister()
6949 n = Bits32(opcode, 5, 3); in EmulateLDRBRegister()
6950 m = Bits32(opcode, 8, 6); in EmulateLDRBRegister()
6964 t = Bits32(opcode, 15, 12); in EmulateLDRBRegister()
6965 n = Bits32(opcode, 19, 16); in EmulateLDRBRegister()
6966 m = Bits32(opcode, 3, 0); in EmulateLDRBRegister()
6975 shift_n = Bits32(opcode, 5, 4); in EmulateLDRBRegister()
6993 t = Bits32(opcode, 15, 12); in EmulateLDRBRegister()
6994 n = Bits32(opcode, 19, 16); in EmulateLDRBRegister()
6995 m = Bits32(opcode, 3, 0); in EmulateLDRBRegister()
7004 uint32_t type = Bits32(opcode, 6, 5); in EmulateLDRBRegister()
7005 uint32_t imm5 = Bits32(opcode, 11, 7); in EmulateLDRBRegister()
7111 t = Bits32(opcode, 2, 0); in EmulateLDRHImmediate()
7112 n = Bits32(opcode, 5, 3); in EmulateLDRHImmediate()
7113 imm32 = Bits32(opcode, 10, 6) << 1; in EmulateLDRHImmediate()
7126 t = Bits32(opcode, 15, 12); in EmulateLDRHImmediate()
7127 n = Bits32(opcode, 19, 16); in EmulateLDRHImmediate()
7128 imm32 = Bits32(opcode, 11, 0); in EmulateLDRHImmediate()
7150 t = Bits32(opcode, 15, 12); in EmulateLDRHImmediate()
7151 n = Bits32(opcode, 19, 16); in EmulateLDRHImmediate()
7152 imm32 = Bits32(opcode, 7, 0); in EmulateLDRHImmediate()
7255 t = Bits32(opcode, 15, 12); in EmulateLDRHLiteral()
7256 imm32 = Bits32(opcode, 11, 0); in EmulateLDRHLiteral()
7266 uint32_t imm4H = Bits32(opcode, 11, 8); in EmulateLDRHLiteral()
7267 uint32_t imm4L = Bits32(opcode, 3, 0); in EmulateLDRHLiteral()
7270 t = Bits32(opcode, 15, 12); in EmulateLDRHLiteral()
7367 t = Bits32(opcode, 2, 0); in EmulateLDRHRegister()
7368 n = Bits32(opcode, 5, 3); in EmulateLDRHRegister()
7369 m = Bits32(opcode, 8, 6); in EmulateLDRHRegister()
7386 t = Bits32(opcode, 15, 12); in EmulateLDRHRegister()
7387 n = Bits32(opcode, 19, 16); in EmulateLDRHRegister()
7388 m = Bits32(opcode, 3, 0); in EmulateLDRHRegister()
7397 shift_n = Bits32(opcode, 5, 4); in EmulateLDRHRegister()
7407 t = Bits32(opcode, 15, 12); in EmulateLDRHRegister()
7408 n = Bits32(opcode, 19, 16); in EmulateLDRHRegister()
7409 m = Bits32(opcode, 3, 0); in EmulateLDRHRegister()
7536 t = Bits32(opcode, 15, 12); in EmulateLDRSBImmediate()
7537 n = Bits32(opcode, 19, 16); in EmulateLDRSBImmediate()
7538 imm32 = Bits32(opcode, 11, 0); in EmulateLDRSBImmediate()
7560 t = Bits32(opcode, 15, 12); in EmulateLDRSBImmediate()
7561 n = Bits32(opcode, 19, 16); in EmulateLDRSBImmediate()
7562 imm32 = Bits32(opcode, 7, 0); in EmulateLDRSBImmediate()
7582 t = Bits32(opcode, 15, 12); in EmulateLDRSBImmediate()
7583 n = Bits32(opcode, 19, 16); in EmulateLDRSBImmediate()
7585 uint32_t imm4H = Bits32(opcode, 11, 8); in EmulateLDRSBImmediate()
7586 uint32_t imm4L = Bits32(opcode, 3, 0); in EmulateLDRSBImmediate()
7680 t = Bits32(opcode, 15, 12); in EmulateLDRSBLiteral()
7681 imm32 = Bits32(opcode, 11, 0); in EmulateLDRSBLiteral()
7692 t = Bits32(opcode, 15, 12); in EmulateLDRSBLiteral()
7693 uint32_t imm4H = Bits32(opcode, 11, 8); in EmulateLDRSBLiteral()
7694 uint32_t imm4L = Bits32(opcode, 3, 0); in EmulateLDRSBLiteral()
7774 t = Bits32(opcode, 2, 0); in EmulateLDRSBRegister()
7775 n = Bits32(opcode, 5, 3); in EmulateLDRSBRegister()
7776 m = Bits32(opcode, 8, 6); in EmulateLDRSBRegister()
7793 t = Bits32(opcode, 15, 12); in EmulateLDRSBRegister()
7794 n = Bits32(opcode, 19, 16); in EmulateLDRSBRegister()
7795 m = Bits32(opcode, 3, 0); in EmulateLDRSBRegister()
7804 shift_n = Bits32(opcode, 5, 4); in EmulateLDRSBRegister()
7814 t = Bits32(opcode, 15, 12); in EmulateLDRSBRegister()
7815 n = Bits32(opcode, 19, 16); in EmulateLDRSBRegister()
7816 m = Bits32(opcode, 3, 0); in EmulateLDRSBRegister()
7937 t = Bits32(opcode, 15, 12); in EmulateLDRSHImmediate()
7938 n = Bits32(opcode, 19, 16); in EmulateLDRSHImmediate()
7939 imm32 = Bits32(opcode, 11, 0); in EmulateLDRSHImmediate()
7962 t = Bits32(opcode, 15, 12); in EmulateLDRSHImmediate()
7963 n = Bits32(opcode, 19, 16); in EmulateLDRSHImmediate()
7964 imm32 = Bits32(opcode, 7, 0); in EmulateLDRSHImmediate()
7981 t = Bits32(opcode, 15, 12); in EmulateLDRSHImmediate()
7982 n = Bits32(opcode, 19, 16); in EmulateLDRSHImmediate()
7983 uint32_t imm4H = Bits32(opcode, 11, 8); in EmulateLDRSHImmediate()
7984 uint32_t imm4L = Bits32(opcode, 3, 0); in EmulateLDRSHImmediate()
8091 t = Bits32(opcode, 15, 12); in EmulateLDRSHLiteral()
8092 imm32 = Bits32(opcode, 11, 0); in EmulateLDRSHLiteral()
8103 t = Bits32(opcode, 15, 12); in EmulateLDRSHLiteral()
8104 uint32_t imm4H = Bits32(opcode, 11, 8); in EmulateLDRSHLiteral()
8105 uint32_t imm4L = Bits32(opcode, 3, 0); in EmulateLDRSHLiteral()
8200 t = Bits32(opcode, 2, 0); in EmulateLDRSHRegister()
8201 n = Bits32(opcode, 5, 3); in EmulateLDRSHRegister()
8202 m = Bits32(opcode, 8, 6); in EmulateLDRSHRegister()
8219 t = Bits32(opcode, 15, 12); in EmulateLDRSHRegister()
8220 n = Bits32(opcode, 19, 16); in EmulateLDRSHRegister()
8221 m = Bits32(opcode, 3, 0); in EmulateLDRSHRegister()
8230 shift_n = Bits32(opcode, 5, 4); in EmulateLDRSHRegister()
8241 t = Bits32(opcode, 15, 12); in EmulateLDRSHRegister()
8242 n = Bits32(opcode, 19, 16); in EmulateLDRSHRegister()
8243 m = Bits32(opcode, 3, 0); in EmulateLDRSHRegister()
8366 d = Bits32(opcode, 2, 0); in EmulateSXTB()
8367 m = Bits32(opcode, 5, 3); in EmulateSXTB()
8374 d = Bits32(opcode, 11, 8); in EmulateSXTB()
8375 m = Bits32(opcode, 3, 0); in EmulateSXTB()
8376 rotation = Bits32(opcode, 5, 4) << 3; in EmulateSXTB()
8386 d = Bits32(opcode, 15, 12); in EmulateSXTB()
8387 m = Bits32(opcode, 3, 0); in EmulateSXTB()
8388 rotation = Bits32(opcode, 11, 10) << 3; in EmulateSXTB()
8451 d = Bits32(opcode, 2, 0); in EmulateSXTH()
8452 m = Bits32(opcode, 5, 3); in EmulateSXTH()
8459 d = Bits32(opcode, 11, 8); in EmulateSXTH()
8460 m = Bits32(opcode, 3, 0); in EmulateSXTH()
8461 rotation = Bits32(opcode, 5, 4) << 3; in EmulateSXTH()
8471 d = Bits32(opcode, 15, 12); in EmulateSXTH()
8472 m = Bits32(opcode, 3, 0); in EmulateSXTH()
8473 rotation = Bits32(opcode, 11, 10) << 3; in EmulateSXTH()
8536 d = Bits32(opcode, 2, 0); in EmulateUXTB()
8537 m = Bits32(opcode, 5, 3); in EmulateUXTB()
8544 d = Bits32(opcode, 11, 8); in EmulateUXTB()
8545 m = Bits32(opcode, 3, 0); in EmulateUXTB()
8546 rotation = Bits32(opcode, 5, 4) << 3; in EmulateUXTB()
8556 d = Bits32(opcode, 15, 12); in EmulateUXTB()
8557 m = Bits32(opcode, 3, 0); in EmulateUXTB()
8558 rotation = Bits32(opcode, 11, 10) << 3; in EmulateUXTB()
8589 Bits32(rotated, 7, 0))) in EmulateUXTB()
8618 d = Bits32(opcode, 2, 0); in EmulateUXTH()
8619 m = Bits32(opcode, 5, 3); in EmulateUXTH()
8626 d = Bits32(opcode, 11, 8); in EmulateUXTH()
8627 m = Bits32(opcode, 3, 0); in EmulateUXTH()
8628 rotation = Bits32(opcode, 5, 4) << 3; in EmulateUXTH()
8638 d = Bits32(opcode, 15, 12); in EmulateUXTH()
8639 m = Bits32(opcode, 3, 0); in EmulateUXTH()
8640 rotation = Bits32(opcode, 11, 10) << 3; in EmulateUXTH()
8671 Bits32(rotated, 15, 0))) in EmulateUXTH()
8708 n = Bits32(opcode, 19, 16); in EmulateRFE()
8725 n = Bits32(opcode, 19, 16); in EmulateRFE()
8742 n = Bits32(opcode, 19, 16); in EmulateRFE()
8854 Rd = Bits32(opcode, 11, 8); in EmulateEORImm()
8855 Rn = Bits32(opcode, 19, 16); in EmulateEORImm()
8867 Rd = Bits32(opcode, 15, 12); in EmulateEORImm()
8868 Rn = Bits32(opcode, 19, 16); in EmulateEORImm()
8933 Rd = Rn = Bits32(opcode, 2, 0); in EmulateEORReg()
8934 Rm = Bits32(opcode, 5, 3); in EmulateEORReg()
8940 Rd = Bits32(opcode, 11, 8); in EmulateEORReg()
8941 Rn = Bits32(opcode, 19, 16); in EmulateEORReg()
8942 Rm = Bits32(opcode, 3, 0); in EmulateEORReg()
8952 Rd = Bits32(opcode, 15, 12); in EmulateEORReg()
8953 Rn = Bits32(opcode, 19, 16); in EmulateEORReg()
8954 Rm = Bits32(opcode, 3, 0); in EmulateEORReg()
9023 Rd = Bits32(opcode, 11, 8); in EmulateORRImm()
9024 Rn = Bits32(opcode, 19, 16); in EmulateORRImm()
9036 Rd = Bits32(opcode, 15, 12); in EmulateORRImm()
9037 Rn = Bits32(opcode, 19, 16); in EmulateORRImm()
9100 Rd = Rn = Bits32(opcode, 2, 0); in EmulateORRReg()
9101 Rm = Bits32(opcode, 5, 3); in EmulateORRReg()
9107 Rd = Bits32(opcode, 11, 8); in EmulateORRReg()
9108 Rn = Bits32(opcode, 19, 16); in EmulateORRReg()
9109 Rm = Bits32(opcode, 3, 0); in EmulateORRReg()
9119 Rd = Bits32(opcode, 15, 12); in EmulateORRReg()
9120 Rn = Bits32(opcode, 19, 16); in EmulateORRReg()
9121 Rm = Bits32(opcode, 3, 0); in EmulateORRReg()
9187 Rd = Bits32(opcode, 2, 0); in EmulateRSBImm()
9188 Rn = Bits32(opcode, 5, 3); in EmulateRSBImm()
9193 Rd = Bits32(opcode, 11, 8); in EmulateRSBImm()
9194 Rn = Bits32(opcode, 19, 16); in EmulateRSBImm()
9201 Rd = Bits32(opcode, 15, 12); in EmulateRSBImm()
9202 Rn = Bits32(opcode, 19, 16); in EmulateRSBImm()
9261 Rd = Bits32(opcode, 11, 8); in EmulateRSBReg()
9262 Rn = Bits32(opcode, 19, 16); in EmulateRSBReg()
9263 Rm = Bits32(opcode, 3, 0); in EmulateRSBReg()
9271 Rd = Bits32(opcode, 15, 12); in EmulateRSBReg()
9272 Rn = Bits32(opcode, 19, 16); in EmulateRSBReg()
9273 Rm = Bits32(opcode, 3, 0); in EmulateRSBReg()
9338 Rd = Bits32(opcode, 15, 12); in EmulateRSCImm()
9339 Rn = Bits32(opcode, 19, 16); in EmulateRSCImm()
9399 Rd = Bits32(opcode, 15, 12); in EmulateRSCReg()
9400 Rn = Bits32(opcode, 19, 16); in EmulateRSCReg()
9401 Rm = Bits32(opcode, 3, 0); in EmulateRSCReg()
9467 Rd = Bits32(opcode, 11, 8); in EmulateSBCImm()
9468 Rn = Bits32(opcode, 19, 16); in EmulateSBCImm()
9475 Rd = Bits32(opcode, 15, 12); in EmulateSBCImm()
9476 Rn = Bits32(opcode, 19, 16); in EmulateSBCImm()
9537 Rd = Rn = Bits32(opcode, 2, 0); in EmulateSBCReg()
9538 Rm = Bits32(opcode, 5, 3); in EmulateSBCReg()
9544 Rd = Bits32(opcode, 11, 8); in EmulateSBCReg()
9545 Rn = Bits32(opcode, 19, 16); in EmulateSBCReg()
9546 Rm = Bits32(opcode, 3, 0); in EmulateSBCReg()
9553 Rd = Bits32(opcode, 15, 12); in EmulateSBCReg()
9554 Rn = Bits32(opcode, 19, 16); in EmulateSBCReg()
9555 Rm = Bits32(opcode, 3, 0); in EmulateSBCReg()
9616 Rd = Bits32(opcode, 2, 0); in EmulateSUBImmThumb()
9617 Rn = Bits32(opcode, 5, 3); in EmulateSUBImmThumb()
9619 imm32 = Bits32(opcode, 8, 6); // imm32 = ZeroExtend(imm3, 32) in EmulateSUBImmThumb()
9622 Rd = Rn = Bits32(opcode, 10, 8); in EmulateSUBImmThumb()
9624 imm32 = Bits32(opcode, 7, 0); // imm32 = ZeroExtend(imm8, 32) in EmulateSUBImmThumb()
9627 Rd = Bits32(opcode, 11, 8); in EmulateSUBImmThumb()
9628 Rn = Bits32(opcode, 19, 16); in EmulateSUBImmThumb()
9645 Rd = Bits32(opcode, 11, 8); in EmulateSUBImmThumb()
9646 Rn = Bits32(opcode, 19, 16); in EmulateSUBImmThumb()
9710 Rd = Bits32(opcode, 15, 12); in EmulateSUBImmARM()
9711 Rn = Bits32(opcode, 19, 16); in EmulateSUBImmARM()
9781 Rn = Bits32(opcode, 19, 16); in EmulateTEQImm()
9789 Rn = Bits32(opcode, 19, 16); in EmulateTEQImm()
9841 Rn = Bits32(opcode, 19, 16); in EmulateTEQReg()
9842 Rm = Bits32(opcode, 3, 0); in EmulateTEQReg()
9848 Rn = Bits32(opcode, 19, 16); in EmulateTEQReg()
9849 Rm = Bits32(opcode, 3, 0); in EmulateTEQReg()
9906 Rn = Bits32(opcode, 19, 16); in EmulateTSTImm()
9914 Rn = Bits32(opcode, 19, 16); in EmulateTSTImm()
9966 Rn = Bits32(opcode, 2, 0); in EmulateTSTReg()
9967 Rm = Bits32(opcode, 5, 3); in EmulateTSTReg()
9972 Rn = Bits32(opcode, 19, 16); in EmulateTSTReg()
9973 Rm = Bits32(opcode, 3, 0); in EmulateTSTReg()
9979 Rn = Bits32(opcode, 19, 16); in EmulateTSTReg()
9980 Rm = Bits32(opcode, 3, 0); in EmulateTSTReg()
10043 d = Bits32(opcode, 11, 8); in EmulateSUBSPReg()
10044 m = Bits32(opcode, 3, 0); in EmulateSUBSPReg()
10062 d = Bits32(opcode, 15, 12); in EmulateSUBSPReg()
10063 m = Bits32(opcode, 3, 0); in EmulateSUBSPReg()
10140 d = Bits32(opcode, 15, 12); in EmulateADDRegShift()
10141 n = Bits32(opcode, 19, 16); in EmulateADDRegShift()
10142 m = Bits32(opcode, 3, 0); in EmulateADDRegShift()
10143 s = Bits32(opcode, 11, 8); in EmulateADDRegShift()
10147 shift_t = DecodeRegShift(Bits32(opcode, 6, 5)); in EmulateADDRegShift()
10163 uint32_t shift_n = Bits32(Rs, 7, 0); in EmulateADDRegShift()
10238 d = Bits32(opcode, 2, 0); in EmulateSUBReg()
10239 n = Bits32(opcode, 5, 3); in EmulateSUBReg()
10240 m = Bits32(opcode, 8, 6); in EmulateSUBReg()
10251 d = Bits32(opcode, 11, 8); in EmulateSUBReg()
10252 n = Bits32(opcode, 19, 16); in EmulateSUBReg()
10253 m = Bits32(opcode, 3, 0); in EmulateSUBReg()
10278 d = Bits32(opcode, 15, 12); in EmulateSUBReg()
10279 n = Bits32(opcode, 19, 16); in EmulateSUBReg()
10280 m = Bits32(opcode, 3, 0); in EmulateSUBReg()
10368 d = Bits32(opcode, 11, 8); in EmulateSTREX()
10369 t = Bits32(opcode, 15, 12); in EmulateSTREX()
10370 n = Bits32(opcode, 19, 16); in EmulateSTREX()
10371 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateSTREX()
10386 d = Bits32(opcode, 15, 12); in EmulateSTREX()
10387 t = Bits32(opcode, 3, 0); in EmulateSTREX()
10388 n = Bits32(opcode, 19, 16); in EmulateSTREX()
10477 t = Bits32(opcode, 15, 12); in EmulateSTRBImmARM()
10478 n = Bits32(opcode, 19, 16); in EmulateSTRBImmARM()
10479 imm32 = Bits32(opcode, 11, 0); in EmulateSTRBImmARM()
10531 if (!MemUWrite(context, address, Bits32(Rt, 7, 0), 1)) in EmulateSTRBImmARM()
10574 t = Bits32(opcode, 15, 12); in EmulateSTRImmARM()
10575 n = Bits32(opcode, 19, 16); in EmulateSTRImmARM()
10576 imm32 = Bits32(opcode, 11, 0); in EmulateSTRImmARM()
10683 t = Bits32(opcode, 15, 12); in EmulateLDRDImmediate()
10684 t2 = Bits32(opcode, 11, 8); in EmulateLDRDImmediate()
10685 n = Bits32(opcode, 19, 16); in EmulateLDRDImmediate()
10686 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateLDRDImmediate()
10708 t = Bits32(opcode, 15, 12); in EmulateLDRDImmediate()
10712 n = Bits32(opcode, 19, 16); in EmulateLDRDImmediate()
10713 imm32 = (Bits32(opcode, 11, 8) << 4) | Bits32(opcode, 3, 0); in EmulateLDRDImmediate()
10829 t = Bits32(opcode, 15, 12); in EmulateLDRDRegister()
10833 n = Bits32(opcode, 19, 16); in EmulateLDRDRegister()
10834 m = Bits32(opcode, 3, 0); in EmulateLDRDRegister()
10959 t = Bits32(opcode, 15, 12); in EmulateSTRDImm()
10960 t2 = Bits32(opcode, 11, 8); in EmulateSTRDImm()
10961 n = Bits32(opcode, 19, 16); in EmulateSTRDImm()
10962 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateSTRDImm()
10983 t = Bits32(opcode, 15, 12); in EmulateSTRDImm()
10988 n = Bits32(opcode, 19, 16); in EmulateSTRDImm()
10989 imm32 = (Bits32(opcode, 11, 8) << 4) | Bits32(opcode, 3, 0); in EmulateSTRDImm()
11111 t = Bits32(opcode, 15, 12); in EmulateSTRDReg()
11116 n = Bits32(opcode, 19, 16); in EmulateSTRDReg()
11117 m = Bits32(opcode, 3, 0); in EmulateSTRDReg()
11268 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVLDM()
11269 n = Bits32(opcode, 19, 16); in EmulateVLDM()
11270 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVLDM()
11273 regs = Bits32(opcode, 7, 0) / 2; in EmulateVLDM()
11302 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22); in EmulateVLDM()
11303 n = Bits32(opcode, 19, 16); in EmulateVLDM()
11306 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVLDM()
11307 regs = Bits32(opcode, 7, 0); in EmulateVLDM()
11462 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVSTM()
11463 n = Bits32(opcode, 19, 16); in EmulateVSTM()
11464 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVSTM()
11467 regs = Bits32(opcode, 7, 0) / 2; in EmulateVSTM()
11496 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22); in EmulateVSTM()
11497 n = Bits32(opcode, 19, 16); in EmulateVSTM()
11500 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVSTM()
11501 regs = Bits32(opcode, 7, 0); in EmulateVSTM()
11652 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVLDR()
11655 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVLDR()
11656 n = Bits32(opcode, 19, 16); in EmulateVLDR()
11665 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVLDR()
11668 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22); in EmulateVLDR()
11669 n = Bits32(opcode, 19, 16); in EmulateVLDR()
11778 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVSTR()
11781 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVSTR()
11782 n = Bits32(opcode, 19, 16); in EmulateVSTR()
11795 imm32 = Bits32(opcode, 7, 0) << 2; in EmulateVSTR()
11798 d = (Bits32(opcode, 15, 12) << 1) | Bit32(opcode, 22); in EmulateVSTR()
11799 n = Bits32(opcode, 19, 16); in EmulateVSTR()
11921 uint32_t type = Bits32(opcode, 11, 8); in EmulateVLD1Multiple()
11922 uint32_t align = Bits32(opcode, 5, 4); in EmulateVLD1Multiple()
11952 ebytes = 1 << Bits32(opcode, 7, 6); in EmulateVLD1Multiple()
11957 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVLD1Multiple()
11958 n = Bits32(opcode, 19, 15); in EmulateVLD1Multiple()
11959 m = Bits32(opcode, 3, 0); in EmulateVLD1Multiple()
12064 uint32_t size = Bits32(opcode, 11, 10); in EmulateVLD1Single()
12065 uint32_t index_align = Bits32(opcode, 7, 4); in EmulateVLD1Single()
12079 index = Bits32(index_align, 3, 1); in EmulateVLD1Single()
12090 index = Bits32(index_align, 3, 2); in EmulateVLD1Single()
12105 if ((Bits32(index_align, 1, 0) != 0) && in EmulateVLD1Single()
12106 (Bits32(index_align, 1, 0) != 3)) in EmulateVLD1Single()
12115 if (Bits32(index_align, 1, 0) == 0) in EmulateVLD1Single()
12123 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVLD1Single()
12124 n = Bits32(opcode, 19, 16); in EmulateVLD1Single()
12125 m = Bits32(opcode, 3, 0); in EmulateVLD1Single()
12245 uint32_t type = Bits32(opcode, 11, 8); in EmulateVST1Multiple()
12246 uint32_t align = Bits32(opcode, 5, 4); in EmulateVST1Multiple()
12281 ebytes = 1 << Bits32(opcode, 7, 6); in EmulateVST1Multiple()
12286 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVST1Multiple()
12287 n = Bits32(opcode, 19, 16); in EmulateVST1Multiple()
12288 m = Bits32(opcode, 3, 0); in EmulateVST1Multiple()
12397 uint32_t size = Bits32(opcode, 11, 10); in EmulateVST1Single()
12398 uint32_t index_align = Bits32(opcode, 7, 4); in EmulateVST1Single()
12413 index = Bits32(index_align, 3, 1); in EmulateVST1Single()
12424 index = Bits32(index_align, 3, 2); in EmulateVST1Single()
12439 if ((Bits32(index_align, 1, 0) != 0) && in EmulateVST1Single()
12440 (Bits32(index_align, 1, 0) != 3)) in EmulateVST1Single()
12449 if (Bits32(index_align, 1, 0) == 0) in EmulateVST1Single()
12457 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVST1Single()
12458 n = Bits32(opcode, 19, 16); in EmulateVST1Single()
12459 m = Bits32(opcode, 3, 0); in EmulateVST1Single()
12559 uint32_t size = Bits32(opcode, 7, 6); in EmulateVLD1SingleAll()
12579 d = (Bit32(opcode, 22) << 4) | Bits32(opcode, 15, 12); in EmulateVLD1SingleAll()
12580 n = Bits32(opcode, 19, 16); in EmulateVLD1SingleAll()
12581 m = Bits32(opcode, 3, 0); in EmulateVLD1SingleAll()
12703 imm32 = Bits32(opcode, 7, 0); in EmulateSUBSPcLrEtc()
12715 n = Bits32(opcode, 19, 16); in EmulateSUBSPcLrEtc()
12718 code = Bits32(opcode, 24, 21); in EmulateSUBSPcLrEtc()
12724 n = Bits32(opcode, 19, 16); in EmulateSUBSPcLrEtc()
12725 m = Bits32(opcode, 3, 0); in EmulateSUBSPcLrEtc()
13865 uint32_t it = (Bits32(m_opcode_cpsr, 15, 10) << 2) | in ReadInstruction()
13866 Bits32(m_opcode_cpsr, 26, 25); in ReadInstruction()
13968 if (Bits32(opcode, 15, 12) == 0x0d && Bits32(opcode, 11, 8) != 0x0f) in CurrentCond()
13969 return Bits32(opcode, 11, 8); in CurrentCond()
13971 if (Bits32(opcode, 31, 27) == 0x1e && Bits32(opcode, 15, 14) == 0x02 && in CurrentCond()
13972 Bits32(opcode, 12, 12) == 0x00 && Bits32(opcode, 25, 22) <= 0x0d) { in CurrentCond()
13973 return Bits32(opcode, 25, 22); in CurrentCond()
14019 uint32_t mode = Bits32(m_opcode_cpsr, 4, 0); in CurrentModeIsPrivileged()
14034 uint32_t tmp_cpsr = Bits32(m_opcode_cpsr, 23, 20) << 20; in CPSRWriteByInstr()
14037 tmp_cpsr = tmp_cpsr | (Bits32(value, 31, 27) << 27); in CPSRWriteByInstr()
14039 tmp_cpsr = tmp_cpsr | (Bits32(value, 26, 24) << 24); in CPSRWriteByInstr()
14043 tmp_cpsr = tmp_cpsr | (Bits32(value, 19, 16) << 16); in CPSRWriteByInstr()
14048 tmp_cpsr = tmp_cpsr | (Bits32(value, 15, 10) << 10); in CPSRWriteByInstr()
14056 tmp_cpsr = tmp_cpsr | (Bits32(value, 7, 6) << 6); in CPSRWriteByInstr()
14060 tmp_cpsr = tmp_cpsr | Bits32(value, 4, 0); in CPSRWriteByInstr()