diff options
| author | 2014-06-28 10:59:19 +0700 | |
|---|---|---|
| committer | 2014-07-04 08:52:56 +0700 | |
| commit | 699c04aa7cb7d0e8187fba2cbec3f0319e4da5bb (patch) | |
| tree | 10d38f50fa25f60054b5be0854d62c551b46f8b5 /compiler | |
| parent | 03cbed6dfbd2750a243363ee4033c425d58cac6e (diff) | |
x86_64: Turn on promotion optimization
This CL turns on the promotion optimization (longs).
The 64-bit references support is disabled in x86_64 backend.
Change-Id: I62723388f549b51bae41c8a6b334228b2d782610
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/dex/frontend.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index 72990b4be0..07bbf15e00 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -865,9 +865,7 @@ static CompiledMethod* CompileMethod(CompilerDriver& driver, (1 << kPromoteCompilerTemps)); } else if (cu.instruction_set == kX86_64) { // TODO(X86_64): enable optimizations once backend is mature enough. - cu.disable_opt |= ( - (1 << kLoadStoreElimination) | - (1 << kPromoteRegs)); + cu.disable_opt |= (1 << kLoadStoreElimination); } else if (cu.instruction_set == kArm64) { // TODO(Arm64): enable optimizations once backend is mature enough. cu.disable_opt = ~(uint32_t)0; |