aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp
diff options
context:
space:
mode:
authorAnders O Nilsson <anders.o.nilsson@stericsson.com>2012-10-10 15:26:32 +0200
committerPatrik Ryd <patrik.ryd@stericsson.com>2013-06-14 15:25:48 +0200
commit20111d635e9210bdd105219eceb263607ec4d5c5 (patch)
treeee87e45903cae6cbc95e5657736450606690f279 /vm/compiler/codegen/x86/libenc/enc_wrapper.cpp
parent6529809bd4448a76622a08cf63829cab73d91b9a (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/x86/libenc/enc_wrapper.cpp')
0 files changed, 0 insertions, 0 deletions