• Milad Fa's avatar
    PPC/s390: [wasm][liftoff] Avoid x28 even without pointer compression · f468a85d
    Milad Fa authored
    Port 8d0f5a04
    
    Original Commit Message:
    
        Due to a recent change Liftoff used different register configurations
        in the pointer-compression and no-pointer-compression setups. This
        caused a mismatch between the registers used by Liftoff and the
        registers spilled by the WasmDebugBreak builtin.
    
        With this CL the same register configuration is used both with and
        without pointer compression. Even without x28 there are 24 registers
        that can be used. Moreover, 24 registers can be spilled without
        padding, which would be needed with 25 registers to preserve stack
        alignment.
    
        Drive-by change: Use Reglist in frame-constants on all platforms.
    
    R=ahaas@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: Ibad93faeaba88f929db16d239858da6e45ca673b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2756550
    Commit-Queue: Milad Fa <mfarazma@redhat.com>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Cr-Commit-Position: refs/heads/master@{#73379}
    f468a85d
frame-constants-ppc.h 3.09 KB