Skip to content

Commit

Permalink
Merge pull request #5986 from knn-k/aarch64runtime9
Browse files Browse the repository at this point in the history
AArch64: Add a missing symbol in PicBuilder.spp
  • Loading branch information
0xdaryl authored Jun 3, 2019
2 parents 847266d + 084b965 commit 934f6d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/compiler/aarch64/runtime/PicBuilder.spp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ L_refreshHelper:
cmp x3, x4
bne L_outOfRange // distance is out of +/-128MB range

L_rewriteBranch:
ldr w2, [x0] // fetch branch instruction
ubfx x1, x3, #2, #26 // distance >> 2, masking out sign bits
and w2, w2, #0xFC000000 // mask out branch distance
Expand Down

0 comments on commit 934f6d2

Please sign in to comment.