OSDN Git Service

Quick compiler, MIPS resource cleanup
authorbuzbee <buzbee@google.com>
Fri, 28 Mar 2014 19:59:18 +0000 (12:59 -0700)
committerbuzbee <buzbee@google.com>
Fri, 28 Mar 2014 19:59:18 +0000 (12:59 -0700)
commit9da5c1013215176f2a4dbe7a804be899e12d5f68
tree5fc1e2e274bd455db829215dbf5e13350f32ddb2
parenta708e32a9f764a48175e705ec4bcd2201c84f492
Quick compiler, MIPS resource cleanup

MIPS architecture includes internal registers HI and LO.
Similar to condition codes in other architectures, these internal
resouces must be accounted for during instruction scheduling.

Previously, the Quick backend for MIPS dealt with them by defining
rHI and rLO pseudo registers - treating them as actual registers for
def/use masks.  This CL changes the handling of these resources to
be in line with how condition codes are used elsewhere - leaving
register definitions to be used for registers.

Change-Id: Idcd77f3107b0c9b081ad05b1aab663fb9f41492d
compiler/dex/compiler_enums.h
compiler/dex/quick/mips/assemble_mips.cc
compiler/dex/quick/mips/int_mips.cc
compiler/dex/quick/mips/mips_lir.h
compiler/dex/quick/mips/target_mips.cc
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/x86/x86_lir.h