Lines Matching refs:BitIsSet

976       if (BitIsSet(registers, i)) {  in EmulatePUSH()
988 if (BitIsSet(registers, 15)) { in EmulatePUSH()
1060 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulatePOP()
1080 if (BitIsSet(opcode, 13) && ArchVersion() >= ARMv7) in EmulatePOP()
1104 if (BitIsSet(registers, i)) { in EmulatePOP()
1116 if (BitIsSet(registers, 15)) { in EmulatePOP()
1306 setflags = BitIsSet(opcode, 20); in EmulateMOVRdRm()
1318 setflags = BitIsSet(opcode, 20); in EmulateMOVRdRm()
1392 setflags = BitIsSet(opcode, 20); in EmulateMOVRdImm()
1419 setflags = BitIsSet(opcode, 20); in EmulateMOVRdImm()
1523 setflags = BitIsSet(opcode, 20); in EmulateMUL()
1623 setflags = BitIsSet(opcode, 20); in EmulateMVNImm()
1628 setflags = BitIsSet(opcode, 20); in EmulateMVNImm()
1696 setflags = BitIsSet(opcode, 20); in EmulateMVNReg()
1705 setflags = BitIsSet(opcode, 20); in EmulateMVNReg()
1786 add = BitIsSet(opcode, 23); in EmulateLDRRtPCRelative()
2406 setflags = BitIsSet(opcode, 20); in EmulateSUBSPImm()
2422 setflags = BitIsSet(opcode, 20); in EmulateSUBSPImm()
2492 index = BitIsSet(opcode, 24); in EmulateSTRRtSP()
2493 add = BitIsSet(opcode, 23); in EmulateSTRRtSP()
2494 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRRtSP()
2910 nonzero = BitIsSet(opcode, 11); in EmulateCB()
2960 is_tbh = BitIsSet(opcode, 4); in EmulateTB()
3061 setflags = BitIsSet(opcode, 20); in EmulateADDImmThumb()
3161 setflags = BitIsSet(opcode, 20); in EmulateADDImmARM()
3247 setflags = BitIsSet(opcode, 20); in EmulateADDReg()
3789 setflags = BitIsSet(opcode, 20); in EmulateShiftImm()
3797 setflags = BitIsSet(opcode, 20); in EmulateShiftImm()
3860 setflags = BitIsSet(opcode, 20); in EmulateShiftReg()
3868 setflags = BitIsSet(opcode, 20); in EmulateShiftReg()
3949 wback = BitIsSet(opcode, 21); in EmulateLDM()
3954 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDM()
3959 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulateLDM()
3963 if (wback && BitIsSet(registers, n)) in EmulateLDM()
3970 wback = BitIsSet(opcode, 21); in EmulateLDM()
3991 if (BitIsSet(registers, i)) { in EmulateLDM()
4014 if (BitIsSet(registers, 15)) { in EmulateLDM()
4037 if (wback && BitIsSet(registers, n)) in EmulateLDM()
4082 wback = BitIsSet(opcode, 21); in EmulateLDMDA()
4113 if (BitIsSet(registers, i)) { in EmulateLDMDA()
4129 if (BitIsSet(registers, 15)) { in EmulateLDMDA()
4155 if (wback && BitIsSet(registers, n)) in EmulateLDMDA()
4197 wback = BitIsSet(opcode, 21); in EmulateLDMDB()
4202 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDMDB()
4207 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulateLDMDB()
4211 if (wback && BitIsSet(registers, n)) in EmulateLDMDB()
4220 wback = BitIsSet(opcode, 21); in EmulateLDMDB()
4249 if (BitIsSet(registers, i)) { in EmulateLDMDB()
4267 if (BitIsSet(registers, 15)) { in EmulateLDMDB()
4294 if (wback && BitIsSet(registers, n)) in EmulateLDMDB()
4334 wback = BitIsSet(opcode, 21); in EmulateLDMIB()
4362 if (BitIsSet(registers, i)) { in EmulateLDMIB()
4381 if (BitIsSet(registers, 15)) { in EmulateLDMIB()
4408 if (wback && BitIsSet(registers, n)) in EmulateLDMIB()
4504 index = BitIsSet(opcode, 10); in EmulateLDRRtRnImm()
4505 add = BitIsSet(opcode, 9); in EmulateLDRRtRnImm()
4506 wback = BitIsSet(opcode, 8); in EmulateLDRRtRnImm()
4628 wback = BitIsSet(opcode, 21); in EmulateSTM()
4635 if (wback && BitIsSet(registers, n)) in EmulateSTM()
4644 wback = BitIsSet(opcode, 21); in EmulateSTM()
4672 if (BitIsSet(registers, i)) { in EmulateSTM()
4701 if (BitIsSet(registers, 15)) { in EmulateSTM()
4767 wback = BitIsSet(opcode, 21); in EmulateSTMDA()
4794 if (BitIsSet(registers, i)) { in EmulateSTMDA()
4823 if (BitIsSet(registers, 15)) { in EmulateSTMDA()
4887 if ((BitIsSet(opcode, 21)) && (Bits32(opcode, 19, 16) == 13)) { in EmulateSTMDB()
4894 wback = BitIsSet(opcode, 21); in EmulateSTMDB()
4899 if (wback && BitIsSet(registers, n)) in EmulateSTMDB()
4906 if (BitIsSet(opcode, 21) && (Bits32(opcode, 19, 16) == 13) && in EmulateSTMDB()
4913 wback = BitIsSet(opcode, 21); in EmulateSTMDB()
4942 if (BitIsSet(registers, i)) { in EmulateSTMDB()
4972 if (BitIsSet(registers, 15)) { in EmulateSTMDB()
5038 wback = BitIsSet(opcode, 21); in EmulateSTMIB()
5065 if (BitIsSet(registers, i)) { in EmulateSTMIB()
5095 if (BitIsSet(registers, 15)) { in EmulateSTMIB()
5211 index = BitIsSet(opcode, 10); in EmulateSTRThumb()
5212 add = BitIsSet(opcode, 9); in EmulateSTRThumb()
5213 wback = BitIsSet(opcode, 8); in EmulateSTRThumb()
5378 index = BitIsSet(opcode, 24); in EmulateSTRRegister()
5379 add = BitIsSet(opcode, 23); in EmulateSTRRegister()
5380 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRRegister()
5548 index = BitIsSet(opcode, 10); in EmulateSTRBThumb()
5549 add = BitIsSet(opcode, 9); in EmulateSTRBThumb()
5550 wback = BitIsSet(opcode, 8); in EmulateSTRBThumb()
5700 index = BitIsSet(opcode, 24); in EmulateSTRHRegister()
5701 add = BitIsSet(opcode, 23); in EmulateSTRHRegister()
5702 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRHRegister()
5826 setflags = BitIsSet(opcode, 20); in EmulateADCImm()
5834 setflags = BitIsSet(opcode, 20); in EmulateADCImm()
5904 setflags = BitIsSet(opcode, 20); in EmulateADCReg()
5913 setflags = BitIsSet(opcode, 20); in EmulateADCReg()
6044 setflags = BitIsSet(opcode, 20); in EmulateANDImm()
6057 setflags = BitIsSet(opcode, 20); in EmulateANDImm()
6128 setflags = BitIsSet(opcode, 20); in EmulateANDReg()
6140 setflags = BitIsSet(opcode, 20); in EmulateANDReg()
6209 setflags = BitIsSet(opcode, 20); in EmulateBICImm()
6219 setflags = BitIsSet(opcode, 20); in EmulateBICImm()
6293 setflags = BitIsSet(opcode, 20); in EmulateBICReg()
6302 setflags = BitIsSet(opcode, 20); in EmulateBICReg()
6385 index = BitIsSet(opcode, 24); in EmulateLDRImmediateARM()
6386 add = BitIsSet(opcode, 23); in EmulateLDRImmediateARM()
6387 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRImmediateARM()
6570 index = BitIsSet(opcode, 24); in EmulateLDRRegister()
6571 add = BitIsSet(opcode, 23); in EmulateLDRRegister()
6572 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRRegister()
6760 index = BitIsSet(opcode, 10); in EmulateLDRBImmediate()
6761 add = BitIsSet(opcode, 9); in EmulateLDRBImmediate()
6762 wback = BitIsSet(opcode, 8); in EmulateLDRBImmediate()
6855 add = BitIsSet(opcode, 23); in EmulateLDRBLiteral()
6871 add = BitIsSet(opcode, 23); in EmulateLDRBLiteral()
6994 index = BitIsSet(opcode, 24); in EmulateLDRBRegister()
6995 add = BitIsSet(opcode, 23); in EmulateLDRBRegister()
6996 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRBRegister()
7150 index = BitIsSet(opcode, 10); in EmulateLDRHImmediate()
7151 add = BitIsSet(opcode, 9); in EmulateLDRHImmediate()
7152 wback = BitIsSet(opcode, 8); in EmulateLDRHImmediate()
7252 add = BitIsSet(opcode, 23); in EmulateLDRHLiteral()
7267 add = BitIsSet(opcode, 23); in EmulateLDRHLiteral()
7408 index = BitIsSet(opcode, 24); in EmulateLDRHRegister()
7409 add = BitIsSet(opcode, 23); in EmulateLDRHRegister()
7410 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRHRegister()
7560 index = BitIsSet(opcode, 10); in EmulateLDRSBImmediate()
7561 add = BitIsSet(opcode, 9); in EmulateLDRSBImmediate()
7562 wback = BitIsSet(opcode, 8); in EmulateLDRSBImmediate()
7566 ((t == 15) && (BitIsClear(opcode, 10) || BitIsSet(opcode, 9) || in EmulateLDRSBImmediate()
7567 BitIsSet(opcode, 8)))) || in EmulateLDRSBImmediate()
7586 index = BitIsSet(opcode, 24); in EmulateLDRSBImmediate()
7587 add = BitIsSet(opcode, 23); in EmulateLDRSBImmediate()
7588 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRSBImmediate()
7677 add = BitIsSet(opcode, 23); in EmulateLDRSBLiteral()
7691 add = BitIsSet(opcode, 23); in EmulateLDRSBLiteral()
7815 index = BitIsSet(opcode, 24); in EmulateLDRSBRegister()
7816 add = BitIsSet(opcode, 23); in EmulateLDRSBRegister()
7817 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSBRegister()
7962 index = BitIsSet(opcode, 10); in EmulateLDRSHImmediate()
7963 add = BitIsSet(opcode, 9); in EmulateLDRSHImmediate()
7964 wback = BitIsSet(opcode, 8); in EmulateLDRSHImmediate()
7984 index = BitIsSet(opcode, 24); in EmulateLDRSHImmediate()
7985 add = BitIsSet(opcode, 23); in EmulateLDRSHImmediate()
7986 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSHImmediate()
8088 add = BitIsSet(opcode, 23); in EmulateLDRSHLiteral()
8102 add = BitIsSet(opcode, 23); in EmulateLDRSHLiteral()
8242 index = BitIsSet(opcode, 24); in EmulateLDRSHRegister()
8243 add = BitIsSet(opcode, 23); in EmulateLDRSHRegister()
8244 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSHRegister()
8704 wback = BitIsSet(opcode, 21); in EmulateRFE()
8721 wback = BitIsSet(opcode, 21); in EmulateRFE()
8740 wback = BitIsSet(opcode, 21); in EmulateRFE()
8741 increment = BitIsSet(opcode, 23); in EmulateRFE()
8851 setflags = BitIsSet(opcode, 20); in EmulateEORImm()
8864 setflags = BitIsSet(opcode, 20); in EmulateEORImm()
8938 setflags = BitIsSet(opcode, 20); in EmulateEORReg()
8950 setflags = BitIsSet(opcode, 20); in EmulateEORReg()
9020 setflags = BitIsSet(opcode, 20); in EmulateORRImm()
9033 setflags = BitIsSet(opcode, 20); in EmulateORRImm()
9105 setflags = BitIsSet(opcode, 20); in EmulateORRReg()
9117 setflags = BitIsSet(opcode, 20); in EmulateORRReg()
9190 setflags = BitIsSet(opcode, 20); in EmulateRSBImm()
9198 setflags = BitIsSet(opcode, 20); in EmulateRSBImm()
9259 setflags = BitIsSet(opcode, 20); in EmulateRSBReg()
9269 setflags = BitIsSet(opcode, 20); in EmulateRSBReg()
9335 setflags = BitIsSet(opcode, 20); in EmulateRSCImm()
9397 setflags = BitIsSet(opcode, 20); in EmulateRSCReg()
9464 setflags = BitIsSet(opcode, 20); in EmulateSBCImm()
9472 setflags = BitIsSet(opcode, 20); in EmulateSBCImm()
9542 setflags = BitIsSet(opcode, 20); in EmulateSBCReg()
9551 setflags = BitIsSet(opcode, 20); in EmulateSBCReg()
9624 setflags = BitIsSet(opcode, 20); in EmulateSUBImmThumb()
9642 setflags = BitIsSet(opcode, 20); in EmulateSUBImmThumb()
9707 setflags = BitIsSet(opcode, 20); in EmulateSUBImmARM()
10040 setflags = BitIsSet(opcode, 20); in EmulateSUBSPReg()
10059 setflags = BitIsSet(opcode, 20); in EmulateSUBSPReg()
10141 setflags = BitIsSet(opcode, 20); in EmulateADDRegShift()
10249 setflags = BitIsSet(opcode, 20); in EmulateSUBReg()
10276 setflags = BitIsSet(opcode, 20); in EmulateSUBReg()
10477 index = BitIsSet(opcode, 24); in EmulateSTRBImmARM()
10478 add = BitIsSet(opcode, 23); in EmulateSTRBImmARM()
10479 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRBImmARM()
10574 index = BitIsSet(opcode, 24); in EmulateSTRImmARM()
10575 add = BitIsSet(opcode, 23); in EmulateSTRImmARM()
10576 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRImmARM()
10684 index = BitIsSet(opcode, 24); in EmulateLDRDImmediate()
10685 add = BitIsSet(opcode, 23); in EmulateLDRDImmediate()
10686 wback = BitIsSet(opcode, 21); in EmulateLDRDImmediate()
10704 if (BitIsSet(t, 0)) in EmulateLDRDImmediate()
10711 index = BitIsSet(opcode, 24); in EmulateLDRDImmediate()
10712 add = BitIsSet(opcode, 23); in EmulateLDRDImmediate()
10713 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRDImmediate()
10716 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateLDRDImmediate()
10825 if (BitIsSet(t, 0)) in EmulateLDRDRegister()
10832 index = BitIsSet(opcode, 24); in EmulateLDRDRegister()
10833 add = BitIsSet(opcode, 23); in EmulateLDRDRegister()
10834 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRDRegister()
10837 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateLDRDRegister()
10960 index = BitIsSet(opcode, 24); in EmulateSTRDImm()
10961 add = BitIsSet(opcode, 23); in EmulateSTRDImm()
10962 wback = BitIsSet(opcode, 21); in EmulateSTRDImm()
10979 if (BitIsSet(t, 0)) in EmulateSTRDImm()
10987 index = BitIsSet(opcode, 24); in EmulateSTRDImm()
10988 add = BitIsSet(opcode, 23); in EmulateSTRDImm()
10989 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRDImm()
10992 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateSTRDImm()
11107 if (BitIsSet(t, 0)) in EmulateSTRDReg()
11115 index = BitIsSet(opcode, 24); in EmulateSTRDReg()
11116 add = BitIsSet(opcode, 23); in EmulateSTRDReg()
11117 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRDReg()
11120 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateSTRDReg()
11252 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM()
11259 add = BitIsSet(opcode, 23); in EmulateVLDM()
11260 wback = BitIsSet(opcode, 21); in EmulateVLDM()
11287 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM()
11295 add = BitIsSet(opcode, 23); in EmulateVLDM()
11296 wback = BitIsSet(opcode, 21); in EmulateVLDM()
11446 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM()
11453 add = BitIsSet(opcode, 23); in EmulateVSTM()
11454 wback = BitIsSet(opcode, 21); in EmulateVSTM()
11481 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM()
11489 add = BitIsSet(opcode, 23); in EmulateVSTM()
11490 wback = BitIsSet(opcode, 21); in EmulateVSTM()
11646 add = BitIsSet(opcode, 23); in EmulateVLDR()
11659 add = BitIsSet(opcode, 23); in EmulateVLDR()
11772 add = BitIsSet(opcode, 23); in EmulateVSTR()
11789 add = BitIsSet(opcode, 23); in EmulateVSTR()
11921 if (BitIsSet(align, 1)) in EmulateVLD1Multiple()
11932 if (BitIsSet(align, 1)) in EmulateVLD1Multiple()
12248 if (BitIsSet(align, 1)) in EmulateVST1Multiple()
12260 if (BitIsSet(align, 1)) in EmulateVST1Multiple()
12555 if ((size == 3) || ((size == 0) && BitIsSet(opcode, 4))) in EmulateVLD1SingleAll()
14029 if (BitIsSet(bytemask, 3)) { in CPSRWriteByInstr()
14035 if (BitIsSet(bytemask, 2)) { in CPSRWriteByInstr()
14039 if (BitIsSet(bytemask, 1)) { in CPSRWriteByInstr()
14047 if (BitIsSet(bytemask, 0)) { in CPSRWriteByInstr()
14082 if (BitIsSet(addr, 0)) { in BXWritePC()