- 11 Aug, 2015 3 commits
-
-
Goran Jakovljevic authored
Don't use odd numbered fp registers for single precision data on MIPS32r6 (64-bit FPU). Bug: 23050326 Change-Id: I35cc19df091149773411e2336b01c170929376bc (cherry picked from commit fc8156a3)
-
Serguei Katkov authored
DCE_GVN does not take into account the following case: mov a, b ... mov c, b when optimization tries to replace a with c it must ensure that for all uses of a there is no new definition of c before use. Otherwise that use will incorrectly substituted with new c instead of original b. Bug: 23102860 Signed-off-by:
Serguei Katkov <serguei.i.katkov@intel.com> (cherry picked from commit 2f2f1739) Change-Id: I1f08c99cedbe4fd1b96cad11f17d60ab551c7cf7
-
Andreas Gampe authored
Change to use IsUnresolvedTypes. Bug: 22881413 Change-Id: Ic27b97b475b28a5bdf994ea5178767e0efb0e752
-
- 10 Aug, 2015 1 commit
-
-
Andreas Gampe authored
Squashed cherry-picks: * 067f1ed7 * 750f7c28 * 2f90b341 * 2ea7b70b Bug: 22881413
-
- 08 Aug, 2015 1 commit
-
-
Nicolas Geoffray authored
We may get hints that do not work with the current implementation of register pairs, which forces the allocation of (low + 1) for the high register. For example, if the hint is EBX, we will allocate ESP for the high register. bug:23043730 (cherry picked from commit f2975811) Change-Id: Ib395e36616017a87d3055218d72417f4e9ff6501
-
- 07 Aug, 2015 1 commit
-
-
Roland Levillain authored
(cherry picked from commit a215b95d and amended) Bug: 21868508 Change-Id: Ic83813a966cef18e59447083926bf033aa587154
-
- 06 Aug, 2015 2 commits
-
-
Serguei Katkov authored
Instruction simplifier for add/sub should not proceed with floats because that might cause the incorrect behavior with signed zero. Bug: 23001681 Signed-off-by:
Serguei Katkov <serguei.i.katkov@intel.com> (cherry picked from commit 115b53f6) Change-Id: I9928724c4158b3961e32e376b9203fe01ba2e442
-
Pavel Vyssotski authored
x86_64 RoundDouble intrinsic should initialize output register for the case of "inPlusPointFive >= maxLong" as expected. The same for the RoundFloat intrinsic. Fixed also the out register type in CreateSSE41FPToIntLocations provoking a DCHECK failure. Signed-off-by:
Pavel Vyssotski <pavel.n.vyssotski@intel.com> (cherry picked from commit 9ca25719) Bug: 22973442 Change-Id: If974e79d33311587d0b541a01ca8a4c9c11b9468
-
- 30 Jul, 2015 2 commits
-
-
Mathieu Chartier authored
Bug: 21724724 Change-Id: Ifa99df9ee9f3265038a0c0f7944e834e42c498d4
-
Calin Juravle authored
Bug: 21868508 (cherry picked and squashed from commits ec74835a and 0941b9d4) Change-Id: I1750e6bea20321d04680132281a6c2924531c5ae
-
- 28 Jul, 2015 1 commit
-
-
Mingyao Yang authored
Values that are not live in compiled code anymore may still be needed in interpreter, due to code motion, etc. (cherry-picked from commit 718493c6) Bug: 22665511 Change-Id: I8b85833c5c462f8fe36f86d6026a51b07563995a
-
- 27 Jul, 2015 1 commit
-
-
Fredrik Roubert authored
Using SetFieldBooleanVolatile() and SetFieldBoolean() happens to work for char values that only use the lower 8 bits, but is a mistake that was introduced by the "Add AccessibleObject and Field to mirror" commit: https://android.googlesource.com/platform/art/+/daaf326 (cherry picked from commit 3152c82b) Bug:22772717 Change-Id: Iec02ba3084c992ea239ecef688d7d29c7e21ae16
-
- 24 Jul, 2015 1 commit
-
-
Andreas Gampe authored
-
- 23 Jul, 2015 2 commits
-
-
Andreas Gampe authored
Make offsets 16 digits on 64-bit platforms. Add the ability to provide the build fingerprint, and print it in the traces output. Bug: 22693991 Change-Id: Ibd3d3b3bd65dce84acfb97a487807d6f280a9508
-
Vladimir Marko authored
Quick's SuspendCheckElimination (SCE) expects that every method contains a suspend check and it eliminates suspend checks in loops containing an invoke. Optimizing eliminates the suspend check from leaf methods, so the combination of a Quick-compiled loop calling an Optimizing-compiled leaf method can lead to missing suspend checks and potentially leading to ANRs. Enable Quick's kLeafOptimization flag to remove suspend checks from leaf methods and disable Quick's SCE. This aligns the suspend check placement for the two backends and avoids the broken combination. Currently, all methods containing a try-catch are compiled with Quick, so it's relatively easy to create a regression test. However, this test will not be valid when Optimizing starts supporting try-catch. Bug: 22657404 (cherry picked from commit d29e8487) Change-Id: I733c38bf68bfc2c618f2f2e6b59f8b0e015d7be1
-
- 21 Jul, 2015 3 commits
-
-
Mathieu Chartier authored
-
Mathieu Chartier authored
(cherry picked from commit 7c0fe5e9) Bug: 22541058 Change-Id: Id084a69ccd9835147ec71df6bb759e0f1b5e6fbf
-
Mathieu Chartier authored
Fixes failing DCHECK. (cherry picked from commit ef76c3fa) Bug: 22553459 Change-Id: I6fe1012f9a5f8d29cb98bf25e3a279da51c5e1c0
-
- 17 Jul, 2015 2 commits
-
-
Nicolas Geoffray authored
In order to get closer to our code increase limit. Bug:21868508 (cherry picked from commit 432bf3d5) Change-Id: Iab19fe99a8a869b0fb841bac317016e4a3dc00e2
-
Nicolas Geoffray authored
-
- 16 Jul, 2015 2 commits
-
-
Serguei Katkov authored
Boolean simplifier should not remove condition instruction if it has side effects. (cherry picked from commit 108ceb48) Change-Id: I00dd595da1bba0f027f5c8647035e9fd8ba62ee1
-
Serguei Katkov authored
array-length can throw NPE so it should be taking into account. Bug: 22521944 Signed-off-by:
Serguei Katkov <serguei.i.katkov@intel.com> (cherry picked from commit b016c6dd) Change-Id: I6232430a02f9e6d156ad2aae0eb5a630118c0e79
-
- 13 Jul, 2015 7 commits
-
-
Christopher Ferris authored
-
Christopher Ferris authored
With this change, I can now enable debug malloc fully. Bug: 19071092 Change-Id: Iabfb18505feffb480504a8bbfbac60dd219ed48a
-
Roland Levillain authored
(cherry picked from commit c3f73f78) Bug: 21555893 Change-Id: I92e11637cc1f8f694e4d4138512cbcf47e22a249
-
Roland Levillain authored
-
Douglas Leung authored
This fixes art test 449-checker-bce. (cherry picked from commit 2e8bf554) Bug: 21555893 Change-Id: I9a87c430168ea35984289b0b4a417aa0c659b6d5
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
bug:22389275 Partial cherry-pick of: https://android-review.googlesource.com/#/c/151853 (commit e12997fb) Change-Id: Ia30b817be1b50d97243ba32967eeee359ed679c4
-
- 11 Jul, 2015 1 commit
-
-
Mathieu Chartier authored
Added missing GetInterfaceMethodIfProxy and test. Fixed formatting. Bug: 22411819 https://code.google.com/p/android-developer-preview/issues/detail?id=2635 (cherry picked from commit 72156e28) Change-Id: I3eece9c72091bb9d0262aacf0a75ec6908b5f4d2
-
- 09 Jul, 2015 6 commits
-
-
Andreas Gampe authored
The result of a merge with an Undefined type should be Undefined. Conflicts are allowed to be copied around, but Undefined registers should not be touched at all, except to be written into. Add a success test case (the register isn't used) and a fail test case (the register is tried to be copied). Bug: 22331663 Bug: 22371999 (cherry picked from commit 97a1ff35) Change-Id: I9697ce31c1d2ab5aee0433dcf1253bcca79c2983
-
Andreas Gampe authored
Fixes a breakage from 38536287. Ensure that v4 is not undefined when an exception may be thrown (at the new-instance). Bug: 22331663 Bug: 22371999 (cherry picked from commit 7135ff0f) Change-Id: Ice36ddda5ca92ea32fa88523dd616d4f2a61027e
-
Andreas Gampe authored
-
Andreas Gampe authored
Allow a list of files to pull. This improves turnaround time when tracking down perf hotspots. Bug: 21760614 Change-Id: I824e875053940d59eb00f9d796ef402632905c39
-
Sebastien Hertz authored
This CL adds support to compile run-test source files with jack. When a test needs to rely on class files, we use jill to convert them to a jack library. We need to pass the full classpath to jack containing at least core classes (like java.lang.Object). This means the Android tree must have been compiled with jack first so we find all the necessary classes.jack files. Some tests still rely on dex files generated with the old toolchain. We keep building them this way for the moment and will update them later, when they get ready for Jack. Also updates a few tests dealing with garbage collection to avoid a situation where a reference can be retained by a local DEX register. Bug: 19467889 (cherry picked from commit 19ac0276) Change-Id: Ia5a989b83430ffe8298a869a1da970b756721bb0
-
Andreas Gampe authored
As long as conflicts are not actively being used, it is OK to set them in a register line or copy them around. Bug: 22331663 (cherry picked from commit 38536287) Change-Id: I61999e2d9c92f9bdedcb0a5dea54df3c5bb130ca
-
- 08 Jul, 2015 3 commits
-
-
Andreas Gampe authored
Follow-up to 414000ec. Bug: 21886894 Bug: 22245124 (cherry picked from commit 890da29d) Change-Id: I3728187bd8526cdf84f95b123e6fad5d6c5a8b3c
-
Andreas Gampe authored
-
Andreas Gampe authored
In the worst case we are using two temps each for input and output. Then we do not have a temp left over for the swap operations. The input is dead, however, after the first swap. So try to release it (a no-op if it isn't actually a temp). Bug: 22324327 (cherry picked from commit 575422fa) Change-Id: I1fc50159afdad14160e34abeaf4670958171d6b2
-
- 07 Jul, 2015 1 commit
-
-
Andreas Gampe authored
If the destination register is a reference, use kReference for the op size. Bug: 22244733 (cherry picked from commit 185a5586) Change-Id: Idf52f2ee4c65b5dc41cb66257d95281dc6f32255
-