• 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
..
assembler-arm-inl.h Loading commit data...
assembler-arm.cc Loading commit data...
assembler-arm.h Loading commit data...
code-stubs-arm.cc Loading commit data...
code-stubs-arm.h Loading commit data...
codegen-arm.cc Loading commit data...
constants-arm.cc Loading commit data...
constants-arm.h Loading commit data...
cpu-arm.cc Loading commit data...
deoptimizer-arm.cc Loading commit data...
disasm-arm.cc Loading commit data...
eh-frame-arm.cc Loading commit data...
frame-constants-arm.cc Loading commit data...
frame-constants-arm.h Loading commit data...
interface-descriptors-arm.cc Loading commit data...
interface-descriptors-arm.h Loading commit data...
macro-assembler-arm.cc Loading commit data...
macro-assembler-arm.h Loading commit data...
simulator-arm.cc Loading commit data...
simulator-arm.h Loading commit data...