OSDN Git Service

Fix ARM64 SystemArrayCopy intrinsic with large constant dest position.
authorRoland Levillain <rpl@google.com>
Thu, 13 Apr 2017 18:34:30 +0000 (19:34 +0100)
committerRoland Levillain <rpl@google.com>
Tue, 18 Apr 2017 10:45:25 +0000 (11:45 +0100)
commit1ca955d09015e04339431023e4417f336c83337a
treef461fe21e7c29c5be065e554cde9b869d1d659e8
parentb1a52116a1ca418dcccad2ca2acd6cb36f8ca0e7
Fix ARM64 SystemArrayCopy intrinsic with large constant dest position.

Make sure we do not deplete the whole VIXL scratch register pool, so
that VIXL can still use IP0 as a temporary when emitting
macro-instructions.

Test: art/test/testrunner/testrunner.py --optimizing --target --64
Bug: 37256530
Change-Id: I5da22e552297fad87db5763e2dab60ae6a7a43af
compiler/optimizing/intrinsics_arm64.cc
test/646-checker-arraycopy-large-cst-pos/expected.txt [new file with mode: 0644]
test/646-checker-arraycopy-large-cst-pos/info.txt [new file with mode: 0644]
test/646-checker-arraycopy-large-cst-pos/src/Main.java [new file with mode: 0644]