-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose cross-platform helpers for Vector64, Vector128, and Vector256 #53450
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
df33419
Refactoring Vector<T> to be alphabetically ordered and reduce duplica…
tannergooding bcf2bbd
Adding a debug view to System.Numerics.Vector<T>
tannergooding 7ed4a28
Do some basic code cleanup and refactoring of Vector64/128/256
tannergooding b577114
Updating Vector64/128/256 to expose cross platform helper methods
tannergooding 4cdec92
Adding templated tests for Vector64
tannergooding 2f9ce11
Regenerating templated tests for Vector64
tannergooding 4940fcf
Adding templated tests for Vector128
tannergooding ac9c477
Regenerating templated tests for Vector128
tannergooding 557128e
Adding templated tests for Vector256
tannergooding 81a012e
Regenerating templated tests for Vector256
tannergooding 3245883
Fix getSIMDStructFromField to account for accessing the private ulong…
tannergooding 37c521e
Ensure helper intrinsics don't insert on importation
tannergooding 6cddb02
Minor cleanup of impBaseIntrinsic for x86/x64
tannergooding 8c28873
Intrinsify the Vector64/128/256 methods
tannergooding 1b665fc
Make the internal helper named IsTypeSupported to not conflict with m…
tannergooding f917ea6
Ensure we lie about the type for TYP_SIMD32 bitwise ops when only AVX…
tannergooding 10dfe0c
Use gtNewSimdZeroNode rather than gtNewSIMDVectorZero
tannergooding 6d34d27
Applying formatting patch
tannergooding 57ce0a9
Apply suggestions from code review
tannergooding f2529d7
Apply suggestions from code review
tannergooding 54610f9
Split HardwareIntrinsic tests into 3 groups
tannergooding fc5c5bc
Update src/coreclr/vm/class.cpp
tannergooding File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Minor cleanup of impBaseIntrinsic for x86/x64
- Loading branch information
commit 6cddb02a7e3b43afa8e5663643dc0432c6d9ff34
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
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.
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.
I don't think this is the most optimal way of implementing
Vector128.GetUpper()
...Perhaps, something that does
DUP Vd, Vn.D[1]
should be used instead.This would correspond to
vector.AsUInt64().GetElement(1).As<T>()
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.
Do you mind if I fix this in a follow up PR (just so we can go ahead and get this one resolved and avoid further downstream conflicts)?
Also noting, this might be a case where we want to recognize the
ExtractVector128
pattern and replace it withDUP
if we know its always going to be more efficient...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.
Sure, I meant to write that this work can wait when posted the message (but forgot).