Lines Matching refs:BitIsSet

991       if (BitIsSet(registers, i)) {  in EmulatePUSH()
1003 if (BitIsSet(registers, 15)) { in EmulatePUSH()
1075 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulatePOP()
1095 if (BitIsSet(opcode, 13) && ArchVersion() >= ARMv7) in EmulatePOP()
1119 if (BitIsSet(registers, i)) { in EmulatePOP()
1131 if (BitIsSet(registers, 15)) { in EmulatePOP()
1321 setflags = BitIsSet(opcode, 20); in EmulateMOVRdRm()
1333 setflags = BitIsSet(opcode, 20); in EmulateMOVRdRm()
1405 setflags = BitIsSet(opcode, 20); in EmulateMOVRdImm()
1432 setflags = BitIsSet(opcode, 20); in EmulateMOVRdImm()
1536 setflags = BitIsSet(opcode, 20); in EmulateMUL()
1636 setflags = BitIsSet(opcode, 20); in EmulateMVNImm()
1641 setflags = BitIsSet(opcode, 20); in EmulateMVNImm()
1709 setflags = BitIsSet(opcode, 20); in EmulateMVNReg()
1718 setflags = BitIsSet(opcode, 20); in EmulateMVNReg()
1799 add = BitIsSet(opcode, 23); in EmulateLDRRtPCRelative()
2419 setflags = BitIsSet(opcode, 20); in EmulateSUBSPImm()
2435 setflags = BitIsSet(opcode, 20); in EmulateSUBSPImm()
2505 index = BitIsSet(opcode, 24); in EmulateSTRRtSP()
2506 add = BitIsSet(opcode, 23); in EmulateSTRRtSP()
2507 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRRtSP()
2923 nonzero = BitIsSet(opcode, 11); in EmulateCB()
2973 is_tbh = BitIsSet(opcode, 4); in EmulateTB()
3074 setflags = BitIsSet(opcode, 20); in EmulateADDImmThumb()
3174 setflags = BitIsSet(opcode, 20); in EmulateADDImmARM()
3260 setflags = BitIsSet(opcode, 20); in EmulateADDReg()
3802 setflags = BitIsSet(opcode, 20); in EmulateShiftImm()
3810 setflags = BitIsSet(opcode, 20); in EmulateShiftImm()
3873 setflags = BitIsSet(opcode, 20); in EmulateShiftReg()
3881 setflags = BitIsSet(opcode, 20); in EmulateShiftReg()
3962 wback = BitIsSet(opcode, 21); in EmulateLDM()
3967 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDM()
3972 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulateLDM()
3976 if (wback && BitIsSet(registers, n)) in EmulateLDM()
3983 wback = BitIsSet(opcode, 21); in EmulateLDM()
4004 if (BitIsSet(registers, i)) { in EmulateLDM()
4027 if (BitIsSet(registers, 15)) { in EmulateLDM()
4050 if (wback && BitIsSet(registers, n)) in EmulateLDM()
4095 wback = BitIsSet(opcode, 21); in EmulateLDMDA()
4126 if (BitIsSet(registers, i)) { in EmulateLDMDA()
4142 if (BitIsSet(registers, 15)) { in EmulateLDMDA()
4168 if (wback && BitIsSet(registers, n)) in EmulateLDMDA()
4210 wback = BitIsSet(opcode, 21); in EmulateLDMDB()
4215 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDMDB()
4220 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulateLDMDB()
4224 if (wback && BitIsSet(registers, n)) in EmulateLDMDB()
4233 wback = BitIsSet(opcode, 21); in EmulateLDMDB()
4262 if (BitIsSet(registers, i)) { in EmulateLDMDB()
4280 if (BitIsSet(registers, 15)) { in EmulateLDMDB()
4307 if (wback && BitIsSet(registers, n)) in EmulateLDMDB()
4347 wback = BitIsSet(opcode, 21); in EmulateLDMIB()
4375 if (BitIsSet(registers, i)) { in EmulateLDMIB()
4394 if (BitIsSet(registers, 15)) { in EmulateLDMIB()
4421 if (wback && BitIsSet(registers, n)) in EmulateLDMIB()
4517 index = BitIsSet(opcode, 10); in EmulateLDRRtRnImm()
4518 add = BitIsSet(opcode, 9); in EmulateLDRRtRnImm()
4519 wback = BitIsSet(opcode, 8); in EmulateLDRRtRnImm()
4641 wback = BitIsSet(opcode, 21); in EmulateSTM()
4648 if (wback && BitIsSet(registers, n)) in EmulateSTM()
4657 wback = BitIsSet(opcode, 21); in EmulateSTM()
4685 if (BitIsSet(registers, i)) { in EmulateSTM()
4714 if (BitIsSet(registers, 15)) { in EmulateSTM()
4780 wback = BitIsSet(opcode, 21); in EmulateSTMDA()
4807 if (BitIsSet(registers, i)) { in EmulateSTMDA()
4836 if (BitIsSet(registers, 15)) { in EmulateSTMDA()
4900 if ((BitIsSet(opcode, 21)) && (Bits32(opcode, 19, 16) == 13)) { in EmulateSTMDB()
4907 wback = BitIsSet(opcode, 21); in EmulateSTMDB()
4912 if (wback && BitIsSet(registers, n)) in EmulateSTMDB()
4919 if (BitIsSet(opcode, 21) && (Bits32(opcode, 19, 16) == 13) && in EmulateSTMDB()
4926 wback = BitIsSet(opcode, 21); in EmulateSTMDB()
4955 if (BitIsSet(registers, i)) { in EmulateSTMDB()
4985 if (BitIsSet(registers, 15)) { in EmulateSTMDB()
5051 wback = BitIsSet(opcode, 21); in EmulateSTMIB()
5078 if (BitIsSet(registers, i)) { in EmulateSTMIB()
5108 if (BitIsSet(registers, 15)) { in EmulateSTMIB()
5224 index = BitIsSet(opcode, 10); in EmulateSTRThumb()
5225 add = BitIsSet(opcode, 9); in EmulateSTRThumb()
5226 wback = BitIsSet(opcode, 8); in EmulateSTRThumb()
5391 index = BitIsSet(opcode, 24); in EmulateSTRRegister()
5392 add = BitIsSet(opcode, 23); in EmulateSTRRegister()
5393 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRRegister()
5561 index = BitIsSet(opcode, 10); in EmulateSTRBThumb()
5562 add = BitIsSet(opcode, 9); in EmulateSTRBThumb()
5563 wback = BitIsSet(opcode, 8); in EmulateSTRBThumb()
5713 index = BitIsSet(opcode, 24); in EmulateSTRHRegister()
5714 add = BitIsSet(opcode, 23); in EmulateSTRHRegister()
5715 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRHRegister()
5839 setflags = BitIsSet(opcode, 20); in EmulateADCImm()
5847 setflags = BitIsSet(opcode, 20); in EmulateADCImm()
5917 setflags = BitIsSet(opcode, 20); in EmulateADCReg()
5926 setflags = BitIsSet(opcode, 20); in EmulateADCReg()
6057 setflags = BitIsSet(opcode, 20); in EmulateANDImm()
6070 setflags = BitIsSet(opcode, 20); in EmulateANDImm()
6141 setflags = BitIsSet(opcode, 20); in EmulateANDReg()
6153 setflags = BitIsSet(opcode, 20); in EmulateANDReg()
6222 setflags = BitIsSet(opcode, 20); in EmulateBICImm()
6232 setflags = BitIsSet(opcode, 20); in EmulateBICImm()
6306 setflags = BitIsSet(opcode, 20); in EmulateBICReg()
6315 setflags = BitIsSet(opcode, 20); in EmulateBICReg()
6398 index = BitIsSet(opcode, 24); in EmulateLDRImmediateARM()
6399 add = BitIsSet(opcode, 23); in EmulateLDRImmediateARM()
6400 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRImmediateARM()
6583 index = BitIsSet(opcode, 24); in EmulateLDRRegister()
6584 add = BitIsSet(opcode, 23); in EmulateLDRRegister()
6585 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRRegister()
6773 index = BitIsSet(opcode, 10); in EmulateLDRBImmediate()
6774 add = BitIsSet(opcode, 9); in EmulateLDRBImmediate()
6775 wback = BitIsSet(opcode, 8); in EmulateLDRBImmediate()
6868 add = BitIsSet(opcode, 23); in EmulateLDRBLiteral()
6884 add = BitIsSet(opcode, 23); in EmulateLDRBLiteral()
7007 index = BitIsSet(opcode, 24); in EmulateLDRBRegister()
7008 add = BitIsSet(opcode, 23); in EmulateLDRBRegister()
7009 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRBRegister()
7163 index = BitIsSet(opcode, 10); in EmulateLDRHImmediate()
7164 add = BitIsSet(opcode, 9); in EmulateLDRHImmediate()
7165 wback = BitIsSet(opcode, 8); in EmulateLDRHImmediate()
7265 add = BitIsSet(opcode, 23); in EmulateLDRHLiteral()
7280 add = BitIsSet(opcode, 23); in EmulateLDRHLiteral()
7421 index = BitIsSet(opcode, 24); in EmulateLDRHRegister()
7422 add = BitIsSet(opcode, 23); in EmulateLDRHRegister()
7423 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRHRegister()
7573 index = BitIsSet(opcode, 10); in EmulateLDRSBImmediate()
7574 add = BitIsSet(opcode, 9); in EmulateLDRSBImmediate()
7575 wback = BitIsSet(opcode, 8); in EmulateLDRSBImmediate()
7579 ((t == 15) && (BitIsClear(opcode, 10) || BitIsSet(opcode, 9) || in EmulateLDRSBImmediate()
7580 BitIsSet(opcode, 8)))) || in EmulateLDRSBImmediate()
7599 index = BitIsSet(opcode, 24); in EmulateLDRSBImmediate()
7600 add = BitIsSet(opcode, 23); in EmulateLDRSBImmediate()
7601 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRSBImmediate()
7690 add = BitIsSet(opcode, 23); in EmulateLDRSBLiteral()
7704 add = BitIsSet(opcode, 23); in EmulateLDRSBLiteral()
7828 index = BitIsSet(opcode, 24); in EmulateLDRSBRegister()
7829 add = BitIsSet(opcode, 23); in EmulateLDRSBRegister()
7830 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSBRegister()
7975 index = BitIsSet(opcode, 10); in EmulateLDRSHImmediate()
7976 add = BitIsSet(opcode, 9); in EmulateLDRSHImmediate()
7977 wback = BitIsSet(opcode, 8); in EmulateLDRSHImmediate()
7997 index = BitIsSet(opcode, 24); in EmulateLDRSHImmediate()
7998 add = BitIsSet(opcode, 23); in EmulateLDRSHImmediate()
7999 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSHImmediate()
8101 add = BitIsSet(opcode, 23); in EmulateLDRSHLiteral()
8115 add = BitIsSet(opcode, 23); in EmulateLDRSHLiteral()
8255 index = BitIsSet(opcode, 24); in EmulateLDRSHRegister()
8256 add = BitIsSet(opcode, 23); in EmulateLDRSHRegister()
8257 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSHRegister()
8717 wback = BitIsSet(opcode, 21); in EmulateRFE()
8734 wback = BitIsSet(opcode, 21); in EmulateRFE()
8753 wback = BitIsSet(opcode, 21); in EmulateRFE()
8754 increment = BitIsSet(opcode, 23); in EmulateRFE()
8864 setflags = BitIsSet(opcode, 20); in EmulateEORImm()
8877 setflags = BitIsSet(opcode, 20); in EmulateEORImm()
8951 setflags = BitIsSet(opcode, 20); in EmulateEORReg()
8963 setflags = BitIsSet(opcode, 20); in EmulateEORReg()
9033 setflags = BitIsSet(opcode, 20); in EmulateORRImm()
9046 setflags = BitIsSet(opcode, 20); in EmulateORRImm()
9118 setflags = BitIsSet(opcode, 20); in EmulateORRReg()
9130 setflags = BitIsSet(opcode, 20); in EmulateORRReg()
9203 setflags = BitIsSet(opcode, 20); in EmulateRSBImm()
9211 setflags = BitIsSet(opcode, 20); in EmulateRSBImm()
9272 setflags = BitIsSet(opcode, 20); in EmulateRSBReg()
9282 setflags = BitIsSet(opcode, 20); in EmulateRSBReg()
9348 setflags = BitIsSet(opcode, 20); in EmulateRSCImm()
9410 setflags = BitIsSet(opcode, 20); in EmulateRSCReg()
9477 setflags = BitIsSet(opcode, 20); in EmulateSBCImm()
9485 setflags = BitIsSet(opcode, 20); in EmulateSBCImm()
9555 setflags = BitIsSet(opcode, 20); in EmulateSBCReg()
9564 setflags = BitIsSet(opcode, 20); in EmulateSBCReg()
9637 setflags = BitIsSet(opcode, 20); in EmulateSUBImmThumb()
9655 setflags = BitIsSet(opcode, 20); in EmulateSUBImmThumb()
9720 setflags = BitIsSet(opcode, 20); in EmulateSUBImmARM()
10053 setflags = BitIsSet(opcode, 20); in EmulateSUBSPReg()
10072 setflags = BitIsSet(opcode, 20); in EmulateSUBSPReg()
10154 setflags = BitIsSet(opcode, 20); in EmulateADDRegShift()
10262 setflags = BitIsSet(opcode, 20); in EmulateSUBReg()
10289 setflags = BitIsSet(opcode, 20); in EmulateSUBReg()
10490 index = BitIsSet(opcode, 24); in EmulateSTRBImmARM()
10491 add = BitIsSet(opcode, 23); in EmulateSTRBImmARM()
10492 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRBImmARM()
10587 index = BitIsSet(opcode, 24); in EmulateSTRImmARM()
10588 add = BitIsSet(opcode, 23); in EmulateSTRImmARM()
10589 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRImmARM()
10697 index = BitIsSet(opcode, 24); in EmulateLDRDImmediate()
10698 add = BitIsSet(opcode, 23); in EmulateLDRDImmediate()
10699 wback = BitIsSet(opcode, 21); in EmulateLDRDImmediate()
10717 if (BitIsSet(t, 0)) in EmulateLDRDImmediate()
10724 index = BitIsSet(opcode, 24); in EmulateLDRDImmediate()
10725 add = BitIsSet(opcode, 23); in EmulateLDRDImmediate()
10726 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRDImmediate()
10729 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateLDRDImmediate()
10838 if (BitIsSet(t, 0)) in EmulateLDRDRegister()
10845 index = BitIsSet(opcode, 24); in EmulateLDRDRegister()
10846 add = BitIsSet(opcode, 23); in EmulateLDRDRegister()
10847 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRDRegister()
10850 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateLDRDRegister()
10973 index = BitIsSet(opcode, 24); in EmulateSTRDImm()
10974 add = BitIsSet(opcode, 23); in EmulateSTRDImm()
10975 wback = BitIsSet(opcode, 21); in EmulateSTRDImm()
10992 if (BitIsSet(t, 0)) in EmulateSTRDImm()
11000 index = BitIsSet(opcode, 24); in EmulateSTRDImm()
11001 add = BitIsSet(opcode, 23); in EmulateSTRDImm()
11002 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRDImm()
11005 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateSTRDImm()
11120 if (BitIsSet(t, 0)) in EmulateSTRDReg()
11128 index = BitIsSet(opcode, 24); in EmulateSTRDReg()
11129 add = BitIsSet(opcode, 23); in EmulateSTRDReg()
11130 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRDReg()
11133 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateSTRDReg()
11265 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM()
11272 add = BitIsSet(opcode, 23); in EmulateVLDM()
11273 wback = BitIsSet(opcode, 21); in EmulateVLDM()
11300 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM()
11308 add = BitIsSet(opcode, 23); in EmulateVLDM()
11309 wback = BitIsSet(opcode, 21); in EmulateVLDM()
11459 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM()
11466 add = BitIsSet(opcode, 23); in EmulateVSTM()
11467 wback = BitIsSet(opcode, 21); in EmulateVSTM()
11494 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM()
11502 add = BitIsSet(opcode, 23); in EmulateVSTM()
11503 wback = BitIsSet(opcode, 21); in EmulateVSTM()
11659 add = BitIsSet(opcode, 23); in EmulateVLDR()
11672 add = BitIsSet(opcode, 23); in EmulateVLDR()
11785 add = BitIsSet(opcode, 23); in EmulateVSTR()
11802 add = BitIsSet(opcode, 23); in EmulateVSTR()
11934 if (BitIsSet(align, 1)) in EmulateVLD1Multiple()
11945 if (BitIsSet(align, 1)) in EmulateVLD1Multiple()
12261 if (BitIsSet(align, 1)) in EmulateVST1Multiple()
12273 if (BitIsSet(align, 1)) in EmulateVST1Multiple()
12568 if ((size == 3) || ((size == 0) && BitIsSet(opcode, 4))) in EmulateVLD1SingleAll()
14080 if (BitIsSet(bytemask, 3)) { in CPSRWriteByInstr()
14086 if (BitIsSet(bytemask, 2)) { in CPSRWriteByInstr()
14090 if (BitIsSet(bytemask, 1)) { in CPSRWriteByInstr()
14098 if (BitIsSet(bytemask, 0)) { in CPSRWriteByInstr()
14133 if (BitIsSet(addr, 0)) { in BXWritePC()