summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2018-05-23 14:44:39 +0100
committerDavid Srbecky <dsrbecky@google.com>2018-05-28 08:45:37 +0100
commitffaf87a429766ed80e6afee5bebea93db539620b (patch)
treed79637f4b6a564facf4b837c3ff125bb3755594e /compiler/optimizing/codegen_test_utils.h
parent5513c2b68a08109a5bfd811c7b2c8bbc66244e8e (diff)
Optimize register mask and stack mask in stack maps.
Use BitTable to store the masks as well and move the deduplication responsibility to the BitTable builders. Don't generate entries for masks which are all zeros. This saves 0.2% of .oat file size on both Arm64 and Arm. Encode registers as (value+shift) due to tailing zeros. This saves 1.0% of .oat file size on Arm64 and 0.2% on Arm. Test: test-art-host-gtest Change-Id: I636b7edd49e10e8afc9f2aa385b5980f7ee0e1f1
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions