diff options
| author | Anders O Nilsson <anders.o.nilsson@stericsson.com> | 2012-10-10 15:26:32 +0200 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2013-07-24 12:59:42 -0700 |
| commit | 25b94295a57290623e34882e7fd86ea10928a54e (patch) | |
| tree | bb589bac9bda9cbdac2243c7902b4f934bfbc8c2 /vm/compiler/codegen/arm/LocalOptimizations.cpp | |
| parent | c25f3dd5f3aa4472966c4e9b042f1391ef6fb4f7 (diff) | |
JIT: Use rsb and shift in easy multiply.
For easy multiplication using reverse subtract (when
lit is 2^n-1) use the barrel shifter for rsb.
This improves arithmetic performance for code executing
in Dalvik. E.g String.hashCode.
Change-Id: Ifb086dcec344b30fd3e392ac21d508b43e820cdc
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
Diffstat (limited to 'vm/compiler/codegen/arm/LocalOptimizations.cpp')
0 files changed, 0 insertions, 0 deletions
