dotnet / dotnet/runtime

[RyuJIT Wasm] CQ: Improve StoreSelectedScalar/LoadScalarAndInsert Codegen

Open
#131,003 2 comments 0 reactions 1 assignee Claimed by @adamperlin View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.