• Milad Fa's avatar
    PPC/s390: [wasm] Fix 64-bit addressed loads on arm64 · 1835dec7
    Milad Fa authored
    Port 044a18ac
    
    Original Commit Message:
    
        The {LiftoffAssembler::Load} method already receives an {i64_offset}
        parameter which skips the UXTW (zero extension of 32-bit addresses) in
        the memory operand. The same needs to happen on stores.
    
        On 32-bit platforms, we cannot have addresses >=4GB anyway (they would
        be detected as OOB before reaching the point in question), so this is
        not a problem. On x64, all 32-bit registers are zero-extended already
        (which is debug-checked in the generated code), so this is also no
        problem (and we just ignore the additional parameter).
    
    R=clemensb@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: Ic531618875bf3b6abcf3741bcbe153e603d9f250
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3794647Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/main@{#82144}
    1835dec7
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
loong64 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
riscv Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
liftoff-assembler-defs.h Loading commit data...
liftoff-assembler.cc Loading commit data...
liftoff-assembler.h Loading commit data...
liftoff-compiler.cc Loading commit data...
liftoff-compiler.h Loading commit data...
liftoff-register.h Loading commit data...