<feed xmlns='http://www.w3.org/2005/Atom'>
<title>art/compiler/utils, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/'/>
<entry>
<title>Remove unnecessary std::move from test_dex_file_builder</title>
<updated>2016-03-16T22:58:03+00:00</updated>
<author>
<name>Pirama Arumuga Nainar</name>
<email>pirama@google.com</email>
</author>
<published>2015-09-14T18:00:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=1e30dc0511c398b69cfee456881754054d515242'/>
<id>1e30dc0511c398b69cfee456881754054d515242</id>
<content type='text'>
This stops Clang from warning about -Wpessimizing-move.

Change-Id: Id40acf1c398c615faf6486ef700df6975a5f013f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This stops Clang from warning about -Wpessimizing-move.

Change-Id: Id40acf1c398c615faf6486ef700df6975a5f013f
</pre>
</div>
</content>
</entry>
<entry>
<title>art: Fix whitespace errors added by caf</title>
<updated>2015-11-09T00:19:59+00:00</updated>
<author>
<name>Christopher R. Palmer</name>
<email>crpalmer@gmail.com</email>
</author>
<published>2015-09-20T09:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=7890e2edd305ddacfe76b37337cdbe95bcd588f8'/>
<id>7890e2edd305ddacfe76b37337cdbe95bcd588f8</id>
<content type='text'>
All of these errors break compilation with GCC 4.9 and based on
a spot check appear to be all CAF introduced changes.  Fix these
to avoid future breakage.

Conflicts:
	compiler/dex/mir_graph.h
	compiler/dex/quick/arm/assemble_arm.cc
	compiler/dex/quick/arm/codegen_arm.h
	compiler/dex/quick/arm/target_arm.cc
	compiler/dex/quick/arm64/codegen_arm64.h
	compiler/dex/quick/arm64/target_arm64.cc
	compiler/dex/quick/mir_to_lir.h
	compiler/utils/growable_array.h

Changes:
	compiler/dex/mir_graph.h
	compiler/dex/mir_optimization.cc
	compiler/dex/quick/arm/codegen_arm.h
	compiler/dex/quick/arm/target_arm.cc
	compiler/dex/quick/mir_to_lir.h
	compiler/dex/quick/quick_compiler.cc
	compiler/driver/compiler_driver.cc
	compiler/optimizing/inliner.cc
	compiler/optimizing/nodes.cc
	compiler/optimizing/optimizing_compiler.cc

Change-Id: I3e23e1449eea0565fbe6f91251190b1e153f16cf
Signed-off-by: AdrianDC &lt;radian.dc@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All of these errors break compilation with GCC 4.9 and based on
a spot check appear to be all CAF introduced changes.  Fix these
to avoid future breakage.

Conflicts:
	compiler/dex/mir_graph.h
	compiler/dex/quick/arm/assemble_arm.cc
	compiler/dex/quick/arm/codegen_arm.h
	compiler/dex/quick/arm/target_arm.cc
	compiler/dex/quick/arm64/codegen_arm64.h
	compiler/dex/quick/arm64/target_arm64.cc
	compiler/dex/quick/mir_to_lir.h
	compiler/utils/growable_array.h

Changes:
	compiler/dex/mir_graph.h
	compiler/dex/mir_optimization.cc
	compiler/dex/quick/arm/codegen_arm.h
	compiler/dex/quick/arm/target_arm.cc
	compiler/dex/quick/mir_to_lir.h
	compiler/dex/quick/quick_compiler.cc
	compiler/driver/compiler_driver.cc
	compiler/optimizing/inliner.cc
	compiler/optimizing/nodes.cc
	compiler/optimizing/optimizing_compiler.cc

Change-Id: I3e23e1449eea0565fbe6f91251190b1e153f16cf
Signed-off-by: AdrianDC &lt;radian.dc@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ART: extension</title>
<updated>2015-10-06T09:20:36+00:00</updated>
<author>
<name>Wei Wang</name>
<email>wangw@codeaurora.org</email>
</author>
<published>2015-07-21T19:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=048801b194a1664f1fc1dd55338f44e92c283138'/>
<id>048801b194a1664f1fc1dd55338f44e92c283138</id>
<content type='text'>
1. add hooks for further extension
2. minor code change

Change-Id: I2615013b899f5f9b3495546e6001863fb054861a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. add hooks for further extension
2. minor code change

Change-Id: I2615013b899f5f9b3495546e6001863fb054861a
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: Initial version of optimizing compiler for MIPS64R6.</title>
<updated>2015-06-26T15:16:42+00:00</updated>
<author>
<name>Roland Levillain</name>
<email>rpl@google.com</email>
</author>
<published>2015-06-26T15:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=a1935c4fa255b5c20f5e9b2abce6be2d0f7cb0a8'/>
<id>a1935c4fa255b5c20f5e9b2abce6be2d0f7cb0a8</id>
<content type='text'>
(cherry picked from commit 4dda3376b71209fae07f5c3c8ac3eb4b54207aa8)
(amended for mnc-dev)

Bug: 21555893
Change-Id: I874dc356eee6ab061a32f8f3df5f8ac3a4ab7dcf
Signed-off-by: Alexey Frunze &lt;Alexey.Frunze@imgtec.com&gt;
Signed-off-by: Douglas Leung &lt;douglas.leung@imgtec.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 4dda3376b71209fae07f5c3c8ac3eb4b54207aa8)
(amended for mnc-dev)

Bug: 21555893
Change-Id: I874dc356eee6ab061a32f8f3df5f8ac3a4ab7dcf
Signed-off-by: Alexey Frunze &lt;Alexey.Frunze@imgtec.com&gt;
Signed-off-by: Douglas Leung &lt;douglas.leung@imgtec.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[MIPS64] JNI Compiler: Sign-extend int function arguments</title>
<updated>2015-06-25T05:16:54+00:00</updated>
<author>
<name>Lazar Trsic</name>
<email>Lazar.Trsic@imgtec.com</email>
</author>
<published>2015-06-24T14:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=559b1cc279deb9299414ddd46595bb8bca7fa090'/>
<id>559b1cc279deb9299414ddd46595bb8bca7fa090</id>
<content type='text'>
MIPS n64 ABI differs from arm64. Arguments smaller than the 8B stack
slot need to be sign-extended.

Use combination (lw,sd), instead of (lw,sw) for 4B values.

Change fixes software keyboard crash on mips64.

Bug: 21555893

(cherry picked from commit f652d605753f1387e7797461b47116c5dcdf928d)

Change-Id: I7574d37f6039e9e8c9e0047254be71d28d4c829a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MIPS n64 ABI differs from arm64. Arguments smaller than the 8B stack
slot need to be sign-extended.

Use combination (lw,sd), instead of (lw,sw) for 4B values.

Change fixes software keyboard crash on mips64.

Bug: 21555893

(cherry picked from commit f652d605753f1387e7797461b47116c5dcdf928d)

Change-Id: I7574d37f6039e9e8c9e0047254be71d28d4c829a
</pre>
</div>
</content>
</entry>
<entry>
<title>Move mirror::ArtMethod to native</title>
<updated>2015-06-02T16:21:27+00:00</updated>
<author>
<name>Mathieu Chartier</name>
<email>mathieuc@google.com</email>
</author>
<published>2015-04-22T20:56:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=3d21bdf8894e780d349c481e5c9e29fe1556051c'/>
<id>3d21bdf8894e780d349c481e5c9e29fe1556051c</id>
<content type='text'>
Optimizing + quick tests are passing, devices boot.

TODO: Test and fix bugs in mips64.

Saves 16 bytes per most ArtMethod, 7.5MB reduction in system PSS.
Some of the savings are from removal of virtual methods and direct
methods object arrays.

Bug: 19264997

(cherry picked from commit e401d146407d61eeb99f8d6176b2ac13c4df1e33)

Change-Id: I622469a0cfa0e7082a2119f3d6a9491eb61e3f3d

Fix some ArtMethod related bugs

Added root visiting for runtime methods, not currently required
since the GcRoots in these methods are null.

Added missing GetInterfaceMethodIfProxy in GetMethodLine, fixes
--trace run-tests 005, 044.

Fixed optimizing compiler bug where we used a normal stack location
instead of double on ARM64, this fixes the debuggable tests.

TODO: Fix JDWP tests.

Bug: 19264997

Change-Id: I7c55f69c61d1b45351fd0dc7185ffe5efad82bd3

ART: Fix casts for 64-bit pointers on 32-bit compiler.

Bug: 19264997
Change-Id: Ief45cdd4bae5a43fc8bfdfa7cf744e2c57529457

Fix JDWP tests after ArtMethod change

Fixes Throwable::GetStackDepth for exception event detection after
internal stack trace representation change.

Adds missing ArtMethod::GetInterfaceMethodIfProxy call in case of
proxy method.

Bug: 19264997
Change-Id: I363e293796848c3ec491c963813f62d868da44d2

Fix accidental IMT and root marking regression

Was always using the conflict trampoline. Also included fix for
regression in GC time caused by extra roots. Most of the regression
was IMT.

Fixed bug in DumpGcPerformanceInfo where we would get SIGABRT due to
detached thread.

EvaluateAndApplyChanges:
From ~2500 -&gt; ~1980
GC time: 8.2s -&gt; 7.2s due to 1s less of MarkConcurrentRoots

Bug: 19264997
Change-Id: I4333e80a8268c2ed1284f87f25b9f113d4f2c7e0

Fix bogus image test assert

Previously we were comparing the size of the non moving space to
size of the image file.

Now we properly compare the size of the image space against the size
of the image file.

Bug: 19264997
Change-Id: I7359f1f73ae3df60c5147245935a24431c04808a

[MIPS64] Fix art_quick_invoke_stub argument offsets.

ArtMethod reference's size got bigger, so we need to move other args
and leave enough space for ArtMethod* and 'this' pointer.

This fixes mips64 boot.

Bug: 19264997
Change-Id: I47198d5f39a4caab30b3b77479d5eedaad5006ab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Optimizing + quick tests are passing, devices boot.

TODO: Test and fix bugs in mips64.

Saves 16 bytes per most ArtMethod, 7.5MB reduction in system PSS.
Some of the savings are from removal of virtual methods and direct
methods object arrays.

Bug: 19264997

(cherry picked from commit e401d146407d61eeb99f8d6176b2ac13c4df1e33)

Change-Id: I622469a0cfa0e7082a2119f3d6a9491eb61e3f3d

Fix some ArtMethod related bugs

Added root visiting for runtime methods, not currently required
since the GcRoots in these methods are null.

Added missing GetInterfaceMethodIfProxy in GetMethodLine, fixes
--trace run-tests 005, 044.

Fixed optimizing compiler bug where we used a normal stack location
instead of double on ARM64, this fixes the debuggable tests.

TODO: Fix JDWP tests.

Bug: 19264997

Change-Id: I7c55f69c61d1b45351fd0dc7185ffe5efad82bd3

ART: Fix casts for 64-bit pointers on 32-bit compiler.

Bug: 19264997
Change-Id: Ief45cdd4bae5a43fc8bfdfa7cf744e2c57529457

Fix JDWP tests after ArtMethod change

Fixes Throwable::GetStackDepth for exception event detection after
internal stack trace representation change.

Adds missing ArtMethod::GetInterfaceMethodIfProxy call in case of
proxy method.

Bug: 19264997
Change-Id: I363e293796848c3ec491c963813f62d868da44d2

Fix accidental IMT and root marking regression

Was always using the conflict trampoline. Also included fix for
regression in GC time caused by extra roots. Most of the regression
was IMT.

Fixed bug in DumpGcPerformanceInfo where we would get SIGABRT due to
detached thread.

EvaluateAndApplyChanges:
From ~2500 -&gt; ~1980
GC time: 8.2s -&gt; 7.2s due to 1s less of MarkConcurrentRoots

Bug: 19264997
Change-Id: I4333e80a8268c2ed1284f87f25b9f113d4f2c7e0

Fix bogus image test assert

Previously we were comparing the size of the non moving space to
size of the image file.

Now we properly compare the size of the image space against the size
of the image file.

Bug: 19264997
Change-Id: I7359f1f73ae3df60c5147245935a24431c04808a

[MIPS64] Fix art_quick_invoke_stub argument offsets.

ArtMethod reference's size got bigger, so we need to move other args
and leave enough space for ArtMethod* and 'this' pointer.

This fixes mips64 boot.

Bug: 19264997
Change-Id: I47198d5f39a4caab30b3b77479d5eedaad5006ab
</pre>
</div>
</content>
</entry>
<entry>
<title>ART: Clean up arm64 kNumberOfXRegisters usage.</title>
<updated>2015-05-26T18:33:33+00:00</updated>
<author>
<name>Vladimir Marko</name>
<email>vmarko@google.com</email>
</author>
<published>2015-05-19T17:08:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=41b175aba41c9365a1c53b8a1afbd17129c87c14'/>
<id>41b175aba41c9365a1c53b8a1afbd17129c87c14</id>
<content type='text'>
Avoid undefined behavior for arm64 stemming from 1u &lt;&lt; 32 in
loops with upper bound kNumberOfXRegisters.

Create iterators for enumerating bits in an integer either
from high to low or from low to high and use them for
&lt;arch&gt;Context::FillCalleeSaves() on all architectures.

Refactor runtime/utils.{h,cc} by moving all bit-fiddling
functions to runtime/base/bit_utils.{h,cc} (together with
the new bit iterators) and all time-related functions to
runtime/base/time_utils.{h,cc}. Improve test coverage and
fix some corner cases for the bit-fiddling functions.

Bug: 13925192

(cherry picked from commit 80afd02024d20e60b197d3adfbb43cc303cf29e0)

Change-Id: I905257a21de90b5860ebe1e39563758f721eab82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid undefined behavior for arm64 stemming from 1u &lt;&lt; 32 in
loops with upper bound kNumberOfXRegisters.

Create iterators for enumerating bits in an integer either
from high to low or from low to high and use them for
&lt;arch&gt;Context::FillCalleeSaves() on all architectures.

Refactor runtime/utils.{h,cc} by moving all bit-fiddling
functions to runtime/base/bit_utils.{h,cc} (together with
the new bit iterators) and all time-related functions to
runtime/base/time_utils.{h,cc}. Improve test coverage and
fix some corner cases for the bit-fiddling functions.

Bug: 13925192

(cherry picked from commit 80afd02024d20e60b197d3adfbb43cc303cf29e0)

Change-Id: I905257a21de90b5860ebe1e39563758f721eab82
</pre>
</div>
</content>
</entry>
<entry>
<title>ART: x86 indexOf intrinsics for the optimizing compiler</title>
<updated>2015-05-11T17:40:05+00:00</updated>
<author>
<name>Andreas Gampe</name>
<email>agampe@google.com</email>
</author>
<published>2015-05-07T21:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=21030dd59b1e350f6f43de39e3c4ce0886ff539c'/>
<id>21030dd59b1e350f6f43de39e3c4ce0886ff539c</id>
<content type='text'>
Add intrinsics implementations for indexOf in the optimizing
compiler. These are mostly ported from Quick. Add instruction
support to assemblers where necessary.

Change-Id: Ife90ed0245532a5c436a26fe84715dc357f353c8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add intrinsics implementations for indexOf in the optimizing
compiler. These are mostly ported from Quick. Add instruction
support to assemblers where necessary.

Change-Id: Ife90ed0245532a5c436a26fe84715dc357f353c8
</pre>
</div>
</content>
</entry>
<entry>
<title>ART: Fix mips64 jni bugs.</title>
<updated>2015-05-07T03:49:09+00:00</updated>
<author>
<name>Douglas Leung</name>
<email>douglas.leung@imgtec.com</email>
</author>
<published>2015-05-01T02:22:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=d90957fbe6f41c66d5494ae5db1f60d2434d4c84'/>
<id>d90957fbe6f41c66d5494ae5db1f60d2434d4c84</id>
<content type='text'>
For mips64, 32-bits loads can be zero extended or sign extended to
64-bits. The extension type must match the data type to be loaded.

Also re-enable mips64 generic jni testing.

Change-Id: I9cabaf80b4fde63d9868fccd74593b36d1c324e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For mips64, 32-bits loads can be zero extended or sign extended to
64-bits. The extension type must match the data type to be loaded.

Also re-enable mips64 generic jni testing.

Change-Id: I9cabaf80b4fde63d9868fccd74593b36d1c324e8
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Revert "Revert "[optimizing] Improve x86 shifts""""</title>
<updated>2015-05-04T14:14:32+00:00</updated>
<author>
<name>Mark P Mendell</name>
<email>mark.p.mendell@intel.com</email>
</author>
<published>2015-04-29T14:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/art/commit/?id=7394569c9252b277710b2d7d3fc35fb0dd48fc4b'/>
<id>7394569c9252b277710b2d7d3fc35fb0dd48fc4b</id>
<content type='text'>
This reverts commit 2a7a1d7808f003bea908023ebd11eb442d2fca39.

Fix the problem that a long long &gt;&gt; 63 got the wrong answer.  The
problem was that a shr was used instead of a sar.

Change-Id: I0327f79c718016ddec9272a605fc50ec15ec4566
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2a7a1d7808f003bea908023ebd11eb442d2fca39.

Fix the problem that a long long &gt;&gt; 63 got the wrong answer.  The
problem was that a shr was used instead of a sar.

Change-Id: I0327f79c718016ddec9272a605fc50ec15ec4566
</pre>
</div>
</content>
</entry>
</feed>
