Stream: git-wasmtime

Topic: wasmtime / PR #7871 x64: Refactor multiplication instruct...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 05 2024 at 17:44):

alexcrichton opened PR #7871 from alexcrichton:x64-mul to bytecodealliance:main:

This commit is inspired after reading over some code from #7865 and #7866. The goal of this commit was to refactor scalar multiplication-related instructions in the x64 backend to more closely align with their native instructions. Changes include:

Lowerings using imul are not affected in general but the IMulImm instruction has different register allocation behavior than before which allows the destination to have a different register than the first operand. The umulhi and smulhi instructions are also reimplemented with their 8-bit variants instead of extension-plus-16-bit variants.

<!--
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 (Feb 05 2024 at 17:44):

alexcrichton requested abrown for a review on PR #7871.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 05 2024 at 17:44):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #7871.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 22:49):

fitzgen submitted PR review:

Nice!

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 22:49):

fitzgen has enabled auto merge for PR #7871.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2024 at 22:49):

fitzgen has disabled auto merge for PR #7871.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2024 at 11:05):

alexcrichton updated PR #7871.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2024 at 11:14):

alexcrichton commented on PR #7871:

cc @abrown you mentioned that you were also taking a look at this, want me to hold off on merging for that?

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2024 at 11:18):

alexcrichton updated PR #7871.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2024 at 12:47):

github-actions[bot] commented on PR #7871:

Subscribe to Label Action

cc @saulecabrera

<details>
This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "winch"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2024 at 22:44):

abrown commented on PR #7871:

Nah, it's good to go now that @fitzgen looked at it.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2024 at 23:13):

abrown merged PR #7871.


Last updated: Nov 22 2024 at 17:03 UTC