akirilov-arm opened PR #2413 from fmov_vector
to main
:
Introduce support for
MOVI
/MVNI
with 16-, 32-, and 64-bit elements, and the vector variant ofFMOV
.
cfallin submitted PR Review.
cfallin submitted PR Review.
cfallin created PR Review Comment:
Can we take a size enum here instead of a bool, for clarity?
cfallin created PR Review Comment:
I think I'd prefer to use the word "hint" here, since it seems that this is a correctness requirement (right?) -- eliding a move that actually serves a zero-extending purpose would result in bad results.
cfallin created PR Review Comment:
Alternately, could we turn the zeroing variant into an
Extend
variant, since that's functionally what it's doing?
jgouly submitted PR Review.
jgouly created PR Review Comment:
If it does become an Extend, probably better if https://github.com/bytecodealliance/wasmtime/pull/2414 goes in first.
akirilov-arm updated PR #2413 from fmov_vector
to main
:
Introduce support for
MOVI
/MVNI
with 16-, 32-, and 64-bit elements, and the vector variant ofFMOV
.
akirilov-arm submitted PR Review.
akirilov-arm created PR Review Comment:
@cfallin I decided to add an
Inst::FpuExtend
variant because it felt cleaner.
cfallin submitted PR Review.
cfallin created PR Review Comment:
This looks better for sure; thanks!
cfallin submitted PR Review.
cfallin merged PR #2413.
Last updated: Nov 22 2024 at 16:03 UTC