Stream: git-wasmtime

Topic: wasmtime / PR #5880 x64: Sink constant loads into xmm ins...


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

alexcrichton opened PR #5880 from sink-const-loads-in-sse-insts to main:

A number of places in the x64 backend make use of 128-bit constants for various wasm SIMD-related instructions although most of them currently use the x64_xmm_load_const helper to load the constant into a register. Almost all xmm instructions, however, enable using a memory operand which means that these loads can be folded into instructions to help reduce register pressure. Automatic conversions were added for a VCodeConstant into an XmmMem value and then explicit loads were all removed in favor of forwarding the XmmMem value directly to the underlying instruction. Note that some instances of x64_xmm_load_const remain since they're used in contexts where load sinking won't work (e.g. they're the first operand, not the second for non-commutative 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 25 2023 at 01:49):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2023 at 18:44):

alexcrichton requested elliottt for a review on PR #5880.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2023 at 21:49):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2023 at 22:41):

alexcrichton merged PR #5880.


Last updated: Dec 23 2024 at 12:05 UTC