Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Caml_allocN slowpath is broken #19

Open
kayceesrk opened this issue May 16, 2016 · 0 comments
Open

Caml_allocN slowpath is broken #19

kayceesrk opened this issue May 16, 2016 · 0 comments
Assignees
Labels

Comments

@kayceesrk
Copy link
Member

Caml_allocN [0] slow path expects %rax to contain the desired size. However, CMP_VAR in the fast path clobbers %rax.

[0] https://github.com/ocamllabs/ocaml-effects/blob/master/asmrun/amd64.S#L534-L537

@kayceesrk kayceesrk self-assigned this May 16, 2016
@kayceesrk kayceesrk added the bug label May 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant