afonso360 requested wasmtime-compiler-reviewers for a review on PR #8692.
afonso360 opened PR #8692 from afonso360:riscv64-i128-vec-bitcast
to bytecodealliance:main
:
:wave: Hey,
This PR Implements lowerings for casting between scalar types and vector types. This is split between two implementations.
For i128 to 128bit vectors, we have lowerings that correctly split or join the high and low halves.
Additionally, the RISC-V backend fully supports smaller (and larger) vectors, so for vectors 64bit or smaller, we also implement single instruction lowerings to move Vectors to the X and F registers, and vice-versa.
Bitcasting between larger vectors types should already be supported, since we don't actually need to do anything to the register.
cc: #6104
afonso360 requested cfallin for a review on PR #8692.
afonso360 updated PR #8692.
alexcrichton submitted PR review.
alexcrichton merged PR #8692.
Last updated: Nov 22 2024 at 16:03 UTC