Stream: git-wasmtime

Topic: wasmtime / PR #5691 winch: Small clean-up for x64


view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:02):

saulecabrera opened PR #5691 from winch-x64-cleanups to main:

This commit contains a small set of clean up items for x64.

Notably:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:02):

saulecabrera requested cfallin for a review on PR #5691.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:05):

saulecabrera submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:05):

saulecabrera submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:05):

saulecabrera created PR review comment:

This path is not heavily exercised at the moment. I'll add more extensive tests once we support pop at the Masm layer, which should be once we support all the binary/unary operations since we'd be able to test more complex programs.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:06):

saulecabrera updated PR #5691 from winch-x64-cleanups to main.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:28):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:28):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:28):

cfallin created PR review comment:

I just realized here that x64 also keeps rsp only 8-aligned -- this is fine for accesses to the stack in the function body (unlike aarch64) but will also need alignment when calls are implemented, because the x64 SysV ABI requires 16-alignment on call. (Function prologues can rely on this by using aligned SIMD stores...) Possible you're already thinking of this, but just wanted to note!

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:28):

cfallin has enabled auto merge for PR #5691.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:40):

cfallin merged PR #5691.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2023 at 16:50):

saulecabrera edited PR #5691 from winch-x64-cleanups to main:

This commit contains a small set of clean up items for x64.

Notably:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->


Last updated: Oct 23 2024 at 20:03 UTC