• Joey Gouly's avatar
    Reland "[liftoff] Introduce emit_{i64,i32}_add with immediate" · 138d2dfc
    Joey Gouly authored
    This is a reland of e3be96d6
    
    The failure was due to not sign extendint the immediate for 64-bit adds on
    32-bit platforms.
    
    Original change's description:
    > [liftoff] Introduce emit_{i64,i32}_add with immediate
    >
    > This allows immediates to be encoded directly into instructions, rather than
    > mov-ing constants to registers first.
    >
    > This patch only changes emit_{i64,i32}_add, other emit_ functions will be changed once
    > this approach has been approved.
    >
    > Bug: v8:9038
    >
    > Change-Id: I0c7306c2da0dae26f1c6e2465a9565adbf0bda84
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1524482
    > Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#60506}
    
    Bug: v8:9038
    Change-Id: I7dd1112827d037d900fd36cce71206388642605b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1543730Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60521}
    138d2dfc
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc 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...