This commit is contained in:
Mylloon 2024-01-02 11:39:29 +01:00
parent 8d6838e984
commit cd8e36f7e4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -498,9 +498,9 @@ module InstructionSelector : InstructionSelector = struct
[ Instruction (movq ~src:srcl ~dst:r15) [ Instruction (movq ~src:srcl ~dst:r15)
(* Compare src right avec r15 (= src left) ***) (* Compare src right avec r15 (= src left) ***)
; Instruction (cmpq ~src1:srcr ~src2:r15) ; Instruction (cmpq ~src1:srcr ~src2:r15)
(* Si condition est vrai jump vers le label ll *) (* Si condition est vrai : jump vers le label ll *)
; Instruction (jccl ~cc ~tgt:ll) ; Instruction (jccl ~cc ~tgt:ll)
(* Sinon on va jump vers le label lr par défaut *****) (* Sinon : on va jump vers le label lr par défaut ***)
; Instruction (jmpl ~tgt:lr) ; Instruction (jmpl ~tgt:lr)
] ]
;; ;;