diff options
author | Serban Constantinescu <serban.constantinescu@arm.com> | 2014-06-19 16:17:56 +0100 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-06-30 14:00:23 -0700 |
commit | 86797a791d692f81def5c1b5f0918992c49ed122 (patch) | |
tree | 09cb46c5aa56e39a6399e3f3620dc2047948b872 /runtime/arch/x86/entrypoints_init_x86.cc | |
parent | 29978887552542e3b7e7792070dad06392377648 (diff) | |
download | art-86797a791d692f81def5c1b5f0918992c49ed122.zip art-86797a791d692f81def5c1b5f0918992c49ed122.tar.gz art-86797a791d692f81def5c1b5f0918992c49ed122.tar.bz2 |
AArch64: Add memcmp16() for Arm64; ensure xSELF not clobbered
This patch modifies memcmp() to memcmp16(). Please note that this
implementation of memcmp16() is based on the bionic's memcmp().
However, to reflect a recent specification change, the file has been
modified to respect the new String.compareTo() behavior.
A test for memcmp16() has been added. The string_compareto test in
stub_test has been changed to invoke __memcmp16 in assembly stubs.
Add artIsAssignableFromCode to the list of native downcalls to
store and reload x18. Remove CheckSuspendFromCode, as it is unused.
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Change-Id: Ie0b5425ecfb62906d29a5d02e84c7e07ffb34a11
Diffstat (limited to 'runtime/arch/x86/entrypoints_init_x86.cc')
-rw-r--r-- | runtime/arch/x86/entrypoints_init_x86.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/arch/x86/entrypoints_init_x86.cc b/runtime/arch/x86/entrypoints_init_x86.cc index a85e250..b217cd6 100644 --- a/runtime/arch/x86/entrypoints_init_x86.cc +++ b/runtime/arch/x86/entrypoints_init_x86.cc @@ -93,7 +93,6 @@ extern "C" void art_quick_invoke_super_trampoline_with_access_check(uint32_t, vo extern "C" void art_quick_invoke_virtual_trampoline_with_access_check(uint32_t, void*); // Thread entrypoints. -extern void CheckSuspendFromCode(Thread* thread); extern "C" void art_quick_test_suspend(); // Throw entrypoints. @@ -205,7 +204,6 @@ void InitEntryPoints(InterpreterEntryPoints* ipoints, JniEntryPoints* jpoints, qpoints->pInvokeVirtualTrampolineWithAccessCheck = art_quick_invoke_virtual_trampoline_with_access_check; // Thread - qpoints->pCheckSuspend = CheckSuspendFromCode; qpoints->pTestSuspend = art_quick_test_suspend; // Throws |