Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b5e7baa7b93ec36ecd107a7a0edbdba9bc896a7d
      
https://github.com/WebKit/WebKit/commit/b5e7baa7b93ec36ecd107a7a0edbdba9bc896a7d
  Author: Yusuke Suzuki <[email protected]>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/LiteralParser.cpp
    M Source/WTF/wtf/SIMDHelpers.h
    M Source/WTF/wtf/text/StringCommon.h
    M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp

  Log Message:
  -----------
  [WTF] Introduce SIMD::find helper to simplify vectorized search code
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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to