• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Unconditional branch, 32-bit offset.
3 *
4 * The branch distance is a signed code-unit offset, which we need to
5 * double to get a byte offset.
6 *
7 * Unlike most opcodes, this one is allowed to branch to itself, so
8 * our "backward branch" test must be "<=0" instead of "<0".  Because
9 * we need the V bit set, we'll use an adds to convert from Dalvik
10 * offset to byte offset.
11 */
12    /* goto/32 +AAAAAAAA */
13    movl    2(rPC), rINST                   # rINST <- AAAAAAAA
14    testl   rINST, rINST
15    jmp     MterpCommonTakenBranch
16