-
Notifications
You must be signed in to change notification settings - Fork 201
Conversation
@sunfishcode, one other thought: is there a way to guard this feature under some flag until we can properly test that all of the encodings are correct by compiling and running some WASM code? |
We could use the |
@bnjbvr, @sunfishcode, @bjorn3: this should be ready for a real review now. Do I need to rebase and squash or will you squash when you merge from here? |
Nice. I would personally like it if there was a way to squash some of your commits together, so:
This might be hard to do after the fact, but in some cases it's possible to do so, which would help make the review much simpler. Does it make sense to you to try to do so? |
Also, ties SIMD ISA predicates to the shared enable_simd setting
@bjorn3's comments are addressed (do you have more?) and I rebased the commits to something that should make more sense in a git history, running |
a36cffa
to
03c7803
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Moves scalar values in a GPR register to an FPR register
Casts bits as a different type of the same width with no change to the data (unlike bitcast)
This includes both PSHUFD and PSHUFB; these are necessary to legalize future SIMD instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! And thanks so much @bjorn3 for the review here!
This is a work in progress and not ready to merge but I am opening the PR for discussion (see #803). I will highlight my top questions in the code below.
[edit] This should be ready for a real review now; I've resolved all of the discussion issues.