summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-08-21 13:59:26 +0100
committerVladimir Marko <vmarko@google.com>2018-08-21 16:08:03 +0100
commitdd509acc6d916df7cff91c51ad0666f60b75dfc0 (patch)
tree4516c4413f9c23464567984f40dc794c07dda7c8 /compiler/optimizing/codegen_test_utils.h
parentf345404c725330914b8313d2c1af17226c5b92ca (diff)
ARM/ARM64: Rewrite art_quick_do_long_jump.
Avoid accessing memory below SP. Avoid using a deprecated instruction on ARM. Load all registers except IP on ARM and IP0, IP1 on ARM64. We previously didn't load r1 on ARM (where obsolete comments described it as a return value) and x1 on ARM64 but it's preferable to restore these properly, clobbering interprocedural scratch registers instead. This may be useful if we eventually decide to allocate dex registers to physical registers for catch handlers in compiled code. Test: Pixel 2 XL boots. Test: testrunner.py --target --optimizing Change-Id: I273ac79bf36c999e937a164a88b7075b24f930c5
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions