afonso360 opened PR #6534 from afonso360:riscv-simd-ext to bytecodealliance:main:
:wave: Hey,
This PR implements implements the SIMD extend instructions. For the
lowvariations we can use the regular extend instructions in a way that they only read part of the source vector. For thehighvariations we must first bring the upper lanes to the bottom and use the regular extend instructions.Additionally this PR also implements the
load+extendinstructions, we don't do anything special for these, just a I64X1 SIMD load, and then the regular extend instructions.I added the
gen_slidedown_halfhelper as a separate rule mostly because I've started using it a lot when implementing the widening arithmetic instructions (future PR), and figured it might be better to introduce it here.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #6534.
afonso360 requested jameysharp for a review on PR #6534.
afonso360 requested wasmtime-default-reviewers for a review on PR #6534.
elliottt submitted PR review:
This looks good to me!
afonso360 merged PR #6534.
Last updated: Dec 06 2025 at 06:05 UTC