write down some more ideas
This commit is contained in:
parent
6c64119f55
commit
c89853497a
2 changed files with 31 additions and 8 deletions
2
lo2.ml
2
lo2.ml
|
@ -408,9 +408,9 @@ let codegen (p: mprog): string =
|
|||
let regmap = [| (* only caller-save regs, for now *)
|
||||
0; (* rax *)
|
||||
1; (* rcx *)
|
||||
2; (* rdx *)
|
||||
6; (* rsi *)
|
||||
7; (* rdi *)
|
||||
2; (* rdx *)
|
||||
8; (* r8 *)
|
||||
9; (* r9 *)
|
||||
10; (* r10 *)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue