OSDN Git Service

ART: Intrinsic implementation for java.lang.System.arraycopy.
authorDaniilSokolov <daniil.y.sokolov@intel.com>
Wed, 25 Jun 2014 00:34:00 +0000 (17:34 -0700)
committerDmitry Petrochenko <dmitry.petrochenko@intel.com>
Tue, 8 Jul 2014 02:30:17 +0000 (09:30 +0700)
commit70c4f06f9965cdb9319a2c85f65acda20086d765
tree8e6ecc6ab21d76deaa35b5929f664bbf90f3d6cd
parentcecec712e1e05aab1fe3469077016320b7bf9583
ART: Intrinsic implementation for java.lang.System.arraycopy.

Implements intrinsic for  java.lang.System.arraycopy(char[], int, char[], int, int) -
this method is internal to android class libraries and used in such classes as StringBuffer and
StringBuilder. It is not possible to call it from application code. The intrinsic for
this method is implemented as inline method (assembly code is generated manually).

The intrinsic is x86 32 bit only.

Change-Id: Id1b1e0a20d5f6d5f5ebfe1fdc2447b6d8a515432
Signed-off-by: Daniil Sokolov <daniil.y.sokolov@intel.com>
compiler/dex/quick/dex_file_method_inliner.cc
compiler/dex/quick/dex_file_method_inliner.h
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/x86/codegen_x86.h
compiler/dex/quick/x86/target_x86.cc
runtime/quick/inline_method_analyser.h