OSDN Git Service

android-x86/art.git
7 years agoMerge "Fix unquitable apps when debug enabled." am: ec107997ab
Tao Wu [Thu, 5 Jan 2017 19:24:29 +0000 (19:24 +0000)]
Merge "Fix unquitable apps when debug enabled." am: ec107997ab
am: 7930fef7e4

Change-Id: Ic8f87eb4c8ab19d542db31a9ed13bf25c4831cc9

7 years agoMerge "Fix unquitable apps when debug enabled."
Tao Wu [Thu, 5 Jan 2017 19:20:29 +0000 (19:20 +0000)]
Merge "Fix unquitable apps when debug enabled."
am: ec107997ab

Change-Id: Ibb5a1ef1ae1a649fbd1aeb48e9337c3e56cb6fa0

7 years agoMerge "Fix unquitable apps when debug enabled."
Treehugger Robot [Thu, 5 Jan 2017 19:13:38 +0000 (19:13 +0000)]
Merge "Fix unquitable apps when debug enabled."

7 years agoMerge "Revert "Revert "Revert "Revert "Basic obsolete methods support""""" am: 16722603e0
Alex Light [Thu, 5 Jan 2017 18:24:55 +0000 (18:24 +0000)]
Merge "Revert "Revert "Revert "Revert "Basic obsolete methods support""""" am: 16722603e0
am: 5387b0cff6

Change-Id: I1ed1c3dcfe07fa3cef2786235c93d8c901f07b70

7 years agoMerge "Revert "Revert "Revert "Revert "Basic obsolete methods support"""""
Alex Light [Thu, 5 Jan 2017 18:21:25 +0000 (18:21 +0000)]
Merge "Revert "Revert "Revert "Revert "Basic obsolete methods support"""""
am: 16722603e0

Change-Id: Ib787af7eb142b3f37f9745fce0c19cb2b067c5c4

7 years agoMerge "Revert "Revert "Revert "Revert "Basic obsolete methods support"""""
Treehugger Robot [Thu, 5 Jan 2017 18:16:14 +0000 (18:16 +0000)]
Merge "Revert "Revert "Revert "Revert "Basic obsolete methods support"""""

7 years agoMerge "MIPS64: Implement table-based packed switch" am: f67dadb555
Alexey Frunze [Thu, 5 Jan 2017 17:48:22 +0000 (17:48 +0000)]
Merge "MIPS64: Implement table-based packed switch" am: f67dadb555
am: 1f7d6acb31

Change-Id: Iafd0686c4485208678f0618ed62392d51973f0b6

7 years agoMerge "MIPS64: Implement table-based packed switch"
Alexey Frunze [Thu, 5 Jan 2017 17:44:51 +0000 (17:44 +0000)]
Merge "MIPS64: Implement table-based packed switch"
am: f67dadb555

Change-Id: I33f1422cc5ca728704891da83151ca94d1a983b2

7 years agoMerge "MIPS64: Implement table-based packed switch"
Treehugger Robot [Thu, 5 Jan 2017 17:37:56 +0000 (17:37 +0000)]
Merge "MIPS64: Implement table-based packed switch"

7 years agoMerge "Remove racy DCHECK on string dex cache." am: cda4b75615
Nicolas Geoffray [Thu, 5 Jan 2017 17:05:49 +0000 (17:05 +0000)]
Merge "Remove racy DCHECK on string dex cache." am: cda4b75615
am: 6f4c0cb78e

Change-Id: Iad14632a249a56fe1ce1eb23c5add2780ebea05c

7 years agoMerge "Remove racy DCHECK on string dex cache."
Nicolas Geoffray [Thu, 5 Jan 2017 17:02:18 +0000 (17:02 +0000)]
Merge "Remove racy DCHECK on string dex cache."
am: cda4b75615

Change-Id: Ie61f6bf1922ad441dc6383a0beb4f357521a2094

7 years agoMerge "Remove racy DCHECK on string dex cache."
Treehugger Robot [Thu, 5 Jan 2017 16:55:53 +0000 (16:55 +0000)]
Merge "Remove racy DCHECK on string dex cache."

7 years agoRemove racy DCHECK on string dex cache.
Nicolas Geoffray [Thu, 5 Jan 2017 15:27:03 +0000 (15:27 +0000)]
Remove racy DCHECK on string dex cache.

Test: test-art-host
Change-Id: I58940031d43d89f434d3c3239a218b99ebb1106b

7 years agoMerge "Refine receiver type when inlining based on inline caches." am: 168768d203
Nicolas Geoffray [Thu, 5 Jan 2017 15:03:39 +0000 (15:03 +0000)]
Merge "Refine receiver type when inlining based on inline caches." am: 168768d203
am: c475cffe97

Change-Id: I88962f8c1d002ff21ae25f71dc9ee6817b380361

7 years agoMerge "Refine receiver type when inlining based on inline caches."
Nicolas Geoffray [Thu, 5 Jan 2017 15:01:08 +0000 (15:01 +0000)]
Merge "Refine receiver type when inlining based on inline caches."
am: 168768d203

Change-Id: I827455011a6da3f8db6392da34b29c065c16ba6a

7 years agoMerge "Refine receiver type when inlining based on inline caches."
Nicolas Geoffray [Thu, 5 Jan 2017 14:57:29 +0000 (14:57 +0000)]
Merge "Refine receiver type when inlining based on inline caches."

7 years agoMerge "MIPS32: java.lang.String.getChars" am: 8174621224
Nicolas Geoffray [Thu, 5 Jan 2017 13:37:33 +0000 (13:37 +0000)]
Merge "MIPS32: java.lang.String.getChars" am: 8174621224
am: e8b10c00f8

Change-Id: If95c6d1f85106a448d58182b82859ebd4ab9f82a

7 years agoMerge "MIPS32: java.lang.String.getChars"
Nicolas Geoffray [Thu, 5 Jan 2017 13:34:02 +0000 (13:34 +0000)]
Merge "MIPS32: java.lang.String.getChars"
am: 8174621224

Change-Id: I27aba6272c9c3d1af12af308089b4e0fbd72c75d

7 years agoMerge "MIPS32: java.lang.String.getChars"
Nicolas Geoffray [Thu, 5 Jan 2017 13:27:14 +0000 (13:27 +0000)]
Merge "MIPS32: java.lang.String.getChars"

7 years agoRefine receiver type when inlining based on inline caches.
Nicolas Geoffray [Wed, 4 Jan 2017 16:46:23 +0000 (16:46 +0000)]
Refine receiver type when inlining based on inline caches.

We know we're guarding for a specific type
(eg foo.getClass() == Foo.class), so we can propagate the
exact type when building the callee graph.

Test: ART_TEST_JIT=true test-art-host
Change-Id: I3e1858945afbb651cb8966b2b7d7755eccac09e1

7 years agoMerge "Revert "Disable 626-const-class-linking for JIT."" am: f0bfd75c19
Vladimir Marko [Thu, 5 Jan 2017 12:54:00 +0000 (12:54 +0000)]
Merge "Revert "Disable 626-const-class-linking for JIT."" am: f0bfd75c19
am: 5986d5846b

Change-Id: I672b679c4057f584a518119f92efa36b49e108a5

7 years agoMerge "Revert "Disable 626-const-class-linking for JIT.""
Vladimir Marko [Thu, 5 Jan 2017 12:50:59 +0000 (12:50 +0000)]
Merge "Revert "Disable 626-const-class-linking for JIT.""
am: f0bfd75c19

Change-Id: Ia712e881e655532f5217fdd4d1347806c7b92ef6

7 years agoMerge "Revert "Disable 626-const-class-linking for JIT.""
Vladimir Marko [Thu, 5 Jan 2017 12:45:35 +0000 (12:45 +0000)]
Merge "Revert "Disable 626-const-class-linking for JIT.""

7 years agoMerge "Fix incorrect string hash value extension during cross-compilation." am: efe70...
Alexey Grebenkin [Thu, 5 Jan 2017 12:24:28 +0000 (12:24 +0000)]
Merge "Fix incorrect string hash value extension during cross-compilation." am: efe703fa49
am: 59646678ac

Change-Id: I300f51c8e804e07bdaae2941ed5387ad8f803551

7 years agoMerge "Fix incorrect string hash value extension during cross-compilation."
Alexey Grebenkin [Thu, 5 Jan 2017 12:20:59 +0000 (12:20 +0000)]
Merge "Fix incorrect string hash value extension during cross-compilation."
am: efe703fa49

Change-Id: Id4a007750b8da2493c91b8177f5673c451df1804

7 years agoMerge "Fix incorrect string hash value extension during cross-compilation."
Treehugger Robot [Thu, 5 Jan 2017 12:15:07 +0000 (12:15 +0000)]
Merge "Fix incorrect string hash value extension during cross-compilation."

7 years agoMerge "Limit Jack threads during tests" am: 77e9bddee9
Sebastien Hertz [Thu, 5 Jan 2017 10:39:51 +0000 (10:39 +0000)]
Merge "Limit Jack threads during tests" am: 77e9bddee9
am: 94a53621bc

Change-Id: Iec3a79a08032150719462ee6e6458c6bbc4c9b45

7 years agoMerge "Limit Jack threads during tests"
Sebastien Hertz [Thu, 5 Jan 2017 10:36:20 +0000 (10:36 +0000)]
Merge "Limit Jack threads during tests"
am: 77e9bddee9

Change-Id: Ie998180dd59076fed3211c7b4aefbe22546ef872

7 years agoMerge "Limit Jack threads during tests"
Sebastien Hertz [Thu, 5 Jan 2017 10:28:56 +0000 (10:28 +0000)]
Merge "Limit Jack threads during tests"

7 years agoLimit Jack threads during tests
Sebastien Hertz [Wed, 4 Jan 2017 15:07:57 +0000 (16:07 +0100)]
Limit Jack threads during tests

In default mode, run Jack with 4 threads to help reduce memory
footprint and thread contention. These are the same settings than
the Android build.

For the buildbot (where the Jack server is disabled), run Jack in
single-threaded mode to reduce the global memory consumption.

Bug: 31737153
Test: make -j32 test-art-host
Change-Id: I6a14efce92ea18dba008e6daa26cd6403e5eb503

7 years agoMerge "ART: Remove dequicken map from VerifiedMethod" am: 18f7ef3dc0
Andreas Gampe [Wed, 4 Jan 2017 23:08:05 +0000 (23:08 +0000)]
Merge "ART: Remove dequicken map from VerifiedMethod" am: 18f7ef3dc0
am: 104ace1b0a

Change-Id: Ib8c4ee34618c0cf8e38b76d821f9a56979919dee

7 years agoMerge "ART: Remove dequicken map from VerifiedMethod"
Andreas Gampe [Wed, 4 Jan 2017 23:05:04 +0000 (23:05 +0000)]
Merge "ART: Remove dequicken map from VerifiedMethod"
am: 18f7ef3dc0

Change-Id: I4464445f1b3c201249cd40e254d50c62235b0d84

7 years agoMerge "ART: Remove dequicken map from VerifiedMethod"
Treehugger Robot [Wed, 4 Jan 2017 22:59:02 +0000 (22:59 +0000)]
Merge "ART: Remove dequicken map from VerifiedMethod"

7 years agoART: Remove dequicken map from VerifiedMethod
Andreas Gampe [Wed, 4 Jan 2017 20:04:05 +0000 (12:04 -0800)]
ART: Remove dequicken map from VerifiedMethod

Remove now unused VerifiedMethod's dequicken map. Follow-up to
c51c7ca7a779563d153c137c6bf01c3ea532a6c9.

Results on a large well-known app in speed compile with -j4:

Before:
 dex2oat took [...] native alloc=84MB [...] swap=208MB [...]
After:
 dex2oat took [...] native alloc=76MB [...] swap=208MB [...]

Bug: 34053922
Test: m clean-oat-host && m test-art-host
Change-Id: Ie95fd297299a0f5fac0c8c702773ee8372f662b6

7 years agoMerge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot...
Roland Levillain [Wed, 4 Jan 2017 15:29:05 +0000 (15:29 +0000)]
Merge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""" am: 001cd47ddd
am: 751cc5b335

Change-Id: Ib1d281e9c47185d7e299a78cf2c2f8404bd48456

7 years agoMerge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot...
Roland Levillain [Wed, 4 Jan 2017 15:26:32 +0000 (15:26 +0000)]
Merge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."""
am: 001cd47ddd

Change-Id: I58e889a010f6683d329755626bc8187ab8b9612a

7 years agoMerge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot...
Roland Levillain [Wed, 4 Jan 2017 15:22:32 +0000 (15:22 +0000)]
Merge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."""

7 years agoMerge "Support non-exact upper bound of HBoundType." am: b28c8749a5
Nicolas Geoffray [Wed, 4 Jan 2017 12:43:24 +0000 (12:43 +0000)]
Merge "Support non-exact upper bound of HBoundType." am: b28c8749a5
am: cf50dbbf8b

Change-Id: I169038000a6fb75a955bf0458e55a378e41a7c75

7 years agoMerge "Support non-exact upper bound of HBoundType."
Nicolas Geoffray [Wed, 4 Jan 2017 12:41:23 +0000 (12:41 +0000)]
Merge "Support non-exact upper bound of HBoundType."
am: b28c8749a5

Change-Id: Id64939c8ed1c9920b314a2d11ef2af56a9bb03df

7 years agoRevert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
Roland Levillain [Wed, 4 Jan 2017 10:27:50 +0000 (10:27 +0000)]
Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""

This reverts commit 122ceb492f37e97d022cba2221a87368f1847f5f.

Test: m test-art-target on ARM64, with and without read barriers/heap poisoning.
Bug: 32545705
Change-Id: I4b447d762082eea8edfabeb070317d274e2f5bd0

7 years agoMerge "Support non-exact upper bound of HBoundType."
Nicolas Geoffray [Wed, 4 Jan 2017 12:38:29 +0000 (12:38 +0000)]
Merge "Support non-exact upper bound of HBoundType."

7 years agoMerge "Do not record dependencies on arrays." am: 88268f08ad
Nicolas Geoffray [Wed, 4 Jan 2017 12:14:54 +0000 (12:14 +0000)]
Merge "Do not record dependencies on arrays." am: 88268f08ad
am: bda7fe40da

Change-Id: I19634f4f59c746a3e91d8e0442b802bd0a687c82

7 years agoMerge "Do not record dependencies on arrays."
Nicolas Geoffray [Wed, 4 Jan 2017 12:12:53 +0000 (12:12 +0000)]
Merge "Do not record dependencies on arrays."
am: 88268f08ad

Change-Id: I60d860cd6a023e5a2b824396d9ea3d709fa41b09

7 years agoMerge "Do not record dependencies on arrays."
Treehugger Robot [Wed, 4 Jan 2017 12:10:41 +0000 (12:10 +0000)]
Merge "Do not record dependencies on arrays."

7 years agoMerge "MIPS64: Drop redundant sign-extensions in integer conversions" am: 6fc063cd8a
Goran Jakovljevic [Wed, 4 Jan 2017 11:52:52 +0000 (11:52 +0000)]
Merge "MIPS64: Drop redundant sign-extensions in integer conversions" am: 6fc063cd8a
am: 573492e5f4

Change-Id: I1295539df79e5543652531cecb4e9a8a1e9c89bd

7 years agoMerge "MIPS64: Drop redundant sign-extensions in integer conversions"
Goran Jakovljevic [Wed, 4 Jan 2017 11:50:22 +0000 (11:50 +0000)]
Merge "MIPS64: Drop redundant sign-extensions in integer conversions"
am: 6fc063cd8a

Change-Id: I83e6c3904b12dd6e143129825d7950497cf4069c

7 years agoMerge "MIPS64: Drop redundant sign-extensions in integer conversions"
Treehugger Robot [Wed, 4 Jan 2017 11:47:50 +0000 (11:47 +0000)]
Merge "MIPS64: Drop redundant sign-extensions in integer conversions"

7 years agoMerge "MIPS32: Don't always do a null test in MarkGCCard" am: 4ca40e89aa
Goran Jakovljevic [Wed, 4 Jan 2017 11:37:19 +0000 (11:37 +0000)]
Merge "MIPS32: Don't always do a null test in MarkGCCard" am: 4ca40e89aa
am: 08cb12e6a7

Change-Id: Ib10c13cdddde111907db5a602e03684e7ae803e1

7 years agoMerge "MIPS32: Don't always do a null test in MarkGCCard"
Goran Jakovljevic [Wed, 4 Jan 2017 11:34:51 +0000 (11:34 +0000)]
Merge "MIPS32: Don't always do a null test in MarkGCCard"
am: 4ca40e89aa

Change-Id: Ic8bdf1a5a7d66b6ed9ef19a8e7f7000ec26c2e85

7 years agoMerge "MIPS64: Improve integer comparison with constants" am: 7ee9ee9921
Goran Jakovljevic [Wed, 4 Jan 2017 11:34:51 +0000 (11:34 +0000)]
Merge "MIPS64: Improve integer comparison with constants" am: 7ee9ee9921
am: 7d6981e7a6

Change-Id: I3e4cf83ececf94e0d4441e55c8e730ae7129974d

7 years agoMerge "MIPS64: Improve integer comparison with constants"
Goran Jakovljevic [Wed, 4 Jan 2017 11:32:53 +0000 (11:32 +0000)]
Merge "MIPS64: Improve integer comparison with constants"
am: 7ee9ee9921

Change-Id: I00bd014b5340d5509b96a205a692ae87211bf66b

7 years agoMerge "MIPS32: Don't always do a null test in MarkGCCard"
Treehugger Robot [Wed, 4 Jan 2017 11:31:52 +0000 (11:31 +0000)]
Merge "MIPS32: Don't always do a null test in MarkGCCard"

7 years agoMerge "MIPS64: Improve integer comparison with constants"
Treehugger Robot [Wed, 4 Jan 2017 11:30:15 +0000 (11:30 +0000)]
Merge "MIPS64: Improve integer comparison with constants"

7 years agoMerge changes from topic 'VIXLUpdate' am: 059802455e
Nicolas Geoffray [Wed, 4 Jan 2017 10:11:53 +0000 (10:11 +0000)]
Merge changes from topic 'VIXLUpdate' am: 059802455e
am: 643d18982e

Change-Id: If999cac06e7acd60f6e53bf354ef3dc61fae7191

7 years agoARM: VIXL32: Use a default code buffer capacity of 1Kb. am: f8d19c2852
Scott Wakeling [Wed, 4 Jan 2017 10:11:43 +0000 (10:11 +0000)]
ARM: VIXL32: Use a default code buffer capacity of 1Kb. am: f8d19c2852
am: 446bac896b

Change-Id: I99cffcdae86fb32a4a9da041720092588bc3936d

7 years agoART: VIXL32: Fix assembler test after VIXL update. am: f2665fa6e5
Artem Serov [Wed, 4 Jan 2017 10:11:32 +0000 (10:11 +0000)]
ART: VIXL32: Fix assembler test after VIXL update. am: f2665fa6e5
am: e3af822837

Change-Id: I0077691bea845f0300adc04587ebd74f2f9b0502

7 years agoMerge "MIPS64: Implement branchless HCondition for floats" am: e2157fb29e
Nicolas Geoffray [Wed, 4 Jan 2017 10:11:14 +0000 (10:11 +0000)]
Merge "MIPS64: Implement branchless HCondition for floats" am: e2157fb29e
am: a261b2d006

Change-Id: Ie399ecbefffe84005ecff40be25e40f7fbd41c49

7 years agoMerge changes from topic 'VIXLUpdate'
Nicolas Geoffray [Wed, 4 Jan 2017 10:09:32 +0000 (10:09 +0000)]
Merge changes from topic 'VIXLUpdate'
am: 059802455e

Change-Id: I5b85d6ef53d47d1a5fed422a96795fb81de0a063

7 years agoMerge "Disable libcore test that requires IPv6" am: 0ec9ac0a5f
Yi Kong [Wed, 4 Jan 2017 10:09:31 +0000 (10:09 +0000)]
Merge "Disable libcore test that requires IPv6" am: 0ec9ac0a5f
am: 8fcd527ee1

Change-Id: Id47bf3e49e5de2242873a45951f3a61ec8cb8562

7 years agoARM: VIXL32: Use a default code buffer capacity of 1Kb.
Scott Wakeling [Wed, 4 Jan 2017 10:09:28 +0000 (10:09 +0000)]
ARM: VIXL32: Use a default code buffer capacity of 1Kb.
am: f8d19c2852

Change-Id: I2619d712f7af0127692407bf37a2968c34b868ea

7 years agoART: VIXL32: Fix assembler test after VIXL update.
Artem Serov [Wed, 4 Jan 2017 10:09:19 +0000 (10:09 +0000)]
ART: VIXL32: Fix assembler test after VIXL update.
am: f2665fa6e5

Change-Id: I5c6e97bbcdb56aaf66764dd8837fefdbb0270b1e

7 years agoMerge "MIPS64: Implement branchless HCondition for floats"
Nicolas Geoffray [Wed, 4 Jan 2017 10:08:04 +0000 (10:08 +0000)]
Merge "MIPS64: Implement branchless HCondition for floats"
am: e2157fb29e

Change-Id: I5cd74fb1b95b2e20c8b3e27918fbf3fb4a6d8b4b

7 years agoMerge "Disable libcore test that requires IPv6"
Yi Kong [Wed, 4 Jan 2017 10:07:23 +0000 (10:07 +0000)]
Merge "Disable libcore test that requires IPv6"
am: 0ec9ac0a5f

Change-Id: Ie611e75ecf8659a4cf8b71f33ac05732607ccf51

7 years agoMerge changes from topic 'VIXLUpdate'
Nicolas Geoffray [Wed, 4 Jan 2017 10:06:27 +0000 (10:06 +0000)]
Merge changes from topic 'VIXLUpdate'

* changes:
  ARM: VIXL32: Use a default code buffer capacity of 1Kb.
  ART: VIXL32: Fix assembler test after VIXL update.

7 years agoMerge "MIPS64: Implement branchless HCondition for floats"
Nicolas Geoffray [Wed, 4 Jan 2017 10:04:08 +0000 (10:04 +0000)]
Merge "MIPS64: Implement branchless HCondition for floats"

7 years agoMerge "Disable libcore test that requires IPv6"
Yi Kong [Wed, 4 Jan 2017 10:03:00 +0000 (10:03 +0000)]
Merge "Disable libcore test that requires IPv6"

7 years agoDisable libcore test that requires IPv6
Yi Kong [Wed, 4 Jan 2017 00:55:10 +0000 (00:55 +0000)]
Disable libcore test that requires IPv6

Test: N/A
Bug: 25178637
Bug: 34038136
Change-Id: I14c7451d269ee8f1163369d8c0d2209498466b66

7 years agoMerge "Clean up VerifiedMethod." am: b1c41c2431
Nicolas Geoffray [Tue, 3 Jan 2017 22:55:03 +0000 (22:55 +0000)]
Merge "Clean up VerifiedMethod." am: b1c41c2431
am: 268cc79d50

Change-Id: I41b93d12addad9b04790f457ff1cbcb5c1a44529

7 years agoMerge "Clean up VerifiedMethod."
Nicolas Geoffray [Tue, 3 Jan 2017 22:47:03 +0000 (22:47 +0000)]
Merge "Clean up VerifiedMethod."
am: b1c41c2431

Change-Id: Ibfb35a9eb02b17f77371a573658ada399bf43b0a

7 years agoMerge "Clean up VerifiedMethod."
Treehugger Robot [Tue, 3 Jan 2017 22:33:12 +0000 (22:33 +0000)]
Merge "Clean up VerifiedMethod."

7 years agoClean up VerifiedMethod.
Nicolas Geoffray [Fri, 25 Nov 2016 15:46:48 +0000 (15:46 +0000)]
Clean up VerifiedMethod.

Remove unused methods, and devirt map.

Results on a large well-known app in speed compile with -j4:

Before:
 dex2oat took [...] native alloc=149MB [...] swap=208MB (218103808B)
After:
 dex2oat took [...] native alloc=84MB [...] swap=208MB (218103808B)

Bug: 34053922
Test: m clean-oat-host && m test-art-host
Change-Id: I0791c1e4ec7a98ae3c98321c582974db8e26617d

7 years agoMerge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."...
Nicolas Geoffray [Tue, 3 Jan 2017 21:50:30 +0000 (21:50 +0000)]
Merge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."" am: db577b6911
am: c85f5fc888

Change-Id: Iea89d2488cf42138e009f1886eeb06bdd2464b6b

7 years agoMerge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
Nicolas Geoffray [Tue, 3 Jan 2017 21:42:29 +0000 (21:42 +0000)]
Merge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
am: db577b6911

Change-Id: If6d1d1c3bedfde8378425b519dd732cb494876ee

7 years agoMerge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
Nicolas Geoffray [Tue, 3 Jan 2017 21:35:22 +0000 (21:35 +0000)]
Merge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""

7 years agoRevert "Avoid scratch register exhaustion during ARM64 stack slot moves."
Nicolas Geoffray [Tue, 3 Jan 2017 21:34:59 +0000 (21:34 +0000)]
Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."

Checker test fails.
Bug: 32545705

This reverts commit 4ec76d28f0f808117272134347abf828eea80b91.

Change-Id: Ief14978596341399404c504ec4ca6b68c54fd63c

7 years agoMerge "MIPS64: Align register spills on 8-byte boundaries in slow paths" am: 595375fc44
Nicolas Geoffray [Tue, 3 Jan 2017 20:59:56 +0000 (20:59 +0000)]
Merge "MIPS64: Align register spills on 8-byte boundaries in slow paths" am: 595375fc44
am: 89ae4d08fa

Change-Id: I9886e708c8d83c68c714da9600370518235cc498

7 years agoMerge "MIPS64: Align register spills on 8-byte boundaries in slow paths"
Nicolas Geoffray [Tue, 3 Jan 2017 20:51:26 +0000 (20:51 +0000)]
Merge "MIPS64: Align register spills on 8-byte boundaries in slow paths"
am: 595375fc44

Change-Id: Ia4e9e9a65f9d3c48532983bff3205acc6590e0e3

7 years agoMerge "MIPS64: Align register spills on 8-byte boundaries in slow paths"
Nicolas Geoffray [Tue, 3 Jan 2017 20:43:00 +0000 (20:43 +0000)]
Merge "MIPS64: Align register spills on 8-byte boundaries in slow paths"

7 years agoMIPS32: java.lang.String.getChars
Chris Larsen [Tue, 22 Nov 2016 00:04:53 +0000 (16:04 -0800)]
MIPS32: java.lang.String.getChars

Use memcpy(3) to copy characters under the assumption that memcpy()
has been hand optimized for best performance on the platform being
tested.

Test: run-test --optimizing 020-string
Test: run-test 020-string
Test: run-test --no-prebuild --optimizing 020-string
Test: run-test --no-prebuild 020-string
Test: run-test --optimizing 082-inline-execute
Test: run-test 082-inline-execute
Test: run-test --no-prebuild --optimizing 082-inline-execute
Test: run-test --no-prebuild 082-inline-execute
Test: mma -j2 ART_TEST_OPTIMIZING=true test-art-target-run-test
Test: booted MIPS32R2 emulator.

Note: Tested against both the MIPS32R2, and MIPS64R6 emulators.

Change-Id: I4192cf6244db120c8de5cc4932d4132acfc9740d

7 years agoMerge "Avoid scratch register exhaustion during ARM64 stack slot moves." am: 00797355fa
Roland Levillain [Tue, 3 Jan 2017 16:00:07 +0000 (16:00 +0000)]
Merge "Avoid scratch register exhaustion during ARM64 stack slot moves." am: 00797355fa
am: 1e85c28a0d

Change-Id: I66131b54570675901e01d3c0011589f56d9bf420

7 years agoMerge "Avoid scratch register exhaustion during ARM64 stack slot moves."
Roland Levillain [Tue, 3 Jan 2017 15:51:38 +0000 (15:51 +0000)]
Merge "Avoid scratch register exhaustion during ARM64 stack slot moves."
am: 00797355fa

Change-Id: I6edabfc4aa252d8308f6e0baa6b81887fa4357e3

7 years agoMerge "Avoid scratch register exhaustion during ARM64 stack slot moves."
Roland Levillain [Tue, 3 Jan 2017 15:45:44 +0000 (15:45 +0000)]
Merge "Avoid scratch register exhaustion during ARM64 stack slot moves."

7 years agoAvoid scratch register exhaustion during ARM64 stack slot moves.
Roland Levillain [Mon, 7 Nov 2016 18:50:32 +0000 (18:50 +0000)]
Avoid scratch register exhaustion during ARM64 stack slot moves.

On ARM64, do not limit the selection of a scratch register
used in a move between two stack slots (or between two
double stack slots) to VIXL's floating-point register pool,
as it contains only one register (D31) and can be exhausted
in some rare cases. Instead, query both the core and the FP
register pools.

Add a regression run-test (626-checker-arm64-scratch-register).

Test: m test-art-target (on ARM64)
Bug: 32545705
Change-Id: I6203a4340e3c8b4f4879c07ed1be4c433c311c0f

7 years agoMerge "MIPS64: java.lang.String.getChars" am: 66e3919bc4
Chris Larsen [Tue, 3 Jan 2017 11:31:52 +0000 (11:31 +0000)]
Merge "MIPS64: java.lang.String.getChars" am: 66e3919bc4
am: 442097ce5e

Change-Id: I6b0ff2aff95276c7ecfb13d881cfac9c04da02d5

7 years agoMerge "MIPS64: java.lang.String.getChars"
Chris Larsen [Tue, 3 Jan 2017 11:23:20 +0000 (11:23 +0000)]
Merge "MIPS64: java.lang.String.getChars"
am: 66e3919bc4

Change-Id: I1439b994fbd909923c02e16936dc5a60dfb88ec3

7 years agoMerge "MIPS64: java.lang.String.getChars"
Treehugger Robot [Tue, 3 Jan 2017 11:13:50 +0000 (11:13 +0000)]
Merge "MIPS64: java.lang.String.getChars"

7 years agoMIPS64: Implement branchless HCondition for floats
Tijana Jakovljevic [Fri, 30 Dec 2016 08:23:01 +0000 (09:23 +0100)]
MIPS64: Implement branchless HCondition for floats

Test: mma test-art-target-run-test64 in QEMU

Change-Id: I595b5b7ddf9ebb19e872ed85f2e4098a835d9214

7 years agoMIPS64: Drop redundant sign-extensions in integer conversions
Goran Jakovljevic [Wed, 28 Dec 2016 15:21:48 +0000 (16:21 +0100)]
MIPS64: Drop redundant sign-extensions in integer conversions

Test: mma test-art-target-run-test64 in QEMU

Change-Id: I1dc7923d89528964771ddca288c5016d729cfb05

7 years agoMIPS64: Improve integer comparison with constants
Goran Jakovljevic [Wed, 28 Dec 2016 13:33:21 +0000 (14:33 +0100)]
MIPS64: Improve integer comparison with constants

Test: mma test-art-target-run-test64 in QEMU

Change-Id: Ib29855a3e268e0333602f47185c520c6cfb16b59

7 years agoMIPS32: Don't always do a null test in MarkGCCard
Goran Jakovljevic [Mon, 26 Dec 2016 13:21:43 +0000 (14:21 +0100)]
MIPS32: Don't always do a null test in MarkGCCard

Test: mma test-art-target-run-test on CI20

Change-Id: I38fac492bb76b06b9cffc9be16944fb22ed2db70

7 years agoMerge "Revert "Tests on FP Math.abs()"" am: 6a14c62270
Aart Bik [Fri, 23 Dec 2016 01:01:51 +0000 (01:01 +0000)]
Merge "Revert "Tests on FP Math.abs()"" am: 6a14c62270
am: 6a43001015

Change-Id: Ife81e6b1246f3105d060192d8250d77686f03591

7 years agoMerge "Revert "Tests on FP Math.abs()""
Aart Bik [Fri, 23 Dec 2016 00:55:52 +0000 (00:55 +0000)]
Merge "Revert "Tests on FP Math.abs()""
am: 6a14c62270

Change-Id: I210f6454f95bbe5dbeb10323b353f83ba36e7317

7 years agoMerge "Revert "Tests on FP Math.abs()""
Treehugger Robot [Fri, 23 Dec 2016 00:44:54 +0000 (00:44 +0000)]
Merge "Revert "Tests on FP Math.abs()""

7 years agoMIPS64: Align register spills on 8-byte boundaries in slow paths
Alexey Frunze [Thu, 22 Dec 2016 21:54:23 +0000 (13:54 -0800)]
MIPS64: Align register spills on 8-byte boundaries in slow paths

64-bit loads/stores would otherwise be split into pairs of
32-bit ones.

Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU
Test: test-art-target-run-test-optimizing (MIPS64R6) in QEMU

Change-Id: I4846d11b52b71507dfd5ca2e27b3f2a5befcc58e

7 years agoRevert "Tests on FP Math.abs()"
Aart Bik [Thu, 22 Dec 2016 22:54:04 +0000 (22:54 +0000)]
Revert "Tests on FP Math.abs()"

This reverts commit b67877704edf8a32e71ce825d7ab4703be39f8ce.

On  art-relocate-no-patchoat (linux)
we saw

#################### info
# Tests on floating-point Math.abs.
#################### diffs
--- expected.txt 2016-12-22 21:33:16.796152568 +0000
+++ output.txt 2016-12-22 21:44:16.685738052 +0000
@@ -1 +1,3 @@
-passed
+Exception in thread "main" java.lang.Error: Expected: 0x7f800001, found: 0x7fc00001
+ at Main.expectEquals32(Main.java:140)
+ at Main.main(Main.java:85)
####################

Change-Id: If8d1bce9d4d20668661af82bbd08940787cd8252

7 years agoMerge "Tests on FP Math.abs()" am: 1e33d05866
Aart Bik [Thu, 22 Dec 2016 21:14:40 +0000 (21:14 +0000)]
Merge "Tests on FP Math.abs()" am: 1e33d05866
am: 39edef9543

Change-Id: Ibc48675c81c1052f06aa3dc2f72fc28d925471f6

7 years agoMerge "Tests on FP Math.abs()"
Aart Bik [Thu, 22 Dec 2016 21:09:09 +0000 (21:09 +0000)]
Merge "Tests on FP Math.abs()"
am: 1e33d05866

Change-Id: Iacc0ec3d84e25b840cb1231e1a2ce48bde4bbfc0

7 years agoMerge "Tests on FP Math.abs()"
Treehugger Robot [Thu, 22 Dec 2016 21:00:40 +0000 (21:00 +0000)]
Merge "Tests on FP Math.abs()"

7 years agoARM: VIXL32: Use a default code buffer capacity of 1Kb.
Scott Wakeling [Tue, 20 Dec 2016 09:43:32 +0000 (09:43 +0000)]
ARM: VIXL32: Use a default code buffer capacity of 1Kb.

Test: mma test-art-host && mma test-art-target

Change-Id: I238c40e775338b63cbdb8868c09d0555b0c3b077

7 years agoART: VIXL32: Fix assembler test after VIXL update.
Artem Serov [Wed, 21 Dec 2016 18:42:21 +0000 (18:42 +0000)]
ART: VIXL32: Fix assembler test after VIXL update.

Veneer pool is emitted 4 bytes later, so the expected output for
the test has been adjusted.

Test: test-art-host
Test: test-art-target
Change-Id: I3d656224fd4151904b8096486adecb6ef1eafea6