commit | 11ba0e9f6744cf1bdb5ebe2011eadadbc088eade | [log] [tgz] |
---|---|---|
author | buzbee <buzbee@google.com> | Thu Mar 14 15:54:57 2013 -0700 |
committer | buzbee <buzbee@google.com> | Thu Mar 14 15:54:57 2013 -0700 |
tree | a45e888ff3e2c18918d9ca3befddef61be430953 | |
parent | 90e2741aaa006c70b1ca20f97ead299c547c76f1 [diff] |
Fix bad use of T3 encoding of add w/ pc The T3 encoding of 3-register add behaves unpredictably when any of the operands are pc (r15). We don't generally emit adds using pc, but can in cases of large methods in which the literal pool is too far away. This cl changes the out-of-range literal expansion to use the T2 encoding of a 2-register add. Change-Id: Ide7ed34a019ac9b7cddccb8f8532d48690f28de6