OSDN Git Service

X86_64: Inline checking for kInterfaceCheck check cast
authorMathieu Chartier <mathieuc@google.com>
Fri, 4 Nov 2016 02:23:06 +0000 (19:23 -0700)
committerMathieu Chartier <mathieuc@google.com>
Fri, 4 Nov 2016 22:25:45 +0000 (15:25 -0700)
commitcdba73be7eacf5891902e3dbeb9101c303e3bc8f
tree899c376e16c6e3947cc6f52227ef9f8802858489
parent6adc5a8cac4eab3b847f81c422def4b4ae510332
X86_64: Inline checking for kInterfaceCheck check cast

Interface check-cast with read barriers:
Before: 5.27 ns/check
After: 2.36 ns/check

Code expansion is 0.29%.

Test: test-art-host

Bug: 32577579
Bug: 29516974

Change-Id: Ie48251f97fbf2c95bd0a7c4bd62075414f8e3ae3
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/code_generator_x86_64.h
runtime/arch/x86_64/quick_entrypoints_x86_64.S