2 %verify "forward and backward"
4 * Unconditional branch, 16-bit offset.
6 * The branch distance is a signed code-unit offset, which we need to
7 * double to get a byte offset.
10 FETCH_S(a0, 1) # a0 <- ssssAAAA (sign-extended)
11 addu a1, a0, a0 # a1 <- byte offset, flags set
12 FETCH_ADVANCE_INST_RB(a1) # update rPC, load rINST
14 lw rIBASE, offThread_curHandlerTable(rSELF) # refresh handler base
17 lw a0, offThread_pJitProfTable(rSELF)
18 bltz a1, common_testUpdateProfile # (a0) hot trace head?
20 GET_INST_OPCODE(t0) # extract opcode from rINST
21 GOTO_OPCODE(t0) # jump to next instruction