[webkit-changes] [WebKit/WebKit] b45457: Use simde

Yusuke Suzuki noreply at github.com
Mon May 6 10:42:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b45457bcf81870e70faced7a27046c290563f265
      https://github.com/WebKit/WebKit/commit/b45457bcf81870e70faced7a27046c290563f265
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-05-06 (Mon, 06 May 2024)

  Changed paths:
    A Source/WTF/LICENSE-simde.txt
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/CMakeLists.txt
    A Source/WTF/wtf/simde/arm/neon.h
    A Source/WTF/wtf/simde/arm/sve.h
    A Source/WTF/wtf/simde/simde.h
    M Source/WTF/wtf/text/StringCommon.cpp
    M Source/WTF/wtf/text/StringCommon.h

  Log Message:
  -----------
  Use simde
https://bugs.webkit.org/show_bug.cgi?id=273755
rdar://127585228

Reviewed by Keith Miller.

This patch imports simd-everywhere[1]. This implements almost all of ARM64 NEON intriniscs
on any platforms so that we can just globally use ARM64 NEON SIMD. We enabled ARM64-exclusively written SIMD code for x64 too.
Right now, we are not enabling SIMD for x64 yet. We do that in a separate patch.
Note that Apple OSS approval ID is OSS-14094.

[1]: https://github.com/simd-everywhere/simde

* Source/WTF/LICENSE-simde.txt: Added.
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/simde/arm/neon.h: Added.
* Source/WTF/wtf/text/StringCommon.cpp:
(WTF::find16AlignedImpl):
(WTF::find32AlignedImpl):
(WTF::find64AlignedImpl):
(WTF::findFloatAlignedImpl):
(WTF::findDoubleAlignedImpl):
(WTF::find8NonASCIIAlignedImpl):
(WTF::find16NonASCIIAlignedImpl):
* Source/WTF/wtf/text/StringCommon.h:

Canonical link: https://commits.webkit.org/278410@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