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

[JSC] Use BinarySwitch on new BBQ BrTable #10436

Commits on Feb 21, 2023

  1. [JSC] Use BinarySwitch on new BBQ BrTable

    https://bugs.webkit.org/show_bug.cgi?id=252655
    rdar://105716386
    
    Reviewed by Tadeu Zagallo.
    
    As the same to Air BBQ IR generator, let's use BinarySwitch to efficiently jump to the large BrTable.
    This improves tsf-wasm performance (only with new BBQ) from 0.845 to 2.904.
    
    * Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
    (JSC::Wasm::BBQJIT::ControlData::addBranch):
    (JSC::Wasm::BBQJIT::addSwitch):
    
    Canonical link: https://commits.webkit.org/260614@main
    Constellation committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    400b0a9 View commit details
    Browse the repository at this point in the history