Stream: git-wasmtime

Topic: wasmtime / PR #6891 winch: Use type information to derive...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 23 2023 at 14:43):

saulecabrera requested cfallin for a review on PR #6891.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 23 2023 at 14:43):

saulecabrera opened PR #6891 from saulecabrera:winch-use-type-information-for-sizes to bytecodealliance:main:

This change is a small refactor to how we've been handling the operand size
parameter passed to some of the CodeGenContext operations, namely,
pop_to_reg and move_val_to_reg.

Given the more precise value tagging introduced in:
https://github.com/bytecodealliance/wasmtime/pull/6860,
it's now possible to derive the operand size from the type associated to a value
stack entry, which:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 23 2023 at 14:43):

saulecabrera requested wasmtime-compiler-reviewers for a review on PR #6891.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 24 2023 at 04:32):

cfallin submitted PR review:

This is a nice simplification, thanks! It's nice to see that some x86 code gets a little more compact too without the REX prefixes (because 32-bit moves can be used).

view this post on Zulip Wasmtime GitHub notifications bot (Aug 24 2023 at 05:17):

cfallin merged PR #6891.


Last updated: Nov 22 2024 at 17:03 UTC