This repository was archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 201
Implement extractlane instruction for x86 #855
Merged
sunfishcode
merged 4 commits into
bytecodealliance:master
from
abrown:add-extract-lane-x86-rebased
Aug 20, 2019
Merged
Implement extractlane instruction for x86 #855
sunfishcode
merged 4 commits into
bytecodealliance:master
from
abrown:add-extract-lane-x86-rebased
Aug 20, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@sunfishcode can you take a look at this? |
dfa1ec7
to
e6c6b90
Compare
abrown
commented
Jul 25, 2019
1b00fa6
to
2ead474
Compare
As I was playing with |
@arunetm, here is an |
This refactor moves the calculation of the number of lanes to code closer to where the Instruction/BoundInstruction is bound.
In talking to @sunfishcode, he preferred to avoid the confusion of more ISA predicates by eliminating SSE2. SSE2 was released with the Pentium 4 in 2000 so it is unlikely that current CPUs would have SIMD enabled and not have this feature. I tried to note the SSE2-specific instructions with comments in the code.
2ead474
to
8bd1ff4
Compare
@sunfishcode this one is also rebased and ready for review |
sunfishcode
approved these changes
Aug 19, 2019
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 to me!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The primary commit for this is 9785535 but the following three are improvements from comments to #833 or suggested by the IDE (9a036ec).