Skip to content

ZJIT: Consider using SP register for reloading locals #769

Description

@k0kubun

send-ish instructions reload locals from the VM stack when they have a blockiseq. The reload uses cfp->ep to load stack values, but it could use SP register, which should be faster than loading cfp->ep from memory, when efp->ep is equal to SP - 1. It needs to accompany a PatchPoint Invariant::NoEPEscape.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions