• Hao Xu's avatar
    [baseline] Improve register allocation in Baseline CallBuiltin · 9cbe9774
    Hao Xu authored
    The Descriptor of Builtin defines the allocated machine registers for
    its parameters. However, when an argument is in
    InterpreterAccumulatorRegister, the Descriptor might require another
    machine register holding the the value of this argument and result in a
    redundant register-to-register move. This CL avoids this move by
    allocating a same register for such argument. It also changes the
    assigned registers for Typeof, KeyedLoadIC and KeyedHasIC to align the
    use in Baseline Builtins.
    
    Change-Id: I14004d8e44c4c45f2a1bea2c09b06160f615709b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416544Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78833}
    9cbe9774
Name
Last commit
Last update
..
assembler-x64-inl.h Loading commit data...
assembler-x64.cc Loading commit data...
assembler-x64.h Loading commit data...
constants-x64.h Loading commit data...
cpu-x64.cc Loading commit data...
fma-instr.h Loading commit data...
interface-descriptors-x64-inl.h Loading commit data...
macro-assembler-x64.cc Loading commit data...
macro-assembler-x64.h Loading commit data...
register-x64.h Loading commit data...
sse-instr.h Loading commit data...