afonso360 opened PR #6534 from afonso360:riscv-simd-ext
to bytecodealliance:main
:
:wave: Hey,
This PR implements implements the SIMD extend instructions. For the
low
variations we can use the regular extend instructions in a way that they only read part of the source vector. For thehigh
variations we must first bring the upper lanes to the bottom and use the regular extend instructions.Additionally this PR also implements the
load+extend
instructions, we don't do anything special for these, just a I64X1 SIMD load, and then the regular extend instructions.I added the
gen_slidedown_half
helper 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 23 2024 at 12:05 UTC