commit | 93bffccaf34ef5a9bd8428089a04046ddb968310 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Jun 26 15:49:16 2018 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Tue Jun 26 18:12:36 2018 +0100 |
tree | 65fbd293b0319701f4015c32a0eeb70276317ef1 | |
parent | a20f969ef303e01e503e51809388bdb406c72238 [diff] |
dexanalyze: Improve field analysis. Analyze also SGET/SPUT and better estimate the savings based on given field index and in/out cutoff. Experiments with core-oj indicate that the cutoffs 16/16 are good for IGET/IPUT but SGET/SPUT would benefit more from 32/8 (assuming we want to use 8 bits together for the field index and in/out). Test: Manually run dexanalyze. Change-Id: Id7cddaf20be4b345516777be6fbc599aed79ac5b