Stream: git-wasmtime

Topic: wasmtime / PR #10082 Winch: Add replace_lane instructions...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2025 at 21:46):

jeffcharles opened PR #10082 from jeffcharles:winch-simd-replace-lane to bytecodealliance:main:

<!--
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
-->
Part of #8093. Implements the *.replace_lane set of instructions.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2025 at 21:46):

jeffcharles requested wasmtime-compiler-reviewers for a review on PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2025 at 21:46):

jeffcharles requested cfallin for a review on PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2025 at 21:46):

jeffcharles requested fitzgen for a review on PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2025 at 21:46):

jeffcharles requested wasmtime-core-reviewers for a review on PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2025 at 23:45):

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

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:

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 (Jan 23 2025 at 12:01):

saulecabrera commented on PR #10082:

I can take this review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2025 at 12:01):

saulecabrera requested saulecabrera for a review on PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2025 at 15:00):

jeffcharles updated PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2025 at 19:29):

saulecabrera submitted PR review:

LGTM, one minor remark.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2025 at 19:29):

saulecabrera created PR review comment:

I'd like to keep OperandSize as machine independent as possible. Would it be possible to move this to a helper in the x64 masm/asm?

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 20:49):

jeffcharles submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 20:49):

jeffcharles created PR review comment:

The vpinsr_opcode method isn't accessible outside of the x86 assembler module and shouldn't show up in autocomplete when using the Rust Analyzer. I can put on a static function instead in any case.

If someone tried to call it outside of that module, say in the macroassembler or code context, they would get the following compiler error:

error[E0624]: method `vpinsr_opcode` is private
    --> winch/codegen/src/isa/x64/masm.rs:1554:36
     |
1554 |         let foo = kind.lane_size().vpinsr_opcode();
     |                                    ^^^^^^^^^^^^^ private method
     |
    ::: winch/codegen/src/isa/x64/asm.rs:171:5
     |
171  |     pub(self) fn vpinsr_opcode(&self) -> AvxOpcode {
     |     ---------------------------------------------- private method defined here

For more information about this error, try `rustc --explain E0624`

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 20:54):

jeffcharles updated PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 20:56):

jeffcharles requested saulecabrera for a review on PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 21:07):

saulecabrera submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 21:07):

saulecabrera has enabled auto merge for PR #10082.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 24 2025 at 21:30):

saulecabrera merged PR #10082.


Last updated: Feb 28 2025 at 03:10 UTC