-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add algorithm-specific detection macros for vectorization #5801
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
Merged
StephanTLavavej
merged 33 commits into
microsoft:main
from
StephanTLavavej:vector-von-doom
Oct 29, 2025
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
29f7aa8
Set up the new macro system.
StephanTLavavej 9df2f9b
Inspect `_VECTORIZED_FOR_X64_X86`.
StephanTLavavej 4efcf9d
Improve comments for vectorization type traits.
StephanTLavavej 11a385e
_VECTORIZED_MISMATCH. (note _Lex_compare_memcmp_classify_elements)
StephanTLavavej 9c4490b
_VECTORIZED_IS_SORTED_UNTIL.
StephanTLavavej 44afd8c
_VECTORIZED_ROTATE.
StephanTLavavej d58cc6c
_VECTORIZED_SWAP_RANGES.
StephanTLavavej f79f444
_VECTORIZED_REVERSE.
StephanTLavavej 6817749
_VECTORIZED_REMOVE.
StephanTLavavej ad78933
_VECTORIZED_INCLUDES.
StephanTLavavej 547fd56
_VECTORIZED_MINMAX.
StephanTLavavej cbc0361
_VECTORIZED_MINMAX_ELEMENT. (note interaction with _VECTORIZED_MINMAX)
StephanTLavavej 465b4c5
_VECTORIZED_COUNT.
StephanTLavavej a21bbae
_VECTORIZED_SEARCH.
StephanTLavavej 649a2fd
_VECTORIZED_ADJACENT_FIND.
StephanTLavavej 6747f12
_VECTORIZED_FIND_FIRST_OF.
StephanTLavavej d410936
_VECTORIZED_FIND_LAST_OF.
StephanTLavavej b2485ab
_VECTORIZED_FIND.
StephanTLavavej 071af15
_VECTORIZED_SEARCH_N.
StephanTLavavej 94f5ea6
_VECTORIZED_REMOVE_COPY.
StephanTLavavej d81cf8f
_VECTORIZED_FIND_LAST.
StephanTLavavej c2a314d
_VECTORIZED_REVERSE_COPY.
StephanTLavavej 2e58939
_VECTORIZED_REPLACE.
StephanTLavavej 86f8a90
_VECTORIZED_FIND_END.
StephanTLavavej 13f8b50
_VECTORIZED_FIND_LAST_NOT_OF.
StephanTLavavej cbf48ae
_VECTORIZED_UNIQUE.
StephanTLavavej 5af3ecc
_VECTORIZED_UNIQUE_COPY.
StephanTLavavej 741b5b9
_VECTORIZED_BITSET_TO_STRING.
StephanTLavavej a19efcd
_VECTORIZED_BITSET_FROM_STRING.
StephanTLavavej 834eea4
Remove/shrink _VECTORIZED_FOR_X64_X86 regions.
StephanTLavavej a8b6015
Guard the helper traits to finish removing _VECTORIZED_FOR_X64_X86.
StephanTLavavej 391b33e
Define the algorithm macros.
StephanTLavavej c546a48
Unify _VECTORIZED_FIND_LAST_NOT_OF into _VECTORIZED_FIND_LAST.
StephanTLavavej 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.