commit | d30a2ce2440f1eaf495c04c3b184959310a8da0a | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Wed Sep 09 19:08:54 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Wed Sep 09 19:08:54 2009 -0700 |
tree | 196b909646b2684defbaaefc15448e373a8073a9 | |
parent | d5315573d792c8441482b1cbe9ac7e93d3f730d1 [diff] |
Implement a simple peephole optimization framework for ARM. Implement some optimizations: + performing arithmetic by a small constant is 3 instructions shorter. + reading a local variables is 1 instruction shorter. + constant array indexing (e.g. p[5]) is 5 instructions shorter.