Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize TransformationMatrix inverse on ARM64 #10283

Merged

Commits on Feb 17, 2023

  1. 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
    cdumez committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    cf6d576 View commit details
    Browse the repository at this point in the history