• Milad Fa's avatar
    PPC/s390: [maglev] Implement Maglev-to-Turbofan OSR · 1e3e6969
    Milad Fa authored
    Port ed90ea5c
    
    Original Commit Message:
    
        This implementation sticks closely to what Ignition-to-Turbofan (and now
        Sparkplug-to-TF) does. OSR is detected in the TieringManager by having
        optimized code available, without having entered it. The osr_urgency is
        increased to enable OSR for increasing loop depths. When a candidate
        JumpLoop backedge is reached, we call into runtime to trigger OSR
        compilation.
    
        JumpLoop also detects the availability of cached OSR'd code. When a
        matching OSR code object is available, Maglev 1) deoptimizes s.t. the
        unoptimized frame layout is reconstructed, and 2) delegates the actual
        OSR tierup to the unoptimized tier. For purposes of 1), we add a new
        DeoptimizeReason that causes a one-time eager deopt without invalidating
        any code.
    
        into a generic spot that both SP and ML can use.
    
    R=jgruber@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I2de3ef530b9d1aac97e499fee75716a958cd9d09
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3863277
    Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
    Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Cr-Commit-Position: refs/heads/main@{#82827}
    1e3e6969
Name
Last commit
Last update
..
builtins-s390.cc Loading commit data...