afonso360 opened PR #3304 from interp-vanyall to main:
This PR also changes the interfaces of
extractlaneandvectorizelanes. They now operate onValueinstead ofi128This is a more ergonomic interface since pretty much every operation we do between these two functions is implemented on Value. With this interface we can also now start vectorizing bool values with the same interface.
I suspect that this change also makes
insert_laneandextract_lanework on bool vecs, but I haven't tested it and we don't have existing tests for it.This has an unfortunate downside that we had to add some
clone's in some places.i128isCopybutValueis not, so we have to explicitly annotate these moves.
afonso360 updated PR #3304 from interp-vanyall to main.
afonso360 updated PR #3304 from interp-vanyall to main.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
Can you instead add a TODO?
afonso360 updated PR #3304 from interp-vanyall to main.
abrown submitted PR review.
abrown submitted PR review.
abrown created PR review comment:
Side comment, no changes needed: yeah, wish this was easier. The decision to store the vector immediates in a side table was made to keep the size of
InstructionDataunder some number of bytes. I wonder if things have changed enough since then for us to stuff 16 bytes intoInstructionData.
abrown merged PR #3304.
Last updated: Dec 06 2025 at 06:05 UTC