commit | a63f0d47edbcbe13a23411851a9c6e81f9342cc2 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Sep 01 13:36:35 2015 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Tue Sep 01 15:20:30 2015 +0100 |
tree | db356acc0a4c4b211518b20529c7fc864dcabde9 | |
parent | 46637e6ad75751fa1db283aee160342dc7e2fd0f [diff] |
Optimizing: Improve String.equals() thumb intrinsic. Use SUBS for updating the loop counter and setting the loop exit condition, so that we don't need to pre-calculate the bound but still keep the same number of instructions in the loop. This reduces the size of boot.oat on Nexus 5 by 8KiB (when compiled with Optimizing which is not the default yet). Change-Id: I87d5a128e5e67f4ad177b71c28662d1367170a10