github-actions[bot] commented on issue #6358:
Subscribe to Label Action
cc @saulecabrera
<details>
This issue or pull request has been labeled: "winch"Thus the following users have been cc'd because of the following labels:
- saulecabrera: winch
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton commented on issue #6358:
Random thought about pinned registers -- while this isn't a problem for winch yet the final set of trampolines are the libcall trampolines which enter the runtime for instructions like
memory.grow
. These trampolines are still handwritten asm and don't come from Cranelift, and they don't handle anything about pinned registers and such at this time. Not to say they couldn't, just something to keep in mind.
saulecabrera commented on issue #6358:
@alexcrichton I've addressed all of your comments; I think this is ready for another pass. I've opted to leave the translation between
ptr_size <> ValType
as a TODO for now.Regarding your other comments, I've introduced
wasmtime-environ
as a dependency towinch-codegen
as discussed during our last meeting, which allows for a direct usage ofVMOffsets
andFooIndex
types across trampolines. After this PR lands, I'll update the other pre-existing code that useswinch_environ::FuncEnv
.
saulecabrera edited a comment on issue #6358:
@alexcrichton I've addressed all of your comments; I think this is ready for another pass. I've opted to leave the translation between
ptr_size <> ValType
as a TODO for now.Regarding your other comments, I've introduced
wasmtime-environ
as a dependency towinch-codegen
as discussed during our last meeting, which allows for a direct usage ofVMOffsets
andFooIndex
types across trampolines. After this PR lands, I'll update the other pre-existing code that useswinch_environ::FuncEnv
.
saulecabrera commented on issue #6358:
I'm not exactly sure why the MIRI check is failing.
saulecabrera commented on issue #6358:
I'm not exactly sure why the MIRI check is failing.
I realized that all the other tests are ignoring miri, so I applied the same attribute to Winch's tests.
saulecabrera commented on issue #6358:
Agreed; @cfallin, added you as a reviewer, let me know if you have any thoughts!
saulecabrera edited a comment on issue #6358:
Agreed; @cfallin, re-added you as a reviewer, let me know if you have any thoughts!
cfallin commented on issue #6358:
Agreed; @cfallin, re-added you as a reviewer, let me know if you have any thoughts!
Yep, I'll take a look now!
Last updated: Nov 22 2024 at 16:03 UTC