OSDN Git Service

ARM: Add new String.compareTo intrinsic.
authorScott Wakeling <scott.wakeling@linaro.org>
Mon, 18 Apr 2016 08:00:11 +0000 (09:00 +0100)
committerScott Wakeling <scott.wakeling@linaro.org>
Fri, 20 May 2016 10:56:14 +0000 (11:56 +0100)
commitc25cbf14595799265d3d1b5bafb8dd00b91dbbc1
tree3bb842edbcff3de90246eed1672c0cd1069ff17b
parenta741785dddab1f4b79253514287860d11c5800c6
ARM: Add new String.compareTo intrinsic.

Benchmarked on Nexus6P big, little, and all cores. The new intrinsic is
faster than pStringCompareTo for compare lengths on [1,512], so the
runtime call is no longer needed.

Change-Id: If853b592dfc5e561ea3389b51729f37a2c89c18e
compiler/optimizing/intrinsics_arm.cc
runtime/arch/arm/entrypoints_init_arm.cc
runtime/arch/arm/quick_entrypoints_arm.S
runtime/arch/stub_test.cc