Stream: git-wasmtime

Topic: wasmtime / PR #5737 winch: Add full support for integer `...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 20:55):

saulecabrera opened PR #5737 from winch-int-add-sub-ops to main:

This patch adds complete support for the sub and add WebAssembly instructions for x64, and complete support for the add WebAssembly instruction for aarch64 (which previously only supported i32).

This patch also refactors how the binary operations get constructed within the VisitOperator trait implementation. The refactor adds methods in the CodeGenContext to abstract all the common steps to emit binary operations, making this process less repetitive and less brittle (e.g. omitting to push the resulting value to the stack, or omitting to free registers after used).

This patch also improves test coverage and refactors the filetests directory to make it easier to add tests for other instructions.

<!--

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 07 2023 at 20:55):

saulecabrera requested cfallin for a review on PR #5737.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2023 at 01:01):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2023 at 01:01):

cfallin merged PR #5737.


Last updated: Nov 22 2024 at 16:03 UTC