OSDN Git Service

android-x86/art.git
9 years agoam 8443637f: Merge "ART: Build fix."
Andreas Gampe [Tue, 2 Dec 2014 22:48:47 +0000 (22:48 +0000)]
am 8443637f: Merge "ART: Build fix."

* commit '8443637f71a777a13317fe7635028d758a0adf97':
  ART: Build fix.

9 years agoMerge "ART: Build fix."
Andreas Gampe [Tue, 2 Dec 2014 22:41:42 +0000 (22:41 +0000)]
Merge "ART: Build fix."

9 years agoART: Build fix.
Andreas Gampe [Tue, 2 Dec 2014 22:39:52 +0000 (14:39 -0800)]
ART: Build fix.

Fix closure.

Change-Id: I6ab68f2e3fb210c3b644affe3410c67a28df3d8e

9 years agoam f8425713: Merge "Move FindDexMethodIndexInOtherDexFile into ArtMethod."
Ian Rogers [Tue, 2 Dec 2014 22:27:13 +0000 (22:27 +0000)]
am f8425713: Merge "Move FindDexMethodIndexInOtherDexFile into ArtMethod."

* commit 'f842571345749cc119363fdeb1dda549aafb49bb':
  Move FindDexMethodIndexInOtherDexFile into ArtMethod.

9 years agoam eb8a32f8: Merge "ART: Change boot image class update"
Andreas Gampe [Tue, 2 Dec 2014 22:23:46 +0000 (22:23 +0000)]
am eb8a32f8: Merge "ART: Change boot image class update"

* commit 'eb8a32f8fbc72d8f5e92dc4335f1e7428e7cba51':
  ART: Change boot image class update

9 years agoMerge "Move FindDexMethodIndexInOtherDexFile into ArtMethod."
Ian Rogers [Tue, 2 Dec 2014 22:22:49 +0000 (22:22 +0000)]
Merge "Move FindDexMethodIndexInOtherDexFile into ArtMethod."

9 years agoMove FindDexMethodIndexInOtherDexFile into ArtMethod.
Ian Rogers [Tue, 2 Dec 2014 22:10:53 +0000 (14:10 -0800)]
Move FindDexMethodIndexInOtherDexFile into ArtMethod.

Move FindDexMethodIndexInOtherDexFile out of MethodHelper into ArtMethod in
preparation for the removal of MethodHelper.
Tidy ClassLinker::ResolveMethod so that all exception paths flow through the
exception pending assertion.
Tidy artQuickResolutionTrampoline to be more explicit about variable names and
only update the dex cache if necessary.

Change-Id: I3e48eb4f6c1291533067c1b53efe90c53bfcaea8

9 years agoMerge "ART: Change boot image class update"
Andreas Gampe [Tue, 2 Dec 2014 22:16:51 +0000 (22:16 +0000)]
Merge "ART: Change boot image class update"

9 years agoam b67f965a: Merge "ART: Add some thread abort logging"
Andreas Gampe [Tue, 2 Dec 2014 19:31:27 +0000 (19:31 +0000)]
am b67f965a: Merge "ART: Add some thread abort logging"

* commit 'b67f965a2c0af98867dcc75ce07ec94d943421ae':
  ART: Add some thread abort logging

9 years agoam 5055c8e0: Merge "ART: Print initialization failures to file"
Andreas Gampe [Tue, 2 Dec 2014 19:31:26 +0000 (19:31 +0000)]
am 5055c8e0: Merge "ART: Print initialization failures to file"

* commit '5055c8e008fef62b23e485504472cd215b1b5bfd':
  ART: Print initialization failures to file

9 years agoam 4256440d: Merge "Remove MethodHelper from the interpreter."
Ian Rogers [Tue, 2 Dec 2014 19:31:24 +0000 (19:31 +0000)]
am 4256440d: Merge "Remove MethodHelper from the interpreter."

* commit '4256440d7566510e13a796176c90841bad29d0e5':
  Remove MethodHelper from the interpreter.

9 years agoMerge "ART: Add some thread abort logging"
Andreas Gampe [Tue, 2 Dec 2014 19:25:48 +0000 (19:25 +0000)]
Merge "ART: Add some thread abort logging"

9 years agoMerge "ART: Print initialization failures to file"
Andreas Gampe [Tue, 2 Dec 2014 19:25:07 +0000 (19:25 +0000)]
Merge "ART: Print initialization failures to file"

9 years agoMerge "Remove MethodHelper from the interpreter."
Ian Rogers [Tue, 2 Dec 2014 19:24:06 +0000 (19:24 +0000)]
Merge "Remove MethodHelper from the interpreter."

9 years agoam 32750ae8: Merge "Add a way to pass GDB commands"
Mathieu Chartier [Tue, 2 Dec 2014 19:13:52 +0000 (19:13 +0000)]
am 32750ae8: Merge "Add a way to pass GDB commands"

* commit '32750ae8290b12ebf388f110210bbb9de0ed6fb7':
  Add a way to pass GDB commands

9 years agoRemove MethodHelper from the interpreter.
Ian Rogers [Tue, 2 Dec 2014 19:13:19 +0000 (11:13 -0800)]
Remove MethodHelper from the interpreter.

Use ShadowFrame to get the executing method to avoid a handle for the current
method.
Various associated bits of header file clean-up and removal of an unnecessary
use of MethodHelper in CompilerDriver.

Change-Id: I3b6f4413701e8fc6b0c58b0041a0dd15472bedaa

9 years agoMerge "Add a way to pass GDB commands"
Mathieu Chartier [Tue, 2 Dec 2014 19:09:49 +0000 (19:09 +0000)]
Merge "Add a way to pass GDB commands"

9 years agoAdd a way to pass GDB commands
Mathieu Chartier [Fri, 17 Oct 2014 22:58:01 +0000 (15:58 -0700)]
Add a way to pass GDB commands

Passing --gdb-arg to run-test sends the arg to GDB, example:
test/run-test --host --gdb --gdb-arg "--command=command.txt" 001-HelloWorld
Would run the test with the GDB script at command.txt on the host, this is
useful for running tests in GDB in a loop.

Bug: 17387969

Change-Id: I5ad455159a6d92783eacb17eecbb0f1e670cb4a3

9 years agoam e7106cbc: Merge "ART: Avoid a recursive abort"
Andreas Gampe [Tue, 2 Dec 2014 18:41:55 +0000 (18:41 +0000)]
am e7106cbc: Merge "ART: Avoid a recursive abort"

* commit 'e7106cbcfcbb07d11948dbc45d2719d32e5e3908':
  ART: Avoid a recursive abort

9 years agoMerge "ART: Avoid a recursive abort"
Andreas Gampe [Tue, 2 Dec 2014 18:29:34 +0000 (18:29 +0000)]
Merge "ART: Avoid a recursive abort"

9 years agoam f25c2ec6: Merge "Fix OOM throwing if it happens in finalizer reference (take 2)"
Nicolas Geoffray [Tue, 2 Dec 2014 15:06:34 +0000 (15:06 +0000)]
am f25c2ec6: Merge "Fix OOM throwing if it happens in finalizer reference (take 2)"

* commit 'f25c2ec6b63e116f24f359a10b59c78768fde67a':
  Fix OOM throwing if it happens in finalizer reference (take 2)

9 years agoam e0245b0a: Merge "[optimizing compiler] Fix invoke-direct"
Calin Juravle [Tue, 2 Dec 2014 14:59:55 +0000 (14:59 +0000)]
am e0245b0a: Merge "[optimizing compiler] Fix invoke-direct"

* commit 'e0245b0a3deaeb4d0707e76ed747e3771fef11c0':
  [optimizing compiler] Fix invoke-direct

9 years agoMerge "Fix OOM throwing if it happens in finalizer reference (take 2)"
Nicolas Geoffray [Tue, 2 Dec 2014 14:59:43 +0000 (14:59 +0000)]
Merge "Fix OOM throwing if it happens in finalizer reference (take 2)"

9 years agoFix OOM throwing if it happens in finalizer reference (take 2)
Pavel Vyssotski [Tue, 2 Dec 2014 13:54:50 +0000 (19:54 +0600)]
Fix OOM throwing if it happens in finalizer reference (take 2)

The Class::Alloc should return null if OOM happened during
adding finalizer reference, even if finalizable object is
allocated succesfully.

Added new more reliable test.

Change-Id: Id5fed3bdb16297d6d3a2b14ce62cc305aa703d60
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Signed-off-by: Pavel Vyssotski <pavel.n.vyssotski@intel.com>
9 years agoMerge "[optimizing compiler] Fix invoke-direct"
Calin Juravle [Tue, 2 Dec 2014 14:52:39 +0000 (14:52 +0000)]
Merge "[optimizing compiler] Fix invoke-direct"

9 years agoam 98646a3d: Merge "Add a branch to ensure the test is compiled."
Nicolas Geoffray [Tue, 2 Dec 2014 13:57:23 +0000 (13:57 +0000)]
am 98646a3d: Merge "Add a branch to ensure the test is compiled."

* commit '98646a3d98075da05f9959b2cecea849183dbd27':
  Add a branch to ensure the test is compiled.

9 years agoMerge "Add a branch to ensure the test is compiled."
Nicolas Geoffray [Tue, 2 Dec 2014 13:52:01 +0000 (13:52 +0000)]
Merge "Add a branch to ensure the test is compiled."

9 years agoAdd a branch to ensure the test is compiled.
Nicolas Geoffray [Tue, 2 Dec 2014 13:48:19 +0000 (13:48 +0000)]
Add a branch to ensure the test is compiled.

The compiler will now not compile large methods with no branch.

Change-Id: Iaea284c648f7f3f754cb8ec721ad2ecffbd2f6af

9 years agoam 383993c1: Merge "Add some heursitics for compiling, close to Quick\'s."
Nicolas Geoffray [Tue, 2 Dec 2014 12:47:33 +0000 (12:47 +0000)]
am 383993c1: Merge "Add some heursitics for compiling, close to Quick\'s."

* commit '383993c1dc58c13f7570b9945037d6f83094785b':
  Add some heursitics for compiling, close to Quick's.

9 years agoMerge "Add some heursitics for compiling, close to Quick's."
Nicolas Geoffray [Tue, 2 Dec 2014 12:41:26 +0000 (12:41 +0000)]
Merge "Add some heursitics for compiling, close to Quick's."

9 years agoam 68af004a: Merge "Treat SSA transformation special, as we may have to bailout."
Nicolas Geoffray [Tue, 2 Dec 2014 12:34:31 +0000 (12:34 +0000)]
am 68af004a: Merge "Treat SSA transformation special, as we may have to bailout."

* commit '68af004aa1e8c82ddb503261c5e3080238e77b59':
  Treat SSA transformation special, as we may have to bailout.

9 years agoMerge "Treat SSA transformation special, as we may have to bailout."
Nicolas Geoffray [Tue, 2 Dec 2014 12:28:11 +0000 (12:28 +0000)]
Merge "Treat SSA transformation special, as we may have to bailout."

9 years agoTreat SSA transformation special, as we may have to bailout.
Nicolas Geoffray [Tue, 2 Dec 2014 11:51:19 +0000 (11:51 +0000)]
Treat SSA transformation special, as we may have to bailout.

We forgot to bailout when we found a non-natural loop (on which
our optimizations don't work).

Change-Id: I11976b5af4c98f4f29267a74c74d34b5ad81e20c

9 years ago[optimizing compiler] Fix invoke-direct
Calin Juravle [Tue, 2 Dec 2014 11:42:34 +0000 (11:42 +0000)]
[optimizing compiler] Fix invoke-direct

Always compute invoke info via compiler driver. This ensures that the
method is not called directly if its access cannot be verified.

Change-Id: I04b35563a1148bc5cb16b37324419e2a977ec8db

9 years agoam 10a573a1: Merge "Don\'t run optimizations after baseline."
Nicolas Geoffray [Tue, 2 Dec 2014 12:20:17 +0000 (12:20 +0000)]
am 10a573a1: Merge "Don\'t run optimizations after baseline."

* commit '10a573a1f8708dbe2bcb7835341cbd8e9606af63':
  Don't run optimizations after baseline.

9 years agoMerge "Don't run optimizations after baseline."
Nicolas Geoffray [Tue, 2 Dec 2014 12:13:34 +0000 (12:13 +0000)]
Merge "Don't run optimizations after baseline."

9 years agoAdd some heursitics for compiling, close to Quick's.
Nicolas Geoffray [Tue, 2 Dec 2014 10:19:51 +0000 (10:19 +0000)]
Add some heursitics for compiling, close to Quick's.

Quick has more machinery to give up/not give up, but we can
backport them later.

Change-Id: I5eb62c664246f4ce46f0400cf24ec34a72afb51e

9 years agoam f7ebda43: Merge "Fix fault handler invoked before vm running."
Christopher Ferris [Tue, 2 Dec 2014 03:15:58 +0000 (03:15 +0000)]
am f7ebda43: Merge "Fix fault handler invoked before vm running."

* commit 'f7ebda43cb185b6414a2e86eef95eaf10b74db2c':
  Fix fault handler invoked before vm running.

9 years agoMerge "Fix fault handler invoked before vm running."
Christopher Ferris [Tue, 2 Dec 2014 03:10:22 +0000 (03:10 +0000)]
Merge "Fix fault handler invoked before vm running."

9 years agoam ea09c1ed: Merge "Try normal allocation if large object allocation fails"
Mathieu Chartier [Tue, 2 Dec 2014 01:12:48 +0000 (01:12 +0000)]
am ea09c1ed: Merge "Try normal allocation if large object allocation fails"

* commit 'ea09c1ed912bd5cc87aada58f3f24825940fb148':
  Try normal allocation if large object allocation fails

9 years agoMerge "Try normal allocation if large object allocation fails"
Mathieu Chartier [Tue, 2 Dec 2014 01:08:02 +0000 (01:08 +0000)]
Merge "Try normal allocation if large object allocation fails"

9 years agoTry normal allocation if large object allocation fails
Mathieu Chartier [Mon, 1 Dec 2014 23:00:27 +0000 (15:00 -0800)]
Try normal allocation if large object allocation fails

If a large object allocation fails, we now try the normal allocators.

Bug: 18124612

(cherry picked from commit f1c4d0e3a27e9b39916750147ecdea1418fcc231)

Change-Id: Ib83ebe53fbdd83aa2d23fd10a8bb10e149f8918f

9 years agoam 87e0aa4c: Merge "Fix growth limit / footprint limit problems"
Mathieu Chartier [Tue, 2 Dec 2014 00:57:35 +0000 (00:57 +0000)]
am 87e0aa4c: Merge "Fix growth limit / footprint limit problems"

* commit '87e0aa4c72962a54bbf64fc020c1f59d13c3e30f':
  Fix growth limit / footprint limit problems

9 years agoMerge "Fix growth limit / footprint limit problems"
Mathieu Chartier [Tue, 2 Dec 2014 00:53:40 +0000 (00:53 +0000)]
Merge "Fix growth limit / footprint limit problems"

9 years agoFix growth limit / footprint limit problems
Mathieu Chartier [Mon, 1 Dec 2014 21:40:48 +0000 (13:40 -0800)]
Fix growth limit / footprint limit problems

We now properly clear the growth limit of all the spaces when
ClearGrowthLimit is called. Previously we didn't clear the growth
limit of the background space.

This wasn't caught by heap test since it only manifested itself
when we had a zygote space.

Bug: 18504942

(cherry picked from commit d59c170057dcc213a858652abc71eec710898a41)

Change-Id: I6e4394b9c9f7f22aabc5f5955adb8dd4511c2617

9 years agoam 90fe2563: Merge "Set dex_cache_strings_ when we call Class::SetDexCache"
Mathieu Chartier [Mon, 1 Dec 2014 22:37:59 +0000 (22:37 +0000)]
am 90fe2563: Merge "Set dex_cache_strings_ when we call Class::SetDexCache"

* commit '90fe256384b5fcd955018888977df07a5c0d85f4':
  Set dex_cache_strings_ when we call Class::SetDexCache

9 years agoMerge "Set dex_cache_strings_ when we call Class::SetDexCache"
Mathieu Chartier [Mon, 1 Dec 2014 22:32:35 +0000 (22:32 +0000)]
Merge "Set dex_cache_strings_ when we call Class::SetDexCache"

9 years agoDon't run optimizations after baseline.
Nicolas Geoffray [Mon, 1 Dec 2014 22:09:43 +0000 (22:09 +0000)]
Don't run optimizations after baseline.

We have enough coverage now. This was also motivated
by having to call RunOptimizations instead, which does invoke
InstructionSimplifier, required by the code generators (for, e.g.
removing useless HTypeConversion nodes).

Change-Id: I4e616dae771b8ced60e1f418e3da834f44edb717

9 years agoSet dex_cache_strings_ when we call Class::SetDexCache
Mathieu Chartier [Mon, 1 Dec 2014 18:31:15 +0000 (10:31 -0800)]
Set dex_cache_strings_ when we call Class::SetDexCache

Ensures that these two variables never get out of sync. The error
was presumably related to not doing this for proxy classes. This
caused java code which was looking at the dex_cache_strings_ field
to incorrectly access a null array.

Bug: 18548887

(cherry picked from commit ea1c3d77b92b30ec527f2ca5bfe316a882b698e0)

Change-Id: I022d9311b38b61e160ed70e3c5d9639797adb29c

9 years agoam dde815ab: Merge "ART: x86 specific clearing higher bits when converting long to...
Bill Buzbee [Mon, 1 Dec 2014 19:14:43 +0000 (19:14 +0000)]
am dde815ab: Merge "ART: x86 specific clearing higher bits when converting long to int"

* commit 'dde815ab8e1a1997ad01cb7f63dd10ef26597f46':
  ART: x86 specific clearing higher bits when converting long to int

9 years agoam 758662e9: Merge "Quick: Fix neg-long on ARM for overlapping regs."
Vladimir Marko [Mon, 1 Dec 2014 19:11:09 +0000 (19:11 +0000)]
am 758662e9: Merge "Quick: Fix neg-long on ARM for overlapping regs."

* commit '758662e9d02727d9a88be395a92b476843c44d36':
  Quick: Fix neg-long on ARM for overlapping regs.

9 years agoMerge "ART: x86 specific clearing higher bits when converting long to int"
Bill Buzbee [Mon, 1 Dec 2014 19:10:14 +0000 (19:10 +0000)]
Merge "ART: x86 specific clearing higher bits when converting long to int"

9 years agoMerge "Quick: Fix neg-long on ARM for overlapping regs."
Vladimir Marko [Mon, 1 Dec 2014 19:04:28 +0000 (19:04 +0000)]
Merge "Quick: Fix neg-long on ARM for overlapping regs."

9 years agoam 05d5810c: Merge "Refactor handling of conditional branches with known result."
Vladimir Marko [Mon, 1 Dec 2014 18:01:11 +0000 (18:01 +0000)]
am 05d5810c: Merge "Refactor handling of conditional branches with known result."

* commit '05d5810c2b20ac83da82cef9a9677884af81147d':
  Refactor handling of conditional branches with known result.

9 years agoam 0a080978: Merge "Quick: Use 16-bit conditional branch in Thumb2."
Vladimir Marko [Mon, 1 Dec 2014 18:01:09 +0000 (18:01 +0000)]
am 0a080978: Merge "Quick: Use 16-bit conditional branch in Thumb2."

* commit '0a080978fc822c51f06cb615662ee9ddcba4f677':
  Quick: Use 16-bit conditional branch in Thumb2.

9 years agoam 057491f9: Merge "Quick: Use 16-bit Thumb2 PUSH/POP when possible."
Vladimir Marko [Mon, 1 Dec 2014 18:01:08 +0000 (18:01 +0000)]
am 057491f9: Merge "Quick: Use 16-bit Thumb2 PUSH/POP when possible."

* commit '057491f9206ca54270667b3a9aecb3c0376ed559':
  Quick: Use 16-bit Thumb2 PUSH/POP when possible.

9 years agoMerge "Refactor handling of conditional branches with known result."
Vladimir Marko [Mon, 1 Dec 2014 17:57:04 +0000 (17:57 +0000)]
Merge "Refactor handling of conditional branches with known result."

9 years agoMerge "Quick: Use 16-bit conditional branch in Thumb2."
Vladimir Marko [Mon, 1 Dec 2014 17:56:41 +0000 (17:56 +0000)]
Merge "Quick: Use 16-bit conditional branch in Thumb2."

9 years agoMerge "Quick: Use 16-bit Thumb2 PUSH/POP when possible."
Vladimir Marko [Mon, 1 Dec 2014 17:56:27 +0000 (17:56 +0000)]
Merge "Quick: Use 16-bit Thumb2 PUSH/POP when possible."

9 years agoQuick: Fix neg-long on ARM for overlapping regs.
Vladimir Marko [Mon, 1 Dec 2014 16:48:48 +0000 (16:48 +0000)]
Quick: Fix neg-long on ARM for overlapping regs.

Bug: 18569347
Change-Id: I764a4648b7ea5fd92f1ffbb9038b9d101b50d137

9 years agoam 0c137c43: Merge "Remove type conversion nodes converting to the same type."
Nicolas Geoffray [Mon, 1 Dec 2014 14:57:05 +0000 (14:57 +0000)]
am 0c137c43: Merge "Remove type conversion nodes converting to the same type."

* commit '0c137c43551e88dbe1051315088417cb08b7f930':
  Remove type conversion nodes converting to the same type.

9 years agoMerge "Remove type conversion nodes converting to the same type."
Nicolas Geoffray [Mon, 1 Dec 2014 14:52:01 +0000 (14:52 +0000)]
Merge "Remove type conversion nodes converting to the same type."

9 years agoRemove type conversion nodes converting to the same type.
Nicolas Geoffray [Mon, 1 Dec 2014 14:16:20 +0000 (14:16 +0000)]
Remove type conversion nodes converting to the same type.

When optimizing, we ensure these conversions do not reach the
code generators. When not optimizing, we cannot get such situations.

Change-Id: I717247c957667675dc261183019c88efa3a38452

9 years agoam dff10692: Merge "Opt Compiler: Arm64: Add support for more IRs plus various fixes."
Nicolas Geoffray [Mon, 1 Dec 2014 12:31:59 +0000 (12:31 +0000)]
am dff10692: Merge "Opt Compiler: Arm64: Add support for more IRs plus various fixes."

* commit 'dff1069220465f93dc2e3636a0acd7522a5ba639':
  Opt Compiler: Arm64: Add support for more IRs plus various fixes.

9 years agoam 89b53873: Merge "Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug."
Nicolas Geoffray [Mon, 1 Dec 2014 12:31:57 +0000 (12:31 +0000)]
am 89b53873: Merge "Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug."

* commit '89b53873b29e9e93fa6ba49c9685b84c60c76a4c':
  Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug.

9 years agoMerge "Opt Compiler: Arm64: Add support for more IRs plus various fixes."
Nicolas Geoffray [Mon, 1 Dec 2014 12:29:09 +0000 (12:29 +0000)]
Merge "Opt Compiler: Arm64: Add support for more IRs plus various fixes."

9 years agoMerge "Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug."
Nicolas Geoffray [Mon, 1 Dec 2014 12:28:51 +0000 (12:28 +0000)]
Merge "Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug."

9 years agoam 672db028: Merge "Fix insertion of parallel move when connecting siblings."
Nicolas Geoffray [Mon, 1 Dec 2014 12:07:41 +0000 (12:07 +0000)]
am 672db028: Merge "Fix insertion of parallel move when connecting siblings."

* commit '672db0289de1dec9513da14153f315fecb78649e':
  Fix insertion of parallel move when connecting siblings.

9 years agoMerge "Fix insertion of parallel move when connecting siblings."
Nicolas Geoffray [Mon, 1 Dec 2014 12:04:49 +0000 (12:04 +0000)]
Merge "Fix insertion of parallel move when connecting siblings."

9 years agoFix insertion of parallel move when connecting siblings.
Nicolas Geoffray [Mon, 1 Dec 2014 09:50:04 +0000 (09:50 +0000)]
Fix insertion of parallel move when connecting siblings.

Also add a check that ensures parallel moves have been inserted
correctly.

This fixes tests:
org.apache.harmony.tests.java.util.BitSetTest#test_nextSetBitI
org.apache.harmony.tests.java.util.BitSetTest#test_31036_set

On host/x64.

Change-Id: I59d29aca393b5344bac933e2813ab409fea9d9b5

9 years agoam 5a57dae0: Merge "Don\'t walk the libcore tree when finding tests."
Nicolas Geoffray [Mon, 1 Dec 2014 10:43:25 +0000 (10:43 +0000)]
am 5a57dae0: Merge "Don\'t walk the libcore tree when finding tests."

* commit '5a57dae02941c59233aa6f80ac160ab1af1e4844':
  Don't walk the libcore tree when finding tests.

9 years agoMerge "Don't walk the libcore tree when finding tests."
Nicolas Geoffray [Mon, 1 Dec 2014 10:40:12 +0000 (10:40 +0000)]
Merge "Don't walk the libcore tree when finding tests."

9 years agoDon't walk the libcore tree when finding tests.
Nicolas Geoffray [Mon, 1 Dec 2014 10:12:15 +0000 (10:12 +0000)]
Don't walk the libcore tree when finding tests.

vogar will run tests twice if it is given, for example,
libcore.java.lang and libcore.java.lang.ref.

Also currently disable math tests until expectations/fixes
are in.

Change-Id: Iba2edad3ce0a6b27947ce6897d70abedf8d1e6b3

9 years agoam 7933e185: Merge "Print the right default for the compiler backend."
Nicolas Geoffray [Fri, 28 Nov 2014 16:29:31 +0000 (16:29 +0000)]
am 7933e185: Merge "Print the right default for the compiler backend."

* commit '7933e185ebd4efab7f7e0749bfa193f08152c614':
  Print the right default for the compiler backend.

9 years agoMerge "Print the right default for the compiler backend."
Nicolas Geoffray [Fri, 28 Nov 2014 16:27:01 +0000 (16:27 +0000)]
Merge "Print the right default for the compiler backend."

9 years agoPrint the right default for the compiler backend.
Nicolas Geoffray [Fri, 28 Nov 2014 16:22:11 +0000 (16:22 +0000)]
Print the right default for the compiler backend.

Change-Id: I7083c640af6e2af1c333d5551ba2391ab672954d

9 years agoam 33c5aac7: Merge "Don\'t use CanHoldArm in the code generator."
Nicolas Geoffray [Fri, 28 Nov 2014 16:07:45 +0000 (16:07 +0000)]
am 33c5aac7: Merge "Don\'t use CanHoldArm in the code generator."

* commit '33c5aac7efcf82c86a907b321d700e673f95d648':
  Don't use CanHoldArm in the code generator.

9 years agoMerge "Don't use CanHoldArm in the code generator."
Nicolas Geoffray [Fri, 28 Nov 2014 16:04:38 +0000 (16:04 +0000)]
Merge "Don't use CanHoldArm in the code generator."

9 years agoDon't use CanHoldArm in the code generator.
Nicolas Geoffray [Fri, 28 Nov 2014 15:00:02 +0000 (15:00 +0000)]
Don't use CanHoldArm in the code generator.

CanHoldArm was ARM32 specific. Instead use a virtual
Assembler::ShifterOperandCanHold that both thumb2 and arm32
implement.

Change-Id: I33794a93caf02ee5d78d32a8471d9fd6fe4f0a00

9 years agoam 6e2d377d: Merge "Add a script for running libcore tests."
Nicolas Geoffray [Fri, 28 Nov 2014 15:59:58 +0000 (15:59 +0000)]
am 6e2d377d: Merge "Add a script for running libcore tests."

* commit '6e2d377d42397b4d83ef210ba000237798911656':
  Add a script for running libcore tests.

9 years agoMerge "Add a script for running libcore tests."
Nicolas Geoffray [Fri, 28 Nov 2014 15:54:54 +0000 (15:54 +0000)]
Merge "Add a script for running libcore tests."

9 years agoAdd a script for running libcore tests.
Nicolas Geoffray [Fri, 28 Nov 2014 14:24:28 +0000 (14:24 +0000)]
Add a script for running libcore tests.

Script contains a list of packages that have no vogar failures,
that is, vogar finds the right test expectations.

Change-Id: Ie47bead6bb5457d055498570204187a54db45efa

9 years agoRefactor handling of conditional branches with known result.
Vladimir Marko [Fri, 28 Nov 2014 13:38:28 +0000 (13:38 +0000)]
Refactor handling of conditional branches with known result.

Detect IF_cc and IF_ccZ instructions with known results in
the basic block optimization phase (instead for the codegen
phase) and replace them with GOTO/NOP. Kill blocks that are
unreachable as a result.

Change-Id: I169c2fa6f1e8af685f4f3a7fe622f5da862ce329

9 years agoOpt Compiler: Arm64: Add support for more IRs plus various fixes.
Serban Constantinescu [Thu, 13 Nov 2014 14:05:07 +0000 (14:05 +0000)]
Opt Compiler: Arm64: Add support for more IRs plus various fixes.

Add support for more IRs and update others.

Change-Id: Iae1bef01dc3c0d238a46fbd2800e71c38288b1d2
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
9 years agoVixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug.
Serban Constantinescu [Tue, 25 Nov 2014 20:05:46 +0000 (20:05 +0000)]
Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug.

This patch updates the interface to VIXL 1.7 and enables the debug version of
VIXL when ART is built in debug mode.

Change-Id: I443fb941bec3cffefba7038f93bb972e6b7d8db5
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
9 years agoam eea79dd7: Merge "Fix a bug in the linear scan register allocator."
Nicolas Geoffray [Fri, 28 Nov 2014 11:30:58 +0000 (11:30 +0000)]
am eea79dd7: Merge "Fix a bug in the linear scan register allocator."

* commit 'eea79dd779ba199658ada7264f8f96d776e53f19':
  Fix a bug in the linear scan register allocator.

9 years agoMerge "Fix a bug in the linear scan register allocator."
Nicolas Geoffray [Fri, 28 Nov 2014 11:26:24 +0000 (11:26 +0000)]
Merge "Fix a bug in the linear scan register allocator."

9 years agoam 9ce56af3: Merge "Fix bogus assumption for live registers at safe point."
Nicolas Geoffray [Fri, 28 Nov 2014 11:12:17 +0000 (11:12 +0000)]
am 9ce56af3: Merge "Fix bogus assumption for live registers at safe point."

* commit '9ce56af31bef386944b7e76ab46897b3573a80d1':
  Fix bogus assumption for live registers at safe point.

9 years agoam db5453bb: Merge "Fix a bug in GVN."
Nicolas Geoffray [Fri, 28 Nov 2014 11:12:16 +0000 (11:12 +0000)]
am db5453bb: Merge "Fix a bug in GVN."

* commit 'db5453bbda97e94c00af714a7ec8e59d3a4ea843':
  Fix a bug in GVN.

9 years agoMerge "Fix bogus assumption for live registers at safe point."
Nicolas Geoffray [Fri, 28 Nov 2014 11:07:27 +0000 (11:07 +0000)]
Merge "Fix bogus assumption for live registers at safe point."

9 years agoMerge "Fix a bug in GVN."
Nicolas Geoffray [Fri, 28 Nov 2014 11:06:26 +0000 (11:06 +0000)]
Merge "Fix a bug in GVN."

9 years agoFix a bug in GVN.
Nicolas Geoffray [Thu, 27 Nov 2014 12:01:59 +0000 (12:01 +0000)]
Fix a bug in GVN.

When a predecessor block was killing instructions in a set, we were
not taking into account side effects of blocks between the dominator to
this predecessor.

Implementation now intersects the copied set of the dominator with
the predecessors to take these side effects into account.

Change-Id: If297439cc4e50cee91e9fffd028216a3e49e19ef

9 years agoam f2d52e4d: Merge "Add support for long-to-float in the optimizing compiler."
Roland Levillain [Fri, 28 Nov 2014 10:34:04 +0000 (10:34 +0000)]
am f2d52e4d: Merge "Add support for long-to-float in the optimizing compiler."

* commit 'f2d52e4d32fbedee2a11692e1f1d986ba68ea493':
  Add support for long-to-float in the optimizing compiler.

9 years agoMerge "Add support for long-to-float in the optimizing compiler."
Roland Levillain [Fri, 28 Nov 2014 10:29:35 +0000 (10:29 +0000)]
Merge "Add support for long-to-float in the optimizing compiler."

9 years agoAdd support for long-to-float in the optimizing compiler.
Roland Levillain [Thu, 27 Nov 2014 18:31:21 +0000 (18:31 +0000)]
Add support for long-to-float in the optimizing compiler.

- Add support for the long-to-float Dex instruction in the
  optimizing compiler.
- Have art::x86_64::X86_64Assembler::cvtsi2ss work with
  64-bit operands.
- Generate x86, x86-64 and ARM (but not ARM64) code for
  long to float HTypeConversion nodes.
- Add related tests to test/422-type-conversion.

Change-Id: Ic983cbeb1ae2051add40bc519a8f00a6196166c9

9 years agoam 7c97e855: Merge "Wrap long lines in the optimizing compiler."
Roland Levillain [Thu, 27 Nov 2014 17:38:31 +0000 (17:38 +0000)]
am 7c97e855: Merge "Wrap long lines in the optimizing compiler."

* commit '7c97e855ceb9b45a1cc738fb144bd3312c4e09a8':
  Wrap long lines in the optimizing compiler.

9 years agoMerge "Wrap long lines in the optimizing compiler."
Roland Levillain [Thu, 27 Nov 2014 17:32:58 +0000 (17:32 +0000)]
Merge "Wrap long lines in the optimizing compiler."

9 years agoWrap long lines in the optimizing compiler.
Roland Levillain [Thu, 27 Nov 2014 17:15:16 +0000 (17:15 +0000)]
Wrap long lines in the optimizing compiler.

Change-Id: I5dee0c65e6652de574ae952b1f1dfc7355859e45

9 years agoam 924632d2: Merge "Ensure opt. compiler doesn\'t get core & FP registers mixed up."
Roland Levillain [Thu, 27 Nov 2014 15:46:10 +0000 (15:46 +0000)]
am 924632d2: Merge "Ensure opt. compiler doesn\'t get core & FP registers mixed up."

* commit '924632d2626b17b903bf7b851099f6d575ac534b':
  Ensure opt. compiler doesn't get core & FP registers mixed up.

9 years agoam e936f688: Merge "Fix neg-float & neg-double for null values in opt. compiler."
Roland Levillain [Thu, 27 Nov 2014 15:42:43 +0000 (15:42 +0000)]
am e936f688: Merge "Fix neg-float & neg-double for null values in opt. compiler."

* commit 'e936f68824c441d07bd3a4d5dce4b9b18794a41f':
  Fix neg-float & neg-double for null values in opt. compiler.