summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "[optimizing compiler] Add REM_FLOAT and REM_DOUBLE"Calin Juravle2014-12-0814-104/+364
|\
| * [optimizing compiler] Add REM_FLOAT and REM_DOUBLECalin Juravle2014-12-0814-104/+364
| | | | | | | | | | | | | | | | | | | | | | - for arm, x86, x86_64 backends - reinstated fmod quick entry points for x86. This is a partial revert of bd3682eada753de52975ae2b4a712bd87dc139a6 which added inline assembly for floting point rem on x86. Note that Quick still uses the inline version. - fix rem tests for longs Change-Id: I73be19a9f2f2bcf3f718d9ca636e67bdd72b5440
* | Merge "Test has been updated, does not fail anymore."Nicolas Geoffray2014-12-081-5/+0
|\ \
| * | Test has been updated, does not fail anymore.Nicolas Geoffray2014-12-081-5/+0
| | | | | | | | | | | | Change-Id: Ie0506d048eb9dd7f356ba29ce8b58f9bec336ea0
* | | Merge "ART: Clear use count for unused VRs."Vladimir Marko2014-12-081-0/+3
|\ \ \
| * | | ART: Clear use count for unused VRs.Zheng Xu2014-12-081-0/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | The use count of temp VR should be cleared when we replace "CMP_XXX vA, vB, vC" and "IF_XXX vA" with "kMirOpFusedCmpXXX vB, vC". Otherwise, the backend may allocate a physical register for the unused vA. Change-Id: I43ad37d0e7161ec3de154de8888caa94603f7715
* | | Merge "ART: Fix string data leak in image writer"Andreas Gampe2014-12-062-1/+25
|\ \ \
| * | | ART: Fix string data leak in image writerAndreas Gampe2014-12-052-1/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | The string intern data is a large object, so it will be recognized as leaking under valgrind. Bug: 18628623 Change-Id: I9090db119a50eebd806a82369bd46527c4e7dbf0
* | | Merge "Add pointer size logic to InitFromImageInterpretOnly"Mathieu Chartier2014-12-052-7/+12
|\ \ \
| * | | Add pointer size logic to InitFromImageInterpretOnlyMathieu Chartier2014-12-052-7/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we didn't have this logic which broke dex2oat if passed --runtime-option -Xint flag. Also we now no longer call InitFromImageInterpretOnlyCallback if we are the compiler. Bug: 18631640 Change-Id: Ie84fceeb85cabeeec7a5fedefd73dd919cca8e5e
* | | Merge "Fix arm unwind data for art code."Christopher Ferris2014-12-052-49/+17
|\ \ \
| * | | Fix arm unwind data for art code.Christopher Ferris2014-12-042-49/+17
| | | | | | | | | | | | | | | | | | | | Bug: 17392751 Change-Id: Ic85d4468b0f931aa9e38dee12d466a1e04ebf944
* | | | Merge "Make dex2oat 32bits when HOST_PREFER_32_BIT=true."Nicolas Geoffray2014-12-051-6/+14
|\ \ \ \
| * | | | Make dex2oat 32bits when HOST_PREFER_32_BIT=true.Nicolas Geoffray2014-12-051-6/+14
| | | | | | | | | | | | | | | | | | | | Change-Id: Id6465c697512f32402bdf71c75e52db47f1fb0a2
* | | | | Merge "ART: Fix typo"Andreas Gampe2014-12-052-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | ART: Fix typoAndreas Gampe2014-12-052-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie9a242240511adae9fcdbaae8d6b5be61fb5075b
* | | | | Merge "Revert "Re-enable one thread dumping the native stack of another.""Ian Rogers2014-12-051-0/+8
|\ \ \ \ \
| * | | | | Revert "Re-enable one thread dumping the native stack of another."Ian Rogers2014-12-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e652b62c581a3d68b1fc82e0b04e3a59dd633e52. Change-Id: Ida56d2c23849c1ede82a22100df402877256e270
* | | | | | Merge "Quick: Fix code layout pass; don't terminate too early."Vladimir Marko2014-12-051-4/+0
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Quick: Fix code layout pass; don't terminate too early.Vladimir Marko2014-12-051-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0c417fdc2ee8213672a7568fe228e5e2f1c1ab61
* | | | | | Merge "Revert "Revert "Rewrite ImageWriter's merging of String char[]s."""Vladimir Marko2014-12-051-76/+55
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Revert "Revert "Rewrite ImageWriter's merging of String char[]s.""Vladimir Marko2014-12-041-76/+55
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4c964de8832551b701ce7b3162bc51cc6b22fc8a. Change-Id: I940bdf48e2dbaef0f809beda32756507d18acb89
* | | | | Merge "Make script suitable for vogar use on device."Nicolas Geoffray2014-12-052-7/+33
|\ \ \ \ \
| * | | | | Make script suitable for vogar use on device.Nicolas Geoffray2014-12-052-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also update device expectations that need investigation. Change-Id: I86a613f3f62c2f999296f8b7505646a96ab4adf8
* | | | | | Merge "Add support for double-to-int & double-to-long in optimizing."Roland Levillain2014-12-057-44/+224
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Add support for double-to-int & double-to-long in optimizing.Roland Levillain2014-12-057-44/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support for the double-to-int and double-to-long Dex instructions in the optimizing compiler. - Add S1 to the list of ARM FPU parameter registers so that a double value can be passed as parameter during a call to the runtime through D0. - Have art::x86_64::X86_64Assembler::cvttsd2si work with 64-bit operands. - Generate x86, x86-64 and ARM (but not ARM64) code for double to int and double to long HTypeConversion nodes. - Add related tests to test/422-type-conversion. Change-Id: Ic93b9ec6630c26e940f7966a3346ad3fd5a2ab3a
* | | | | | Merge "Re-enable one thread dumping the native stack of another."Ian Rogers2014-12-051-8/+0
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Re-enable one thread dumping the native stack of another.Ian Rogers2014-12-041-8/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | Bug: 15446488 Change-Id: I49d4d283f7b7d04b9d8c940313d6c5107ba9f99d
* | | | | Merge "Tidy gAborting."Ian Rogers2014-12-0512-64/+52
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Tidy gAborting.Ian Rogers2014-12-0412-64/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce scope to Runtime::Abort and short-cut recursive case earlier. gAborting remains global to avoid two fatal errors in thread and the verifier. Change-Id: Ibc893f891ffee9a763c65cde9507d99083d47b3f
* | | | | Merge "ART: Fix linting errors"Andreas Gampe2014-12-053-11/+11
|\ \ \ \ \
| * | | | | ART: Fix linting errorsAndreas Gampe2014-12-043-11/+11
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Fix bounds_check_elimination linting errors. Change-Id: I040433ecbc84d740bff331c37df0bfcc64dc244e
* | | | | Merge "Bounds check elimination."Mingyao Yang2014-12-057-2/+1784
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Bounds check elimination.Mingyao Yang2014-12-037-2/+1784
| | |_|/ | |/| | | | | | | | | | Change-Id: Ia0d6a4226c1f9f1ff1dd35347a38db1dc4265319
* | | | Merge "X86_64 QBE: use RIP addressing"Ian Rogers2014-12-058-88/+175
|\ \ \ \
| * | | | X86_64 QBE: use RIP addressingMark Mendell2014-12-048-88/+175
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take advantage of RIP addressing in 64 bit mode to improve the code generation for accesses to the constant area as well as packed switches. Avoid computing the address of the start of the method, which is needed in 32 bit mode. To do this, we add a new 'pseudo-register' kRIPReg to minimize the changes needed to get the new addressing mode to be generated. Change-Id: Ia28c93f98b09939806d91ff0bd7392e58996d108 Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
* | | | Merge "ART: Add SparseSwitch support to the optimizing compiler"Andreas Gampe2014-12-042-52/+113
|\ \ \ \
| * | | | ART: Add SparseSwitch support to the optimizing compilerAndreas Gampe2014-12-042-52/+113
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add simple sparse-switch support through chained IFs. Refactor a bit to better reuse code between switch types. Now enables compiled versions of 015-switch and 095-switch-MAX_INT. Bug: 18410979 Change-Id: Ib617e4b877f0b7fbc3bb289800f612f013480713
* | | | Merge "ART: Wire up a valgrind-wrapped dex2oat run"Andreas Gampe2014-12-043-31/+75
|\ \ \ \
| * | | | ART: Wire up a valgrind-wrapped dex2oat runAndreas Gampe2014-12-033-31/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend build-art-executable to understand multilib=both, in which case a stem is necessary. Use name32 for the 32b version, and name for the 64b version (or only version). Create both 32b and 64b dex2oat on the host. Extend the core generation rules to allow a wrapper. Create rules to run with valgrind: valgrind-test-art-host-dex2oat. Currently this is not wired up to valgrind-test-art-host, as valgrind reports an error on exit. Note: this takes a long time, as by default the debug version of dex2oat is used. The author has seen runs of about 6 minutes. Bug: 18605772 Change-Id: I32c270d2cf8a104f154bdf91875670b03d3f5d3b
* | | | | Merge "Remove dex2oat watchdog warning"Brian Carlstrom2014-12-041-29/+10
|\ \ \ \ \
| * | | | | Remove dex2oat watchdog warningBrian Carlstrom2014-12-041-29/+10
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning output is breaking vm-tests on some devices. It does not seem to serve much of a purpose given that it does not go to logcat and long running compiles can be identified by the time summary printed at the end of dex2oat. (cherry picked from commit c1bfaa22570b4f771ae1cd832201b01ec84e32c1) Bug: 18609574 Change-Id: Iefc3c51be35ceaff0031522c4d6c2cdf5703dcb6
* | | | | Merge "Make Barrier robust against spurious wakeups"Hans Boehm2014-12-044-35/+54
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Make Barrier robust against spurious wakeupsHans Boehm2014-12-044-35/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Barrier implementation so that Wait cannot return prematurely due to a spurious condition variable wakeup or interrupted futex call. Document the resulting semantics of barrier.h, which are a bit surprising, but appear to be exactly what current clients need. Fix the test so that it actually passes with the fixed barrier.h, and no longer tests for properties that can't be correctly satisfied. Improve comment for InitTimeSpec, which we almost used. Bug:18509123 Change-Id: I0b25f33bcd22322ba04e3951cd484843788c2bf5
* | | | | Merge "Remove unused headers."Ian Rogers2014-12-0412-513/+6
|\ \ \ \ \
| * | | | | Remove unused headers.Ian Rogers2014-12-0312-513/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Push Closure into only use in thread_pool.h. Remove StringFile and NullFile that existed purely for a test. Change-Id: I329892d5e1f5f017caeb3d60600f803a74114fc1
* | | | | Merge "On arm64/optimizing, compile the boot image with interpreter."Nicolas Geoffray2014-12-041-3/+6
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | On arm64/optimizing, compile the boot image with interpreter.Nicolas Geoffray2014-12-041-3/+6
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Oterhwise the tests will fail because the backend is not fully implemented yet. Change-Id: I9dbd45279c7e515b52656825e1d4be92961b0da6
* | | | Merge "ART: Add PackedSwitch support to the optimizing compiler"Andreas Gampe2014-12-042-2/+149
|\ \ \ \
| * | | | ART: Add PackedSwitch support to the optimizing compilerAndreas Gampe2014-12-042-2/+149
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Add simple packed-switch support through chained IFs. Now enables compiled versions of 015-switch and 095-switch-MAX_INT. Change-Id: I17cc8d659d1dd2d64227851c23998c04367e8cf5