summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_test.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2018-05-10 17:49:33 +0100
committerDavid Srbecky <dsrbecky@google.com>2018-05-21 09:28:22 +0000
commit68fefacc54b9d918a5b17b99ac7e72421d1b1f94 (patch)
tree39cccda109a63153ca363e592b5570b46e6dece9 /compiler/optimizing/stack_map_test.cc
parentb2683cb0ae69c9a8a0ba654f50fa743a9117171c (diff)
Move and rewrite bit loading/storing methods.
Move bit loading/storing methods to BitMemoryRegion and rewrite them. Enforce natural alignment of the data pointer in BitMemoryRegion. This probably would not be reasonable in MemoryRegion, but it is fine here since the BitMemoryRegion already has extra bit offset. The alignment makes it possible to simplify and optimize the methods. This makes the stackmap reading code 33% faster. (measured by the time needed to verify all stackmap fields on ARM). Test: m -j40 test-art-host-gtest Change-Id: I00be8052969a6056b262df4cd2066ffd86043196
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions