afonso360 opened PR #3304 from interp-vanyall
to main
:
This PR also changes the interfaces of
extractlane
andvectorizelanes
. They now operate onValue
instead ofi128
This 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_lane
andextract_lane
work 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.i128
isCopy
butValue
is 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
InstructionData
under 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 23 2024 at 13:07 UTC