Skip to content

Commit aabb738

Browse files
committed
test cond
1 parent b9885fe commit aabb738

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backend/arm64/emit.ml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1213,20 +1213,20 @@ let assembly_code_for_poll i ~far ~return_label =
12131213
then (
12141214
match return_label with
12151215
| None ->
1216-
DSL.ins (I.B_cond LS) [| DSL.emit_label lbl_call_gc |];
1216+
DSL.ins (I.B_cond LO) [| DSL.emit_label lbl_call_gc |];
12171217
emit_printf "%a:\n" femit_label lbl_after_poll
12181218
| Some return_label ->
1219-
DSL.ins (I.B_cond HI) [| DSL.emit_label return_label |];
1219+
DSL.ins (I.B_cond HS) [| DSL.emit_label return_label |];
12201220
DSL.ins I.B [| DSL.emit_label lbl_call_gc |])
12211221
else
12221222
match return_label with
12231223
| None ->
1224-
DSL.ins (I.B_cond HI) [| DSL.emit_label lbl_after_poll |];
1224+
DSL.ins (I.B_cond HS) [| DSL.emit_label lbl_after_poll |];
12251225
DSL.ins I.B [| DSL.emit_label lbl_call_gc |];
12261226
emit_printf "%a:\n" femit_label lbl_after_poll
12271227
| Some return_label ->
12281228
let lbl = Cmm.new_label () in
1229-
DSL.ins (I.B_cond LS) [| DSL.emit_label lbl |];
1229+
DSL.ins (I.B_cond LO) [| DSL.emit_label lbl |];
12301230
DSL.ins I.B [| DSL.emit_label return_label |];
12311231
DSL.labeled_ins lbl I.B [| DSL.emit_label lbl_call_gc |]);
12321232
call_gc_sites

0 commit comments

Comments
 (0)