• Pierre Langlois's avatar
    [arm][turbofan] Remove hard-coded uses of r9 and allocate it. · ebeef1fc
    Pierre Langlois authored
    Remove hard-coded scratch registers (r9 and ip) from the code generator in favor
    of using the `UseScratchRegisterScope` utility. And as a result, we can free the
    r9 register for the allocator to use.
    
    Note that the code generator now has to cope with a single scratch register (ip)
    instead of two (ip + r9). Therefore the code sequences emitted by moves aren't
    as optimized as they used to be. For instance, we now use a scratch S register
    in places where we could use r9. We can optimize them further if we want but
    running benchmarks showed no impact so keeping the code simpler was deemed
    better for the time being.
    
    Bug: v8:6553
    Change-Id: I7fcf244cb1b6578564b503619a041006eaf74626
    Reviewed-on: https://chromium-review.googlesource.com/895461
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51080}
    ebeef1fc
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...