OSDN Git Service

Optimize code generation of check-cast and instance-of.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 14 Sep 2015 21:20:29 +0000 (22:20 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Thu, 17 Sep 2015 13:45:39 +0000 (14:45 +0100)
commit64acf303eaa2f32c0b1d8cfcbf044a822c5eec08
tree1e9829deb0621b3cb9b275846c8d08381956fecf
parent017719a03c7c111a2069b5f85e3b9c81566c0902
Optimize code generation of check-cast and instance-of.

On x86/x64/arm/arm64. Improve code size of selected apks from 0.3% to 1%,
and performance of DeltaBlue by 20%.

Change-Id: Ib5799f7a53443cd880a121dd7f21932ae9f5c7aa
compiler/optimizing/builder.cc
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_arm64.cc
compiler/optimizing/code_generator_mips64.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/nodes.h
runtime/mirror/class.h
test/530-instanceof-checkcast/expected.txt [new file with mode: 0644]
test/530-instanceof-checkcast/info.txt [new file with mode: 0644]
test/530-instanceof-checkcast/src/Main.java [new file with mode: 0644]