[webkit-changes] [WebKit/WebKit] e8401b: Adopt SIMD in attribute and text scanning
Yusuke Suzuki
noreply at github.com
Fri May 10 22:16:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8401be1912bd7ccd878b2605d7edf2c91cf74f4
https://github.com/WebKit/WebKit/commit/e8401be1912bd7ccd878b2605d7edf2c91cf74f4
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M Source/JavaScriptCore/runtime/LiteralParser.cpp
M Source/WTF/wtf/text/StringParsingBuffer.h
M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Log Message:
-----------
Adopt SIMD in attribute and text scanning
https://bugs.webkit.org/show_bug.cgi?id=273977
rdar://127843610
Reviewed by Mark Lam.
This patch integrates SIMD into attribute value and string scanning.
We also attach UNLIKELY / LIKELY to bailout paths.
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::parseCompleteInput):
(WebCore::HTMLFastPathParser::scanText):
(WebCore::HTMLFastPathParser::scanTagName):
(WebCore::HTMLFastPathParser::scanAttributeValue):
(WebCore::HTMLFastPathParser::parseChildren):
(WebCore::HTMLFastPathParser::parseAttributes):
(WebCore::HTMLFastPathParser::parseContainerElement):
Canonical link: https://commits.webkit.org/278647@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list