diff options
author | Serban Constantinescu <serban.constantinescu@arm.com> | 2014-07-15 17:44:21 +0100 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2014-07-27 10:06:27 -0700 |
commit | fcc36ba2a2b8fd10e6eebd21ecb6329606443ded (patch) | |
tree | 58084b4fdb842b129324e034ac1a195f6d0cee4e /compiler/dex/compiler_enums.h | |
parent | a65d63e4eb81605fd798f1ca038d651b0faa29eb (diff) | |
download | android_art-fcc36ba2a2b8fd10e6eebd21ecb6329606443ded.tar.gz android_art-fcc36ba2a2b8fd10e6eebd21ecb6329606443ded.tar.bz2 android_art-fcc36ba2a2b8fd10e6eebd21ecb6329606443ded.zip |
Enable Load Store Elimination for ARM and ARM64
This patch refactors the implementation of the LoadStoreElimination
optimisation pass. Please note that this pass was disabled and not
functional for any of the backends.
The current implementation tracks aliases and handles DalvikRegs as well
as Heap memory regions. It has been tested and it is known to optimise
out the following:
* Load - Load
* Store - Load
* Store - Store
* Load Literals
Change-Id: Iefae9b696f87f833ef35c451ed4d49c5a1b6fde0
Diffstat (limited to 'compiler/dex/compiler_enums.h')
-rw-r--r-- | compiler/dex/compiler_enums.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h index 69adb35766..b48e01a2fc 100644 --- a/compiler/dex/compiler_enums.h +++ b/compiler/dex/compiler_enums.h @@ -471,8 +471,13 @@ enum OpFeatureFlags { kIsQuinOp, kIsSextupleOp, kIsIT, + kIsMoveOp, kMemLoad, kMemStore, + kMemVolatile, + kMemScaledx0, + kMemScaledx2, + kMemScaledx4, kPCRelFixup, // x86 FIXME: add NEEDS_FIXUP to instruction attributes. kRegDef0, kRegDef1, |