diff options
author | David Brazdil <dbrazdil@google.com> | 2015-05-29 16:29:43 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-06-04 17:25:02 +0100 |
commit | f677ebfd832c9c614fea5e6735725fec2f7a3f2a (patch) | |
tree | 051b3ba6343bdbca4929d728dd5c0341e4383a08 /compiler/utils/assembler.cc | |
parent | c47908e8c32fd58bc4dc75998a80f706954db1dc (diff) |
Cache stack map encoding
Operations on CodeInfo and StackMap objects repeatedly read encoding
information from the MemoryRegion. Since these are 3-bit-loads of
values that never change, caching them can measurably reduce compile
times.
According to benchmarks, this patch saves 1-3% on armv7, 2-4% on x86,
and 0-1% on x64.
Change-Id: I46b197513601325d8bab562cc80100c00ec28a3b
Diffstat (limited to 'compiler/utils/assembler.cc')
0 files changed, 0 insertions, 0 deletions