From 091cc408e9dc87e60fb64c61e186bea568fc3d3a Mon Sep 17 00:00:00 2001 From: buzbee Date: Mon, 31 Mar 2014 10:14:40 -0700 Subject: Quick compiler: allocate doubles as doubles Significant refactoring of register handling to unify usage across all targets & 32/64 backends. Reworked RegStorage encoding to allow expanded use of x86 xmm registers; removed vector registers as a separate register type. Reworked RegisterInfo to describe aliased physical registers. Eliminated quite a bit of target-specific code and generalized common code. Use of RegStorage instead of int for registers now propagated down to the NewLIRx() level. In future CLs, the NewLIRx() routines will be replaced with versions that are explicit about what kind of operand they expect (RegStorage, displacement, etc.). The goal is to eventually use RegStorage all the way to the assembly phase. TBD: MIPS needs verification. TBD: Re-enable liveness tracking. Change-Id: I388c006d5fa9b3ea72db4e37a19ce257f2a15964 --- compiler/dex/frontend.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/dex/frontend.cc') diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index ed2ecace36..1a9379ac1f 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -40,13 +40,13 @@ extern "C" void ArtUnInitQuickCompilerContext(art::CompilerDriver& driver) { /* Default optimizer/debug setting for the compiler. */ static uint32_t kCompilerOptimizerDisableFlags = 0 | // Disable specific optimizations - (1 << kLoadStoreElimination) | + (1 << kLoadStoreElimination) | // TODO: this pass has been broken for awhile - fix or delete. // (1 << kLoadHoisting) | // (1 << kSuppressLoads) | // (1 << kNullCheckElimination) | // (1 << kClassInitCheckElimination) | // (1 << kPromoteRegs) | - // (1 << kTrackLiveTemps) | + (1 << kTrackLiveTemps) | // FIXME: disable until liveness issue fixed. // (1 << kSafeOptimizations) | // (1 << kBBOpt) | // (1 << kMatch) | -- cgit v1.2.3-59-g8ed1b