commit | ffa15ea5b19d4616b5c7b1e8ac76cca91038005d | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Thu Aug 16 10:04:11 2018 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Fri Aug 17 16:26:23 2018 +0100 |
tree | 52658073e7ebe1bb28aade424862faf08a734099 | |
parent | afebd20bbe771d75c6dcd622d5219568cc702012 [diff] |
Optimize the mterp field getter. Carefully optimize the C++ helper function to make it faster. Use the macro less by using templated helper methods. This reduces the overhead of non-quickened code from 1.45x to 1.35x. (golem benchmarks on arm64 with quickening manually disabled) Test: test.py --host Change-Id: I1904e1edcb14573ac247c552c9b73ae704c57217