allwinner_a64/android/art/runtime/interpreter/mterp/mips/op_goto.S
2018-08-08 16:48:17 +08:00

10 lines
377 B
ArmAsm

/*
* Unconditional branch, 8-bit offset.
*
* The branch distance is a signed code-unit offset, which we need to
* double to get a byte offset.
*/
/* goto +AA */
sll a0, rINST, 16 # a0 <- AAxx0000
sra rINST, a0, 24 # rINST <- ssssssAA (sign-extended)
b MterpCommonTakenBranchNoFlags