diff options
author | Elliott Hughes <enh@google.com> | 2010-04-26 17:40:13 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-04-26 17:40:13 -0700 |
commit | a6cf2157033c66dee753df5ef994896b1b3f46f0 (patch) | |
tree | 40715699658dbff1306d0e5f8db0e707a0d2f4e6 /luni/src/test/java/serialization | |
parent | b4656e4e5348d2be2276c85f220ce072cf60f9c0 (diff) | |
download | libcore-a6cf2157033c66dee753df5ef994896b1b3f46f0.zip libcore-a6cf2157033c66dee753df5ef994896b1b3f46f0.tar.gz libcore-a6cf2157033c66dee753df5ef994896b1b3f46f0.tar.bz2 |
Optimize idiv-int/lit for powers of 2.
before:
DivideIntByConstant10 32 XXXXXXXXXXXXXXXXXXXXXXXXXXXX|
DivideIntByConstant100 32 XXXXXXXXXXXXXXXXXXXXXXXXXXXX|
DivideIntByConstant100_HandOptimized 34 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DivideIntByConstant2 32 XXXXXXXXXXXXXXXXXXXXXXXXXXXX|
DivideIntByConstant2048 22 XXXXXXXXXXXXXXXXXXX|||||||
DivideIntByConstant8 20 XXXXXXXXXXXXXXXXX||||||||
DivideIntByVariable10 21 XXXXXXXXXXXXXXXXXX|||||||
DivideIntByVariable2 21 XXXXXXXXXXXXXXXXXX|||||||
after:
benchmark ns logarithmic runtime
DivideIntByConstant10 32 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DivideIntByConstant100 32 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DivideIntByConstant100_HandOptimized 33 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DivideIntByConstant2 11 XXXXXXXXX|||||||||||
DivideIntByConstant2048 13 XXXXXXXXXXX|||||||||||
DivideIntByConstant8 13 XXXXXXXXXXX|||||||||||
DivideIntByVariable10 21 XXXXXXXXXXXXXXXXXXX|||||||
DivideIntByVariable2 22 XXXXXXXXXXXXXXXXXXXX||||||
Bug: 2614702
Change-Id: I9dde73d80580446a362cdcc9b82959a4b6bfb384
Diffstat (limited to 'luni/src/test/java/serialization')
0 files changed, 0 insertions, 0 deletions