[webkit-changes] [WebKit/WebKit] cf6d57: Optimize TransformationMatrix inverse on ARM64

Chris Dumez noreply at github.com
Fri Feb 17 14:09:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf6d576b811b032fc0322bb2b36020a1725c9a48
      https://github.com/WebKit/WebKit/commit/cf6d576b811b032fc0322bb2b36020a1725c9a48
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp

  Log Message:
  -----------
  Optimize TransformationMatrix inverse on ARM64
https://bugs.webkit.org/show_bug.cgi?id=252487

Reviewed by Yusuke Suzuki.

Optimize TransformationMatrix inverse on ARM64 by using SIMD.

This is a cherry-pick of:
https://chromium.googlesource.com/chromium/blink/+/7b03a53c2c7f24fb1dd79c0e7f4b7fad520875a5

I benchmarked this locally on M1 Pro with 100k matrices of random double values.
I saw a 20% speedup.

* Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::adjoint):
(WebCore::inverse):

Canonical link: https://commits.webkit.org/260468@main




More information about the webkit-changes mailing list