• Milad Fa's avatar
    PPC/s390: [wasm] Count direct calls · aacd4162
    Milad Fa authored
    Port 9ca0bfef
    
    Original Commit Message:
    
        This adds feedback collection to count the number of executions of
        call_direct instructions in Liftoff code. The purpose is better
        inlining decisions in Turbofan, which are enabled by having call
        count information for all kinds of calls.
        The new feature is gated on --wasm-speculative-inlining. While
        direct calls don't need to speculate about their target, the whole
        feedback collection infrastructure depends on that flag.
    
    R=jkummerow@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: Id94a8a00e00877213b017d1ccf06ae0ea988539b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3576126Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
    Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/main@{#79862}
    aacd4162
macro-assembler-ppc.h 56.3 KB