• Milad Fa's avatar
    PPC/s390: Introduce CagedPointer · 8cf49c2d
    Milad Fa authored
    Port afd15549
    
    Original Commit Message:
    
        A CagedPointer is guaranteed to point into the Virtual Memory Cage and
        will for example be used for ArrayBuffer backing stores when the heap
        sandbox is enabled. In the current implementation, CagedPointers are
        stored as offsets from the cage base, shifted to the left. Because the
        cage base address is usually available in a register, accessing a
        CagedPointer is very efficient, requiring only an additional shift and
        add operation.
    
    R=saelo@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I6d5b9da23f35b60dffecb5fc5acb9c7fa362df14
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3250935Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Commit-Queue: Milad Fa <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/main@{#77624}
    8cf49c2d
instruction-selector-ppc.cc 94.2 KB