Home | History | Annotate | Download | only in arm

Lines Matching refs:branchOffset

1331 static u4 assembleChainingBranch(int branchOffset, bool thumbTarget)
1336 thumb1 = (getSkeleton(kThumbBlx1) | ((branchOffset>>12) & 0x7ff));
1337 thumb2 = (getSkeleton(kThumbBlx2) | ((branchOffset>> 1) & 0x7ff));
1338 } else if ((branchOffset < -2048) | (branchOffset > 2046)) {
1339 thumb1 = (getSkeleton(kThumbBl1) | ((branchOffset>>12) & 0x7ff));
1340 thumb2 = (getSkeleton(kThumbBl2) | ((branchOffset>> 1) & 0x7ff));
1342 thumb1 = (getSkeleton(kThumbBUncond) | ((branchOffset>> 1) & 0x7ff));
1365 int branchOffset = (int) tgtAddr - baseAddr;
1375 assert((branchOffset >= -(1<<22)) && (branchOffset <= ((1<<22)-2)));
1392 newInst = assembleChainingBranch(branchOffset, thumbTarget);
1523 int branchOffset = tgtAddr - baseAddr;
1525 newCell.branch = assembleChainingBranch(branchOffset, true);