Skip to content

Commit a49b97c

Browse files
authored
adds arm unpredicated BL instruction (#1434)
apparently this instruction existed for a long time but was never produced by llvm up until 11+ (confirmed on 13 and 14, not sure about 11 and 12)
1 parent 5b1acc0 commit a49b97c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/arm/arm_lifter.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,8 @@ let lift_branch mem ops insn =
957957
| `BL, [|offset; cond; _|]
958958
| `BL_pred, [|offset; cond; _|] ->
959959
Branch.lift offset ~cond ~link:true addr
960-
960+
| `BL, [|offset|] ->
961+
Branch.lift offset ~link:true addr
961962
| `BX_RET, [|cond; _|] ->
962963
Branch.lift (`Reg `LR) ~cond ~x:true addr
963964

0 commit comments

Comments
 (0)