• mbrandy's avatar
    PPC: Remove register index/code indirection · f53fda63
    mbrandy authored
    Port 5cf1c0bc
    
    Original commit message:
        Previous to this patch, both the lithium and TurboFan register
        allocators tracked allocated registers by "indices", rather than
        the register codes used elsewhere in the runtime. This patch
        ensures that codes are used everywhere, and in the process cleans
        up a bunch of redundant code and adds more structure to how the
        set of allocatable registers is defined.
    
        Some highlights of changes:
    
        * TurboFan's RegisterConfiguration class moved to V8's top level
          so that it can be shared with Crankshaft.
        * Various "ToAllocationIndex" and related methods removed.
        * Code that can be easily shared between Register classes on
          different platforms is now shared.
        * The list of allocatable registers on each platform is declared
          as a list rather than implicitly via the register index <->
          code mapping.
    
    R=danno@chromium.org, bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1381383002
    
    Cr-Commit-Position: refs/heads/master@{#31114}
    f53fda63
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-ppc-inl.h Loading commit data...
assembler-ppc.cc Loading commit data...
assembler-ppc.h Loading commit data...
builtins-ppc.cc Loading commit data...
code-stubs-ppc.cc Loading commit data...
code-stubs-ppc.h Loading commit data...
codegen-ppc.cc Loading commit data...
codegen-ppc.h Loading commit data...
constants-ppc.cc Loading commit data...
constants-ppc.h Loading commit data...
cpu-ppc.cc Loading commit data...
deoptimizer-ppc.cc Loading commit data...
disasm-ppc.cc Loading commit data...
frames-ppc.cc Loading commit data...
frames-ppc.h Loading commit data...
interface-descriptors-ppc.cc Loading commit data...
lithium-codegen-ppc.cc Loading commit data...
lithium-codegen-ppc.h Loading commit data...
lithium-gap-resolver-ppc.cc Loading commit data...
lithium-gap-resolver-ppc.h Loading commit data...
lithium-ppc.cc Loading commit data...
lithium-ppc.h Loading commit data...
macro-assembler-ppc.cc Loading commit data...
macro-assembler-ppc.h Loading commit data...
simulator-ppc.cc Loading commit data...
simulator-ppc.h Loading commit data...