[RyuJIT Wasm] CQ: Improve StoreSelectedScalar/LoadScalarAndInsert Codegen
Open
arch-wasm
area-CodeGen-coreclr
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
These are currently implemented using jump tables to select the right lane index when the lane isn't known at compile time, but the operation can be converted into `{STORE,LOAD}(vector_base_addr, lane_offset)`, where the `lane_offset` does not necessarily need to be known at compile time. ReplaceScalar and ExtractScalar could also be implemented this way if the vectors were spilled to be addressable.
Contributor guide
Assessment
This issue has not been assessed yet.