OSDN Git Service

android-x86/art.git
10 years agoam ea0b6e28: Merge "AArch64: fixing some assertions."
Bill Buzbee [Thu, 29 May 2014 17:47:46 +0000 (17:47 +0000)]
am ea0b6e28: Merge "AArch64: fixing some assertions."

* commit 'ea0b6e284cab12eed88eebf6aa19e6292af57389':
  AArch64: fixing some assertions.

10 years agoMerge "AArch64: fixing some assertions."
Bill Buzbee [Thu, 29 May 2014 17:44:40 +0000 (17:44 +0000)]
Merge "AArch64: fixing some assertions."

10 years agoam abe13862: Merge "Improve tracking of memory locations in LVN."
Vladimir Marko [Thu, 29 May 2014 16:49:41 +0000 (16:49 +0000)]
am abe13862: Merge "Improve tracking of memory locations in LVN."

* commit 'abe13862e29656a0ff2ee69828c391f136abd194':
  Improve tracking of memory locations in LVN.

10 years agoMerge "Improve tracking of memory locations in LVN."
Vladimir Marko [Thu, 29 May 2014 16:46:27 +0000 (16:46 +0000)]
Merge "Improve tracking of memory locations in LVN."

10 years agoImprove tracking of memory locations in LVN.
Vladimir Marko [Thu, 22 May 2014 11:09:08 +0000 (12:09 +0100)]
Improve tracking of memory locations in LVN.

Rewrite the tracking of values stored in memory to allow
recognizing the same value after storing it in memory and
loading it back to vreg. Drop reliance on value name
ordering for memory versioning in preparation for GVN.

Also fix a few minor issues in LVN.

Change-Id: Ifabe2d47d669d9ec43942cea6fd157e41af77ec8

10 years agoAArch64: fixing some assertions.
Matteo Franchin [Fri, 23 May 2014 16:32:52 +0000 (17:32 +0100)]
AArch64: fixing some assertions.

Fixing some assertions while attempting to get libartd.so to work.
Fixing also the shift logic in LoadBaseIndexed() and StoreBaseIndexed().
This commit only fixes a part of the assertion issues.

Change-Id: I473194d4260dd59a8ee6d73114429728c977ee0e

10 years agoam c774bd43: Merge "Fix pass driver\'s dump_pass_list_ and print_pass_list_."
Vladimir Marko [Thu, 29 May 2014 09:58:18 +0000 (09:58 +0000)]
am c774bd43: Merge "Fix pass driver\'s dump_pass_list_ and print_pass_list_."

* commit 'c774bd435e95e537ca578486f687651fabe97008':
  Fix pass driver's dump_pass_list_ and print_pass_list_.

10 years agoMerge "Fix pass driver's dump_pass_list_ and print_pass_list_."
Vladimir Marko [Thu, 29 May 2014 09:55:11 +0000 (09:55 +0000)]
Merge "Fix pass driver's dump_pass_list_ and print_pass_list_."

10 years agoFix pass driver's dump_pass_list_ and print_pass_list_.
Vladimir Marko [Wed, 28 May 2014 20:41:35 +0000 (21:41 +0100)]
Fix pass driver's dump_pass_list_ and print_pass_list_.

The lists were allocated with new char[], so they should
have been held by std::unique_ptr<const char[]> rather than
std::unique_ptr<const char>. However, it's much cleaner with
std::string.

Change-Id: Ie7c604773272194345f5e6e3c4803c3a914edf99

10 years agoam b661a80a: Merge "Move to dalvik.vm.lib.2 to force default to libart"
Brian Carlstrom [Wed, 28 May 2014 22:31:42 +0000 (22:31 +0000)]
am b661a80a: Merge "Move to dalvik.vm.lib.2 to force default to libart"

* commit 'b661a80aab8b8f25590f3165b08647d1df7021f3':
  Move to dalvik.vm.lib.2 to force default to libart

10 years agoMerge "Move to dalvik.vm.lib.2 to force default to libart"
Brian Carlstrom [Wed, 28 May 2014 22:28:32 +0000 (22:28 +0000)]
Merge "Move to dalvik.vm.lib.2 to force default to libart"

10 years agoMove to dalvik.vm.lib.2 to force default to libart
Brian Carlstrom [Wed, 28 May 2014 21:56:39 +0000 (14:56 -0700)]
Move to dalvik.vm.lib.2 to force default to libart

Bug: 14298175

(cherry picked from commit b9c0c40e1f7eb38337919200f1fa328eaed92c1d)

Change-Id: I453d5391d757dcdac1f6fa3b1fb7bc85144177e1

10 years agoam 818cff4a: Merge "Fix DexFile.entries to return class names, not class descriptors"
Brian Carlstrom [Wed, 28 May 2014 21:56:44 +0000 (21:56 +0000)]
am 818cff4a: Merge "Fix DexFile.entries to return class names, not class descriptors"

* commit '818cff4a2ba5ca3d9b5613956e56f12d0ff02d22':
  Fix DexFile.entries to return class names, not class descriptors

10 years agoMerge "Fix DexFile.entries to return class names, not class descriptors"
Brian Carlstrom [Wed, 28 May 2014 21:52:50 +0000 (21:52 +0000)]
Merge "Fix DexFile.entries to return class names, not class descriptors"

10 years agoam e8aff40f: Merge "Use a heap allocated free buffer in MarkSweep::SweepArray()."
Hiroshi Yamauchi [Wed, 28 May 2014 21:32:05 +0000 (21:32 +0000)]
am e8aff40f: Merge "Use a heap allocated free buffer in MarkSweep::SweepArray()."

* commit 'e8aff40f8222ea75d2af89773156cb07fb8653c7':
  Use a heap allocated free buffer in MarkSweep::SweepArray().

10 years agoMerge "Use a heap allocated free buffer in MarkSweep::SweepArray()."
Hiroshi Yamauchi [Wed, 28 May 2014 21:27:36 +0000 (21:27 +0000)]
Merge "Use a heap allocated free buffer in MarkSweep::SweepArray()."

10 years agoUse a heap allocated free buffer in MarkSweep::SweepArray().
Hiroshi Yamauchi [Wed, 28 May 2014 21:04:59 +0000 (14:04 -0700)]
Use a heap allocated free buffer in MarkSweep::SweepArray().

This is for avoiding a large stack frame size.

Bug: 15278350
Change-Id: I63e92c2dd0ad7078fd74ee2392717dc44b431e9a

10 years agoFix DexFile.entries to return class names, not class descriptors
Brian Carlstrom [Wed, 28 May 2014 18:09:10 +0000 (11:09 -0700)]
Fix DexFile.entries to return class names, not class descriptors

Bug: 15141726

(cherry picked from commit f2f9daf9ba33b15abddfc8f8d03a708a7908b765)

Change-Id: I28ce8aae1713a9826a3373e1eb60e0edf267f64c

10 years agoam 6d25996b: Merge "ART: Print and dump functionalities per pass"
Ian Rogers [Wed, 28 May 2014 19:51:24 +0000 (19:51 +0000)]
am 6d25996b: Merge "ART: Print and dump functionalities per pass"

* commit '6d25996baef5037d0aa8beb2f517755f2fb7b91f':
  ART: Print and dump functionalities per pass

10 years agoMerge "ART: Print and dump functionalities per pass"
Ian Rogers [Wed, 28 May 2014 19:47:01 +0000 (19:47 +0000)]
Merge "ART: Print and dump functionalities per pass"

10 years agoam 11138c73: Merge "Don\'t create bump pointer spaces unless necessary."
Mathieu Chartier [Wed, 28 May 2014 19:41:16 +0000 (19:41 +0000)]
am 11138c73: Merge "Don\'t create bump pointer spaces unless necessary."

* commit '11138c73e0c5f8a90d1eeed3c48a2b63b310671c':
  Don't create bump pointer spaces unless necessary.

10 years agoMerge "Don't create bump pointer spaces unless necessary."
Mathieu Chartier [Wed, 28 May 2014 19:38:53 +0000 (19:38 +0000)]
Merge "Don't create bump pointer spaces unless necessary."

10 years agoam 32f38c07: Merge "x86_64: Support r8-r15, xmm8-xmm15 in assembler"
Bill Buzbee [Wed, 28 May 2014 19:36:34 +0000 (19:36 +0000)]
am 32f38c07: Merge "x86_64: Support r8-r15, xmm8-xmm15 in assembler"

* commit '32f38c0775aba280fe02e8fafe0d35a5debc4eac':
  x86_64: Support r8-r15, xmm8-xmm15 in assembler

10 years agoMerge "x86_64: Support r8-r15, xmm8-xmm15 in assembler"
Bill Buzbee [Wed, 28 May 2014 19:32:41 +0000 (19:32 +0000)]
Merge "x86_64: Support r8-r15, xmm8-xmm15 in assembler"

10 years agoam 6fecd0e0: Merge "Add read barriers to the weak roots in the intern table."
Hiroshi Yamauchi [Wed, 28 May 2014 19:23:32 +0000 (19:23 +0000)]
am 6fecd0e0: Merge "Add read barriers to the weak roots in the intern table."

* commit '6fecd0e0d17273e70258aaa00c55e70e18ce887f':
  Add read barriers to the weak roots in the intern table.

10 years agoDon't create bump pointer spaces unless necessary.
Mathieu Chartier [Tue, 27 May 2014 17:10:11 +0000 (10:10 -0700)]
Don't create bump pointer spaces unless necessary.

We now only create these spaces if the foreground or background
collector is a moving collector.

Bug: 13564922
Bug: 14059466
Change-Id: I9f83c7881bc28423b78d5249c8e8854add91b60c

10 years agoMerge "Add read barriers to the weak roots in the intern table."
Hiroshi Yamauchi [Wed, 28 May 2014 19:20:28 +0000 (19:20 +0000)]
Merge "Add read barriers to the weak roots in the intern table."

10 years agoAdd read barriers to the weak roots in the intern table.
Hiroshi Yamauchi [Sat, 24 May 2014 02:58:15 +0000 (19:58 -0700)]
Add read barriers to the weak roots in the intern table.

Bug: 12687968
Change-Id: I424f1df76a7e3d7154fb9f3c951c973d19bd640f

10 years agoam 0130ba04: Merge "Allocate large enough space bitmaps for malloc spaces."
Hiroshi Yamauchi [Wed, 28 May 2014 18:09:27 +0000 (18:09 +0000)]
am 0130ba04: Merge "Allocate large enough space bitmaps for malloc spaces."

* commit '0130ba045e1397594f2c6a0dd48730349fe3cbed':
  Allocate large enough space bitmaps for malloc spaces.

10 years agoMerge "Allocate large enough space bitmaps for malloc spaces."
Hiroshi Yamauchi [Wed, 28 May 2014 18:04:31 +0000 (18:04 +0000)]
Merge "Allocate large enough space bitmaps for malloc spaces."

10 years agoam c5f94db4: Merge "Add option to specify compiler executable."
Brian Carlstrom [Wed, 28 May 2014 17:38:23 +0000 (17:38 +0000)]
am c5f94db4: Merge "Add option to specify compiler executable."

* commit 'c5f94db4fc4841364bef5727a790b16cd14e241d':
  Add option to specify compiler executable.

10 years agoam 32c02c15: Merge "x86_64: Add 64-bit version of instructions in asm"
Bill Buzbee [Wed, 28 May 2014 17:38:22 +0000 (17:38 +0000)]
am 32c02c15: Merge "x86_64: Add 64-bit version of instructions in asm"

* commit '32c02c15b879174bb8ae13b964ba1f49eb5c6e70':
  x86_64: Add 64-bit version of instructions in asm

10 years agoMerge "Add option to specify compiler executable."
Brian Carlstrom [Wed, 28 May 2014 17:34:38 +0000 (17:34 +0000)]
Merge "Add option to specify compiler executable."

10 years agoMerge "x86_64: Add 64-bit version of instructions in asm"
Bill Buzbee [Wed, 28 May 2014 17:33:50 +0000 (17:33 +0000)]
Merge "x86_64: Add 64-bit version of instructions in asm"

10 years agox86_64: Support r8-r15, xmm8-xmm15 in assembler
Dmitry Petrochenko [Wed, 30 Apr 2014 06:40:19 +0000 (13:40 +0700)]
x86_64: Support r8-r15, xmm8-xmm15 in assembler

Added REX support. The TARGET_REX_SUPPORT should be used during build.

Change-Id: I82b457ff5085c8192ad873923bd939fbb91022ce
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
10 years agoam 0354e68a: Merge "Fix method tracing\'s handling of shadow frames on startup."
Jeff Hao [Wed, 28 May 2014 15:44:45 +0000 (15:44 +0000)]
am 0354e68a: Merge "Fix method tracing\'s handling of shadow frames on startup."

* commit '0354e68a9b5214af0a633e05c48566ebaf5b6833':
  Fix method tracing's handling of shadow frames on startup.

10 years agoMerge "Fix method tracing's handling of shadow frames on startup."
Jeff Hao [Wed, 28 May 2014 15:42:18 +0000 (15:42 +0000)]
Merge "Fix method tracing's handling of shadow frames on startup."

10 years agoAdd option to specify compiler executable.
Tsu Chiang Chuang [Thu, 22 May 2014 17:22:25 +0000 (10:22 -0700)]
Add option to specify compiler executable.

Change-Id: I973da5e74be5a62461caacbc708288fb95e1b99b

10 years agoFix method tracing's handling of shadow frames on startup.
Jeff Hao [Wed, 28 May 2014 01:25:47 +0000 (18:25 -0700)]
Fix method tracing's handling of shadow frames on startup.

Bug: 15142926
Change-Id: I7d7896ec3f62f46a43578f536292db6e219d83f0

10 years agoam 9bec5443: Merge "Fix the problem of not shutting down the profiler in ART properly"
Ian Rogers [Tue, 27 May 2014 23:04:08 +0000 (23:04 +0000)]
am 9bec5443: Merge "Fix the problem of not shutting down the profiler in ART properly"

* commit '9bec54430e8609765740fdc51d24ed3f3c907919':
  Fix the problem of not shutting down the profiler in ART properly

10 years agoMerge "Fix the problem of not shutting down the profiler in ART properly"
Ian Rogers [Tue, 27 May 2014 23:00:36 +0000 (23:00 +0000)]
Merge "Fix the problem of not shutting down the profiler in ART properly"

10 years agoam 33a60e47: Merge "Set the type of a RegStorage correctly"
Bill Buzbee [Tue, 27 May 2014 21:53:39 +0000 (21:53 +0000)]
am 33a60e47: Merge "Set the type of a RegStorage correctly"

* commit '33a60e47278d09acfa44d92ad85b1902b57a6b5b':
  Set the type of a RegStorage correctly

10 years agoam 2b9301bf: Merge "ART: Fix sharpening across dex files"
Andreas Gampe [Tue, 27 May 2014 21:50:06 +0000 (21:50 +0000)]
am 2b9301bf: Merge "ART: Fix sharpening across dex files"

* commit '2b9301bf26c9c2629cc595cdb1433dea77b00a94':
  ART: Fix sharpening across dex files

10 years agoMerge "Set the type of a RegStorage correctly"
Bill Buzbee [Tue, 27 May 2014 21:49:36 +0000 (21:49 +0000)]
Merge "Set the type of a RegStorage correctly"

10 years agoMerge "ART: Fix sharpening across dex files"
Andreas Gampe [Tue, 27 May 2014 21:47:10 +0000 (21:47 +0000)]
Merge "ART: Fix sharpening across dex files"

10 years agoam 67c482f6: Merge "Art compiler: remove unnecessary sqrt call"
buzbee [Tue, 27 May 2014 21:46:40 +0000 (21:46 +0000)]
am 67c482f6: Merge "Art compiler: remove unnecessary sqrt call"

* commit '67c482f6737343f3afbf214995d67d98b0b36c91':
  Art compiler: remove unnecessary sqrt call

10 years agoMerge "Art compiler: remove unnecessary sqrt call"
buzbee [Tue, 27 May 2014 21:43:47 +0000 (21:43 +0000)]
Merge "Art compiler: remove unnecessary sqrt call"

10 years agoART: Fix sharpening across dex files
Andreas Gampe [Tue, 27 May 2014 21:43:03 +0000 (14:43 -0700)]
ART: Fix sharpening across dex files

Bug: 15196336
Change-Id: If4301bcddce0ddbc60bb33403e4a76eed35bcb2f

10 years agoArt compiler: remove unnecessary sqrt call
buzbee [Tue, 27 May 2014 20:59:04 +0000 (13:59 -0700)]
Art compiler: remove unnecessary sqrt call

For reasons lost in the mists of time, the Dalvik JIT tested
the results of an inlined sqrt for NaN on Arm targets, and then
called an out-of-line routine to recompute if true.  The Quick
compiler inherited this behavior.  It is not necessary, and the CL
purges it (along with the out-of-line sqrt entrypoint).

Change-Id: I8c8fa6feacf9b7c3b9e190dfc6f728932fd948c6

10 years agoam 6c35a6ba: Merge "Quick compiler: generalize NarrowRegLoc()"
buzbee [Tue, 27 May 2014 20:20:20 +0000 (20:20 +0000)]
am 6c35a6ba: Merge "Quick compiler: generalize NarrowRegLoc()"

* commit '6c35a6ba61a190cfd3698bba0aa14038a0867cfe':
  Quick compiler: generalize NarrowRegLoc()

10 years agoMerge "Quick compiler: generalize NarrowRegLoc()"
buzbee [Tue, 27 May 2014 20:18:06 +0000 (20:18 +0000)]
Merge "Quick compiler: generalize NarrowRegLoc()"

10 years agoSet the type of a RegStorage correctly
Mark Mendell [Tue, 27 May 2014 19:52:21 +0000 (15:52 -0400)]
Set the type of a RegStorage correctly

This will be used as a FP value, so call the right function to create
the RegStorage.

Change-Id: I2bd832746afac509d20f195a7770f2fbd215cbd7
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
10 years agox86_64: Add 64-bit version of instructions in asm
Dmitry Petrochenko [Mon, 19 May 2014 21:03:46 +0000 (04:03 +0700)]
x86_64: Add 64-bit version of instructions in asm

Add missed 64-bit versions of instructions.

Change-Id: I8151484d909dff487cb7e521494a0be249a42214
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
10 years agoam e3b5cb50: Merge "Workaround apparent clang compilation issue"
Brian Carlstrom [Tue, 27 May 2014 18:41:53 +0000 (18:41 +0000)]
am e3b5cb50: Merge "Workaround apparent clang compilation issue"

* commit 'e3b5cb502371aff7e7b7291facfc27b092e7803e':
  Workaround apparent clang compilation issue

10 years agoART: Print and dump functionalities per pass
Jean Christophe Beyler [Tue, 29 Apr 2014 20:42:08 +0000 (13:42 -0700)]
ART: Print and dump functionalities per pass

LOG is a great logging tool but sometimes a pass has some debugging text it
 want to be able to turn on/off easily.

By going via a print_pass flag, we can actually turn it on/off easily per pass
 when debugging/instrumenting.

- Added a pass printer to help debug messages for future passes.
- Added a print_pass flag in CompilationUnit to filter out messages.

At the same time, did a similar system for dumping the CFG.

- Also moved some API into public from protected.

Change-Id: Ie0e89a8fc773e8583f3e4ffd6e4bd2eebdbb2bf4
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Yixin Shou <yixin.shou@intel.com>
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
Signed-off-by: Udayan Banerji <udayan.banerji@intel.com>
10 years agoMerge "Workaround apparent clang compilation issue"
Brian Carlstrom [Tue, 27 May 2014 18:39:03 +0000 (18:39 +0000)]
Merge "Workaround apparent clang compilation issue"

10 years agoWorkaround apparent clang compilation issue
Brian Carlstrom [Tue, 27 May 2014 18:14:12 +0000 (11:14 -0700)]
Workaround apparent clang compilation issue

Bug: 15014252

(cherry picked from commit ec80e7e1506e7099210399626b46cb8183534e70)

Change-Id: I159d66764749e41d2a97e0912f796085b4fdb6e1

10 years agoam ab5b370e: Merge "AArch64: Add suspend check in managed code."
Bill Buzbee [Tue, 27 May 2014 18:10:43 +0000 (18:10 +0000)]
am ab5b370e: Merge "AArch64: Add suspend check in managed code."

* commit 'ab5b370e44629332e73ffd66bfe8b8a924236c5c':
  AArch64: Add suspend check in managed code.

10 years agoam bbc66c58: Merge "ART: Better SSA Allocation when recreating SSA"
Bill Buzbee [Tue, 27 May 2014 18:10:42 +0000 (18:10 +0000)]
am bbc66c58: Merge "ART: Better SSA Allocation when recreating SSA"

* commit 'bbc66c5855fa4f36b6f94311607f0119a93d809a':
  ART: Better SSA Allocation when recreating SSA

10 years agoam 960a4bcd: Merge "AArch64: Enable FLOAT and DOUBLE opcodes"
Bill Buzbee [Tue, 27 May 2014 18:10:42 +0000 (18:10 +0000)]
am 960a4bcd: Merge "AArch64: Enable FLOAT and DOUBLE opcodes"

* commit '960a4bcd102cc97b944fb7b02c5bae7d66ef8b8d':
  AArch64: Enable FLOAT and DOUBLE opcodes

10 years agoMerge "AArch64: Add suspend check in managed code."
Bill Buzbee [Tue, 27 May 2014 18:08:40 +0000 (18:08 +0000)]
Merge "AArch64: Add suspend check in managed code."

10 years agoMerge "ART: Better SSA Allocation when recreating SSA"
Bill Buzbee [Tue, 27 May 2014 18:08:25 +0000 (18:08 +0000)]
Merge "ART: Better SSA Allocation when recreating SSA"

10 years agoMerge "AArch64: Enable FLOAT and DOUBLE opcodes"
Bill Buzbee [Tue, 27 May 2014 18:08:11 +0000 (18:08 +0000)]
Merge "AArch64: Enable FLOAT and DOUBLE opcodes"

10 years agoFix the problem of not shutting down the profiler in ART properly
Wei Jin [Wed, 21 May 2014 23:07:40 +0000 (16:07 -0700)]
Fix the problem of not shutting down the profiler in ART properly

This CL fixes the problem of not saving the last batch of profile data to the
external file when the runtime exits before the end of the current iteration of
profile sampling. This problem was fixed by shutting down the ART profiler
when the runtime exits and allowing the profiler to write the last batch of
data even it was signaled to shut down. This CL increases the precision of
profile data and fixes the bug that no data is saved if the duration of profile
sampling specified by VM arguments (by default 20 seconds) is longer than the
length of a single execution because the profiler was never signaled when the
runtime exits.

Change-Id: I7cc4805b7e2a22a990d04a5b9724ad1d931d7152
Signed-off-by: Wei Jin <wejin@google.com>
10 years agoART: Better SSA Allocation when recreating SSA
Jean Christophe Beyler [Thu, 1 May 2014 22:36:22 +0000 (15:36 -0700)]
ART: Better SSA Allocation when recreating SSA

The SSA calculation is not allocation friendly. This makes the
SSARepresentation remember how much is allocated and not reallocate
if SSA should be recalculated.

Also added some allocation friendly code for the dominance code.

Change-Id: Icd5586b7e2fefae8e1535975ab400b1ca95b500f
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
10 years agoAArch64: Enable FLOAT and DOUBLE opcodes
Serban Constantinescu [Fri, 23 May 2014 16:38:18 +0000 (17:38 +0100)]
AArch64: Enable FLOAT and DOUBLE opcodes

This patch enables all the DOUBLE and FLOAT opcodes except for REM ones.
It has been tested and passes all Dalvik tests except for:

failed: 018-stack-overflow[pid=1076]
failed: 107-int-math2[pid=1593]

Change-Id: I581f219bde354e3402aa3ad6e24ef15566da5f78
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoam 1b1aea22: Merge "Fix x86_64 test failures."
Brian Carlstrom [Mon, 26 May 2014 17:00:22 +0000 (17:00 +0000)]
am 1b1aea22: Merge "Fix x86_64 test failures."

* commit '1b1aea22c0cc5567b5967590cb3f949cc45c3a9a':
  Fix x86_64 test failures.

10 years agoMerge "Fix x86_64 test failures."
Brian Carlstrom [Mon, 26 May 2014 16:57:58 +0000 (16:57 +0000)]
Merge "Fix x86_64 test failures."

10 years agoFix x86_64 test failures.
Nicolas Geoffray [Mon, 26 May 2014 13:01:46 +0000 (14:01 +0100)]
Fix x86_64 test failures.

Change-Id: I97b3d1755d2e205ca7423248a2af37f1875d5116

10 years agoam ddb1a160: Merge "Add a linear scan register allocator to the optimizing compiler."
Nicolas Geoffray [Mon, 26 May 2014 10:55:50 +0000 (10:55 +0000)]
am ddb1a160: Merge "Add a linear scan register allocator to the optimizing compiler."

* commit 'ddb1a1604d5070828e857902c8596de27e2fe5f5':
  Add a linear scan register allocator to the optimizing compiler.

10 years agoMerge "Add a linear scan register allocator to the optimizing compiler."
Nicolas Geoffray [Mon, 26 May 2014 10:53:44 +0000 (10:53 +0000)]
Merge "Add a linear scan register allocator to the optimizing compiler."

10 years agoAdd a linear scan register allocator to the optimizing compiler.
Nicolas Geoffray [Thu, 22 May 2014 11:50:17 +0000 (12:50 +0100)]
Add a linear scan register allocator to the optimizing compiler.

This is a "by-the-book" implementation. It currently only deals
with allocating registers, with no hint optimizations.

The changes remaining to make it functional are:
- Allocate spill slots.
- Resolution and placements of Move instructions.
- Connect it to the code generator.

Change-Id: Ie0b2f6ba1b98da85425be721ce4afecd6b4012a4

10 years agoam 8b5b1e55: Merge "Make DexFile content read only before running DexFileVerifier"
Brian Carlstrom [Mon, 26 May 2014 06:35:47 +0000 (06:35 +0000)]
am 8b5b1e55: Merge "Make DexFile content read only before running DexFileVerifier"

* commit '8b5b1e5593ffa77c393e4172b71a3d5a821d2ed8':
  Make DexFile content read only before running DexFileVerifier

10 years agoMerge "Make DexFile content read only before running DexFileVerifier"
Brian Carlstrom [Mon, 26 May 2014 05:44:55 +0000 (05:44 +0000)]
Merge "Make DexFile content read only before running DexFileVerifier"

10 years agoMake DexFile content read only before running DexFileVerifier
Brian Carlstrom [Sun, 25 May 2014 23:08:51 +0000 (16:08 -0700)]
Make DexFile content read only before running DexFileVerifier

(cherry picked from commit 98725444129efe2b1b51c87740860caadaef2bf7)

Change-Id: I18a932b2f19d44b820232f4d4e9c358df20ab364

10 years agoAArch64: Add suspend check in managed code.
Zheng Xu [Fri, 23 May 2014 03:52:42 +0000 (11:52 +0800)]
AArch64: Add suspend check in managed code.

TODO: Remove x19 in the frame in runtime, generic jni, compiled jni.

Change-Id: Ibdc292c9e7adb3a5d3eff353c22f60ffc101f549

10 years agoam 30395fc8: Merge "Add TARGET_2ND_ARCH support for dump-oat-boot"
Brian Carlstrom [Sun, 25 May 2014 23:33:36 +0000 (23:33 +0000)]
am 30395fc8: Merge "Add TARGET_2ND_ARCH support for dump-oat-boot"

* commit '30395fc865599619f22df7c99d7553b18304622c':
  Add TARGET_2ND_ARCH support for dump-oat-boot

10 years agoMerge "Add TARGET_2ND_ARCH support for dump-oat-boot"
Brian Carlstrom [Sun, 25 May 2014 23:30:49 +0000 (23:30 +0000)]
Merge "Add TARGET_2ND_ARCH support for dump-oat-boot"

10 years agoQuick compiler: generalize NarrowRegLoc()
buzbee [Sun, 25 May 2014 22:10:52 +0000 (15:10 -0700)]
Quick compiler: generalize NarrowRegLoc()

Some of the RegStorage utilites (DoubleToLowSingle(),
DoubleToHighSingle(), etc.) worked only for targets which
which treat double precision registers as a pair of aliased
single precision registers.

This CL elminates those utilities, and replaces them with
a new RegisterInfo utility that will search an aliased register
set and return the member matching the required storage
configuration (if it exists).

Change-Id: Iff5de10f467d20a56e1a89df9fbf30d1cf63c240

10 years agoAdd TARGET_2ND_ARCH support for dump-oat-boot
Brian Carlstrom [Sun, 25 May 2014 21:38:17 +0000 (14:38 -0700)]
Add TARGET_2ND_ARCH support for dump-oat-boot

Change-Id: I87f1742f401af37893d336074c53dee92993b769

10 years agoam a79febb8: Merge "Fix ExtractToMemMap to show original zip file name in ashmem"
Brian Carlstrom [Sun, 25 May 2014 21:18:08 +0000 (21:18 +0000)]
am a79febb8: Merge "Fix ExtractToMemMap to show original zip file name in ashmem"

* commit 'a79febb863a936810445df45e3e51d0eff4e39f8':
  Fix ExtractToMemMap to show original zip file name in ashmem

10 years agoMerge "Fix ExtractToMemMap to show original zip file name in ashmem"
Brian Carlstrom [Sun, 25 May 2014 21:14:29 +0000 (21:14 +0000)]
Merge "Fix ExtractToMemMap to show original zip file name in ashmem"

10 years agoam cd9b4e28: Merge "x86_64: Rebase on top of "64-bit temp register support""
Bill Buzbee [Sat, 24 May 2014 16:03:48 +0000 (16:03 +0000)]
am cd9b4e28: Merge "x86_64: Rebase on top of "64-bit temp register support""

* commit 'cd9b4e287c20b14655d21e3f349733e80a5aaf23':
  x86_64: Rebase on top of "64-bit temp register support"

10 years agoMerge "x86_64: Rebase on top of "64-bit temp register support""
Bill Buzbee [Sat, 24 May 2014 16:01:22 +0000 (16:01 +0000)]
Merge "x86_64: Rebase on top of "64-bit temp register support""

10 years agoam 9fd03459: Merge "Implement all vector instructions for X86"
Bill Buzbee [Sat, 24 May 2014 15:37:50 +0000 (15:37 +0000)]
am 9fd03459: Merge "Implement all vector instructions for X86"

* commit '9fd034597b03f889c1b5ed29c8943e8ab67fe7f6':
  Implement all vector instructions for X86

10 years agoMerge "Implement all vector instructions for X86"
Bill Buzbee [Sat, 24 May 2014 15:35:09 +0000 (15:35 +0000)]
Merge "Implement all vector instructions for X86"

10 years agoImplement all vector instructions for X86
Mark Mendell [Thu, 22 May 2014 13:52:36 +0000 (09:52 -0400)]
Implement all vector instructions for X86

Add X86 code generation for the vector operations.  Added support for
X86 disassembler for the new instructions.

Change-Id: I72b48f5efa3a516a16bb1dd4bdb5c9270a8db53a
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
10 years agoam 8c895b33: Merge "Quick compiler: fix register clobbering."
buzbee [Sat, 24 May 2014 13:18:36 +0000 (13:18 +0000)]
am 8c895b33: Merge "Quick compiler: fix register clobbering."

* commit '8c895b3385ed96a0b040c35222c0338058895d49':
  Quick compiler: fix register clobbering.

10 years agoMerge "Quick compiler: fix register clobbering."
buzbee [Sat, 24 May 2014 13:15:42 +0000 (13:15 +0000)]
Merge "Quick compiler: fix register clobbering."

10 years agoQuick compiler: fix register clobbering.
buzbee [Fri, 23 May 2014 23:04:08 +0000 (16:04 -0700)]
Quick compiler: fix register clobbering.

Ensure all aliased children of a register set are clobbered
when any member is clobbered.  Additionally, use a clobbering
mask to avoid clobbering non-overlapping siblings.

Change-Id: Ic0d88a30f3e5b7a359396f6541d602739fa3124a

10 years agoAllocate large enough space bitmaps for malloc spaces.
Hiroshi Yamauchi [Sat, 24 May 2014 04:27:30 +0000 (21:27 -0700)]
Allocate large enough space bitmaps for malloc spaces.

Fix a bug that we don't allocate space bitmaps for a malloc space that
are large enough to cover the non-growth-limited capacity.

Change-Id: I2e99a70eb8cddc284dffafa2d2afcc2f0c9074c7

10 years agox86_64: Rebase on top of "64-bit temp register support"
Dmitry Petrochenko [Thu, 22 May 2014 05:26:50 +0000 (12:26 +0700)]
x86_64: Rebase on top of "64-bit temp register support"

Added the 64-bit core/temp register definition, fixed RegisterPool
creation for x86_64 so that 64-bit core/temps are NOT used for now.
The long arithmetic still operates with register pair on x86_64 and
it is a subject for change in a separate patch.

Change-Id: I2be06d5aefaf80141983bc9d8ed8a2ee24c2b21b
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
10 years agoam 132236a8: Merge "Improve invalid large object free dumping."
Mathieu Chartier [Sat, 24 May 2014 00:10:11 +0000 (00:10 +0000)]
am 132236a8: Merge "Improve invalid large object free dumping."

* commit '132236a802a82cc7d27f82e34e40082ef5c17375':
  Improve invalid large object free dumping.

10 years agoMerge "Improve invalid large object free dumping."
Mathieu Chartier [Sat, 24 May 2014 00:07:47 +0000 (00:07 +0000)]
Merge "Improve invalid large object free dumping."

10 years agoImprove invalid large object free dumping.
Mathieu Chartier [Fri, 23 May 2014 23:42:20 +0000 (16:42 -0700)]
Improve invalid large object free dumping.

Bug: 14974497
Change-Id: I30f99d693151ee5ae1f7b3d420519a0b1b21b2f4

10 years agoam a911a4d2: Merge "Add reserve area to allocation stacks."
Mathieu Chartier [Fri, 23 May 2014 23:33:16 +0000 (23:33 +0000)]
am a911a4d2: Merge "Add reserve area to allocation stacks."

* commit 'a911a4d2cac3e885298ac38f8ae6a85c9e9bc9b5':
  Add reserve area to allocation stacks.

10 years agoMerge "Add reserve area to allocation stacks."
Mathieu Chartier [Fri, 23 May 2014 23:30:35 +0000 (23:30 +0000)]
Merge "Add reserve area to allocation stacks."

10 years agoam 919ed6b2: Merge "Revert "ART: Better SSA Allocation when recreating SSA""
Bill Buzbee [Fri, 23 May 2014 23:05:29 +0000 (23:05 +0000)]
am 919ed6b2: Merge "Revert "ART: Better SSA Allocation when recreating SSA""

* commit '919ed6b2e2aa58a6153eb1d74edc29edc50d514a':
  Revert "ART: Better SSA Allocation when recreating SSA"

10 years agoMerge "Revert "ART: Better SSA Allocation when recreating SSA""
Bill Buzbee [Fri, 23 May 2014 23:02:20 +0000 (23:02 +0000)]
Merge "Revert "ART: Better SSA Allocation when recreating SSA""

10 years agoRevert "ART: Better SSA Allocation when recreating SSA"
Bill Buzbee [Fri, 23 May 2014 23:00:22 +0000 (23:00 +0000)]
Revert "ART: Better SSA Allocation when recreating SSA"

Temporarily reverting until memory footprint cost of adding a vreg to ssa entrance map on every applicable MIR node can be assessed..

This reverts commit cb73fb35e5f7c575ed491c0c8e2d2b1a0a22ea2e.

Change-Id: Ia9c03bfc5d365ad8d8b949e870f1e3bcda7f9a54