[WTF] Introduce SIMD::find helper to simplify vectorized search code#29445
Merged
webkit-commit-queue merged 1 commit intoJun 3, 2024
Conversation
Collaborator
|
EWS run on previous version of this PR (hash ec8300e) Details |
ec8300e to
5665a00
Compare
Collaborator
|
EWS run on previous version of this PR (hash 5665a00) Details |
5665a00 to
f8a1e05
Compare
Collaborator
|
EWS run on previous version of this PR (hash f8a1e05) Details |
f8a1e05 to
1c13489
Compare
Collaborator
|
EWS run on previous version of this PR (hash 1c13489) Details |
1c13489 to
43a8767
Compare
Collaborator
|
EWS run on current version of this PR (hash 43a8767) Details |
43a8767 to
dc6cd00
Compare
https://bugs.webkit.org/show_bug.cgi?id=275044 rdar://129149147 Reviewed by Justin Michaud. We simplify vectorized finding code by introducing a helper function SIMD::find, which extracts the common pattern in SIMD finding code. * Source/JavaScriptCore/runtime/LiteralParser.cpp: (JSC::LiteralParser<CharType>::Lexer::lexString): * Source/WTF/wtf/SIMDHelpers.h: (WTF::SIMD::find): * Source/WTF/wtf/text/StringCommon.h: (WTF::findImpl): * Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp: (WebCore::HTMLFastPathParser::scanText): (WebCore::HTMLFastPathParser::scanAttributeValue): Canonical link: https://commits.webkit.org/279658@main
dc6cd00 to
b5e7baa
Compare
Collaborator
|
Committed 279658@main (b5e7baa): https://commits.webkit.org/279658@main Reviewed commits have been landed. Closing PR #29445 and removing active labels. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
b5e7baa
43a8767