Lines Matching refs:BitIsSet
977 if (BitIsSet(registers, i)) { in EmulatePUSH()
990 if (BitIsSet(registers, 15)) { in EmulatePUSH()
1063 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulatePOP()
1083 if (BitIsSet(opcode, 13) && ArchVersion() >= ARMv7) in EmulatePOP()
1107 if (BitIsSet(registers, i)) { in EmulatePOP()
1119 if (BitIsSet(registers, 15)) { in EmulatePOP()
1309 setflags = BitIsSet(opcode, 20); in EmulateMOVRdRm()
1321 setflags = BitIsSet(opcode, 20); in EmulateMOVRdRm()
1395 setflags = BitIsSet(opcode, 20); in EmulateMOVRdImm()
1422 setflags = BitIsSet(opcode, 20); in EmulateMOVRdImm()
1526 setflags = BitIsSet(opcode, 20); in EmulateMUL()
1626 setflags = BitIsSet(opcode, 20); in EmulateMVNImm()
1631 setflags = BitIsSet(opcode, 20); in EmulateMVNImm()
1699 setflags = BitIsSet(opcode, 20); in EmulateMVNReg()
1708 setflags = BitIsSet(opcode, 20); in EmulateMVNReg()
1789 add = BitIsSet(opcode, 23); in EmulateLDRRtPCRelative()
2408 setflags = BitIsSet(opcode, 20); in EmulateSUBSPImm()
2424 setflags = BitIsSet(opcode, 20); in EmulateSUBSPImm()
2494 index = BitIsSet(opcode, 24); in EmulateSTRRtSP()
2495 add = BitIsSet(opcode, 23); in EmulateSTRRtSP()
2496 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()
3160 setflags = BitIsSet(opcode, 20); in EmulateADDImmARM()
3246 setflags = BitIsSet(opcode, 20); in EmulateADDReg()
3784 setflags = BitIsSet(opcode, 20); in EmulateShiftImm()
3792 setflags = BitIsSet(opcode, 20); in EmulateShiftImm()
3855 setflags = BitIsSet(opcode, 20); in EmulateShiftReg()
3863 setflags = BitIsSet(opcode, 20); in EmulateShiftReg()
3944 wback = BitIsSet(opcode, 21); in EmulateLDM()
3949 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDM()
3954 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulateLDM()
3958 if (wback && BitIsSet(registers, n)) in EmulateLDM()
3965 wback = BitIsSet(opcode, 21); in EmulateLDM()
3986 if (BitIsSet(registers, i)) { in EmulateLDM()
4009 if (BitIsSet(registers, 15)) { in EmulateLDM()
4032 if (wback && BitIsSet(registers, n)) in EmulateLDM()
4077 wback = BitIsSet(opcode, 21); in EmulateLDMDA()
4108 if (BitIsSet(registers, i)) { in EmulateLDMDA()
4124 if (BitIsSet(registers, 15)) { in EmulateLDMDA()
4148 if (wback && BitIsSet(registers, n)) in EmulateLDMDA()
4190 wback = BitIsSet(opcode, 21); in EmulateLDMDB()
4195 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDMDB()
4200 if (BitIsSet(registers, 15) && InITBlock() && !LastInITBlock()) in EmulateLDMDB()
4204 if (wback && BitIsSet(registers, n)) in EmulateLDMDB()
4213 wback = BitIsSet(opcode, 21); in EmulateLDMDB()
4242 if (BitIsSet(registers, i)) { in EmulateLDMDB()
4260 if (BitIsSet(registers, 15)) { in EmulateLDMDB()
4285 if (wback && BitIsSet(registers, n)) in EmulateLDMDB()
4325 wback = BitIsSet(opcode, 21); in EmulateLDMIB()
4353 if (BitIsSet(registers, i)) { in EmulateLDMIB()
4372 if (BitIsSet(registers, 15)) { in EmulateLDMIB()
4397 if (wback && BitIsSet(registers, n)) in EmulateLDMIB()
4493 index = BitIsSet(opcode, 10); in EmulateLDRRtRnImm()
4494 add = BitIsSet(opcode, 9); in EmulateLDRRtRnImm()
4495 wback = BitIsSet(opcode, 8); in EmulateLDRRtRnImm()
4617 wback = BitIsSet(opcode, 21); in EmulateSTM()
4624 if (wback && BitIsSet(registers, n)) in EmulateSTM()
4633 wback = BitIsSet(opcode, 21); in EmulateSTM()
4661 if (BitIsSet(registers, i)) { in EmulateSTM()
4690 if (BitIsSet(registers, 15)) { in EmulateSTM()
4756 wback = BitIsSet(opcode, 21); in EmulateSTMDA()
4783 if (BitIsSet(registers, i)) { in EmulateSTMDA()
4812 if (BitIsSet(registers, 15)) { in EmulateSTMDA()
4876 if ((BitIsSet(opcode, 21)) && (Bits32(opcode, 19, 16) == 13)) { in EmulateSTMDB()
4883 wback = BitIsSet(opcode, 21); in EmulateSTMDB()
4888 if (wback && BitIsSet(registers, n)) in EmulateSTMDB()
4895 if (BitIsSet(opcode, 21) && (Bits32(opcode, 19, 16) == 13) && in EmulateSTMDB()
4902 wback = BitIsSet(opcode, 21); in EmulateSTMDB()
4931 if (BitIsSet(registers, i)) { in EmulateSTMDB()
4961 if (BitIsSet(registers, 15)) { in EmulateSTMDB()
5027 wback = BitIsSet(opcode, 21); in EmulateSTMIB()
5054 if (BitIsSet(registers, i)) { in EmulateSTMIB()
5084 if (BitIsSet(registers, 15)) { in EmulateSTMIB()
5200 index = BitIsSet(opcode, 10); in EmulateSTRThumb()
5201 add = BitIsSet(opcode, 9); in EmulateSTRThumb()
5202 wback = BitIsSet(opcode, 8); in EmulateSTRThumb()
5367 index = BitIsSet(opcode, 24); in EmulateSTRRegister()
5368 add = BitIsSet(opcode, 23); in EmulateSTRRegister()
5369 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRRegister()
5536 index = BitIsSet(opcode, 10); in EmulateSTRBThumb()
5537 add = BitIsSet(opcode, 9); in EmulateSTRBThumb()
5538 wback = BitIsSet(opcode, 8); in EmulateSTRBThumb()
5687 index = BitIsSet(opcode, 24); in EmulateSTRHRegister()
5688 add = BitIsSet(opcode, 23); in EmulateSTRHRegister()
5689 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateSTRHRegister()
5809 setflags = BitIsSet(opcode, 20); in EmulateADCImm()
5817 setflags = BitIsSet(opcode, 20); in EmulateADCImm()
5887 setflags = BitIsSet(opcode, 20); in EmulateADCReg()
5896 setflags = BitIsSet(opcode, 20); in EmulateADCReg()
6027 setflags = BitIsSet(opcode, 20); in EmulateANDImm()
6040 setflags = BitIsSet(opcode, 20); in EmulateANDImm()
6111 setflags = BitIsSet(opcode, 20); in EmulateANDReg()
6123 setflags = BitIsSet(opcode, 20); in EmulateANDReg()
6192 setflags = BitIsSet(opcode, 20); in EmulateBICImm()
6202 setflags = BitIsSet(opcode, 20); in EmulateBICImm()
6276 setflags = BitIsSet(opcode, 20); in EmulateBICReg()
6285 setflags = BitIsSet(opcode, 20); in EmulateBICReg()
6368 index = BitIsSet(opcode, 24); in EmulateLDRImmediateARM()
6369 add = BitIsSet(opcode, 23); in EmulateLDRImmediateARM()
6370 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRImmediateARM()
6552 index = BitIsSet(opcode, 24); in EmulateLDRRegister()
6553 add = BitIsSet(opcode, 23); in EmulateLDRRegister()
6554 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRRegister()
6741 index = BitIsSet(opcode, 10); in EmulateLDRBImmediate()
6742 add = BitIsSet(opcode, 9); in EmulateLDRBImmediate()
6743 wback = BitIsSet(opcode, 8); in EmulateLDRBImmediate()
6836 add = BitIsSet(opcode, 23); in EmulateLDRBLiteral()
6852 add = BitIsSet(opcode, 23); in EmulateLDRBLiteral()
6975 index = BitIsSet(opcode, 24); in EmulateLDRBRegister()
6976 add = BitIsSet(opcode, 23); in EmulateLDRBRegister()
6977 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRBRegister()
7131 index = BitIsSet(opcode, 10); in EmulateLDRHImmediate()
7132 add = BitIsSet(opcode, 9); in EmulateLDRHImmediate()
7133 wback = BitIsSet(opcode, 8); in EmulateLDRHImmediate()
7233 add = BitIsSet(opcode, 23); in EmulateLDRHLiteral()
7248 add = BitIsSet(opcode, 23); in EmulateLDRHLiteral()
7389 index = BitIsSet(opcode, 24); in EmulateLDRHRegister()
7390 add = BitIsSet(opcode, 23); in EmulateLDRHRegister()
7391 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRHRegister()
7541 index = BitIsSet(opcode, 10); in EmulateLDRSBImmediate()
7542 add = BitIsSet(opcode, 9); in EmulateLDRSBImmediate()
7543 wback = BitIsSet(opcode, 8); in EmulateLDRSBImmediate()
7547 ((t == 15) && (BitIsClear(opcode, 10) || BitIsSet(opcode, 9) || in EmulateLDRSBImmediate()
7548 BitIsSet(opcode, 8)))) || in EmulateLDRSBImmediate()
7567 index = BitIsSet(opcode, 24); in EmulateLDRSBImmediate()
7568 add = BitIsSet(opcode, 23); in EmulateLDRSBImmediate()
7569 wback = (BitIsClear(opcode, 24) || BitIsSet(opcode, 21)); in EmulateLDRSBImmediate()
7658 add = BitIsSet(opcode, 23); in EmulateLDRSBLiteral()
7672 add = BitIsSet(opcode, 23); in EmulateLDRSBLiteral()
7796 index = BitIsSet(opcode, 24); in EmulateLDRSBRegister()
7797 add = BitIsSet(opcode, 23); in EmulateLDRSBRegister()
7798 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSBRegister()
7943 index = BitIsSet(opcode, 10); in EmulateLDRSHImmediate()
7944 add = BitIsSet(opcode, 9); in EmulateLDRSHImmediate()
7945 wback = BitIsSet(opcode, 8); in EmulateLDRSHImmediate()
7965 index = BitIsSet(opcode, 24); in EmulateLDRSHImmediate()
7966 add = BitIsSet(opcode, 23); in EmulateLDRSHImmediate()
7967 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSHImmediate()
8069 add = BitIsSet(opcode, 23); in EmulateLDRSHLiteral()
8083 add = BitIsSet(opcode, 23); in EmulateLDRSHLiteral()
8223 index = BitIsSet(opcode, 24); in EmulateLDRSHRegister()
8224 add = BitIsSet(opcode, 23); in EmulateLDRSHRegister()
8225 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRSHRegister()
8684 wback = BitIsSet(opcode, 21); in EmulateRFE()
8701 wback = BitIsSet(opcode, 21); in EmulateRFE()
8720 wback = BitIsSet(opcode, 21); in EmulateRFE()
8721 increment = BitIsSet(opcode, 23); in EmulateRFE()
8831 setflags = BitIsSet(opcode, 20); in EmulateEORImm()
8844 setflags = BitIsSet(opcode, 20); in EmulateEORImm()
8918 setflags = BitIsSet(opcode, 20); in EmulateEORReg()
8930 setflags = BitIsSet(opcode, 20); in EmulateEORReg()
9000 setflags = BitIsSet(opcode, 20); in EmulateORRImm()
9013 setflags = BitIsSet(opcode, 20); in EmulateORRImm()
9085 setflags = BitIsSet(opcode, 20); in EmulateORRReg()
9097 setflags = BitIsSet(opcode, 20); in EmulateORRReg()
9170 setflags = BitIsSet(opcode, 20); in EmulateRSBImm()
9178 setflags = BitIsSet(opcode, 20); in EmulateRSBImm()
9239 setflags = BitIsSet(opcode, 20); in EmulateRSBReg()
9249 setflags = BitIsSet(opcode, 20); in EmulateRSBReg()
9315 setflags = BitIsSet(opcode, 20); in EmulateRSCImm()
9377 setflags = BitIsSet(opcode, 20); in EmulateRSCReg()
9444 setflags = BitIsSet(opcode, 20); in EmulateSBCImm()
9452 setflags = BitIsSet(opcode, 20); in EmulateSBCImm()
9522 setflags = BitIsSet(opcode, 20); in EmulateSBCReg()
9531 setflags = BitIsSet(opcode, 20); in EmulateSBCReg()
9604 setflags = BitIsSet(opcode, 20); in EmulateSUBImmThumb()
9622 setflags = BitIsSet(opcode, 20); in EmulateSUBImmThumb()
9687 setflags = BitIsSet(opcode, 20); in EmulateSUBImmARM()
10020 setflags = BitIsSet(opcode, 20); in EmulateSUBSPReg()
10039 setflags = BitIsSet(opcode, 20); in EmulateSUBSPReg()
10121 setflags = BitIsSet(opcode, 20); in EmulateADDRegShift()
10229 setflags = BitIsSet(opcode, 20); in EmulateSUBReg()
10256 setflags = BitIsSet(opcode, 20); in EmulateSUBReg()
10457 index = BitIsSet(opcode, 24); in EmulateSTRBImmARM()
10458 add = BitIsSet(opcode, 23); in EmulateSTRBImmARM()
10459 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRBImmARM()
10554 index = BitIsSet(opcode, 24); in EmulateSTRImmARM()
10555 add = BitIsSet(opcode, 23); in EmulateSTRImmARM()
10556 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRImmARM()
10664 index = BitIsSet(opcode, 24); in EmulateLDRDImmediate()
10665 add = BitIsSet(opcode, 23); in EmulateLDRDImmediate()
10666 wback = BitIsSet(opcode, 21); in EmulateLDRDImmediate()
10684 if (BitIsSet(t, 0)) in EmulateLDRDImmediate()
10691 index = BitIsSet(opcode, 24); in EmulateLDRDImmediate()
10692 add = BitIsSet(opcode, 23); in EmulateLDRDImmediate()
10693 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRDImmediate()
10696 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateLDRDImmediate()
10803 if (BitIsSet(t, 0)) in EmulateLDRDRegister()
10810 index = BitIsSet(opcode, 24); in EmulateLDRDRegister()
10811 add = BitIsSet(opcode, 23); in EmulateLDRDRegister()
10812 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateLDRDRegister()
10815 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateLDRDRegister()
10934 index = BitIsSet(opcode, 24); in EmulateSTRDImm()
10935 add = BitIsSet(opcode, 23); in EmulateSTRDImm()
10936 wback = BitIsSet(opcode, 21); in EmulateSTRDImm()
10953 if (BitIsSet(t, 0)) in EmulateSTRDImm()
10961 index = BitIsSet(opcode, 24); in EmulateSTRDImm()
10962 add = BitIsSet(opcode, 23); in EmulateSTRDImm()
10963 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRDImm()
10966 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateSTRDImm()
11081 if (BitIsSet(t, 0)) in EmulateSTRDReg()
11089 index = BitIsSet(opcode, 24); in EmulateSTRDReg()
11090 add = BitIsSet(opcode, 23); in EmulateSTRDReg()
11091 wback = BitIsClear(opcode, 24) || BitIsSet(opcode, 21); in EmulateSTRDReg()
11094 if (BitIsClear(opcode, 24) && BitIsSet(opcode, 21)) in EmulateSTRDReg()
11225 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM()
11232 add = BitIsSet(opcode, 23); in EmulateVLDM()
11233 wback = BitIsSet(opcode, 21); in EmulateVLDM()
11260 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM()
11268 add = BitIsSet(opcode, 23); in EmulateVLDM()
11269 wback = BitIsSet(opcode, 21); in EmulateVLDM()
11419 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM()
11426 add = BitIsSet(opcode, 23); in EmulateVSTM()
11427 wback = BitIsSet(opcode, 21); in EmulateVSTM()
11454 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM()
11462 add = BitIsSet(opcode, 23); in EmulateVSTM()
11463 wback = BitIsSet(opcode, 21); in EmulateVSTM()
11619 add = BitIsSet(opcode, 23); in EmulateVLDR()
11632 add = BitIsSet(opcode, 23); in EmulateVLDR()
11745 add = BitIsSet(opcode, 23); in EmulateVSTR()
11762 add = BitIsSet(opcode, 23); in EmulateVSTR()
11893 if (BitIsSet(align, 1)) in EmulateVLD1Multiple()
11904 if (BitIsSet(align, 1)) in EmulateVLD1Multiple()
12219 if (BitIsSet(align, 1)) in EmulateVST1Multiple()
12231 if (BitIsSet(align, 1)) in EmulateVST1Multiple()
12526 if ((size == 3) || ((size == 0) && BitIsSet(opcode, 4))) in EmulateVLD1SingleAll()
13999 if (BitIsSet(bytemask, 3)) { in CPSRWriteByInstr()
14005 if (BitIsSet(bytemask, 2)) { in CPSRWriteByInstr()
14009 if (BitIsSet(bytemask, 1)) { in CPSRWriteByInstr()
14017 if (BitIsSet(bytemask, 0)) { in CPSRWriteByInstr()
14052 if (BitIsSet(addr, 0)) { in BXWritePC()