OSDN Git Service

AArch64: Fix art_quick_string_compareto.
authorZheng Xu <zheng.xu@arm.com>
Tue, 12 Aug 2014 09:19:12 +0000 (17:19 +0800)
committerAndreas Gampe <agampe@google.com>
Tue, 12 Aug 2014 15:39:05 +0000 (08:39 -0700)
commitd74824bdd01b2a76b310e1275a1114d39833a708
tree6b659b89325d8f7671352a6ee8644363d2758383
parent8c6c52110c5afd438741694520203a6d7e81a2a4
AArch64: Fix art_quick_string_compareto.

Though __memcmp16() is implemented in the same module as the caller, it
is still possible that the toolchain would put __memcmp16() into plt. In
that case, IP registers can be trashed when loading the function address.
Use x14/x15 to replace IP0/IP1.

Bug: 16974467

(cherry picked from commit 62ddb328860e907eb76ccd3abed63ba75438fea8)

Change-Id: I40e39d075860bc78624ce6ef8b4f8e33e57fc58c
runtime/arch/arm64/quick_entrypoints_arm64.S