OSDN Git Service

Misc goodies in the JIT in preparation for more aggressive code motion.
authorBen Cheng <bccheng@android.com>
Wed, 9 Feb 2011 01:09:25 +0000 (17:09 -0800)
committerBen Cheng <bccheng@android.com>
Wed, 9 Feb 2011 01:16:48 +0000 (17:16 -0800)
commitd72564ca7aa66c6d95b6ca34299258b65ecfd1cb
tree41d7038a77c008911c77033bc296dfe1249efb37
parent238ab4b31a286d71a98400d01534fe9874fd1f57
Misc goodies in the JIT in preparation for more aggressive code motion.

- Set up resource masks correctly for Thumb push/pop when LR/PC are involved.
- Preserve LR around simulated heap references under self-verification mode.
- Compact a few simple flags in ArmLIR into bit fields.
- Minor performance tuning in TEMPLATE_MEM_OP_DECODE

Change-Id: Id73edac837c5bb37dfd21f372d6fa21c238cf42a
18 files changed:
vm/compiler/Compiler.h
vm/compiler/CompilerIR.h
vm/compiler/codegen/RallocUtil.c
vm/compiler/codegen/arm/ArchUtility.c
vm/compiler/codegen/arm/ArmLIR.h
vm/compiler/codegen/arm/Assemble.c
vm/compiler/codegen/arm/CodegenCommon.c
vm/compiler/codegen/arm/CodegenDriver.c
vm/compiler/codegen/arm/GlobalOptimizations.c
vm/compiler/codegen/arm/LocalOptimizations.c
vm/compiler/codegen/arm/Thumb/Factory.c
vm/compiler/codegen/arm/Thumb2/Factory.c
vm/compiler/template/armv5te-vfp/TEMPLATE_MEM_OP_DECODE.S
vm/compiler/template/armv5te/TEMPLATE_MEM_OP_DECODE.S
vm/compiler/template/out/CompilerTemplateAsm-armv5te-vfp.S
vm/compiler/template/out/CompilerTemplateAsm-armv5te.S
vm/compiler/template/out/CompilerTemplateAsm-armv7-a-neon.S
vm/compiler/template/out/CompilerTemplateAsm-armv7-a.S