diff options
author | Vladimir Marko <vmarko@google.com> | 2019-10-04 12:28:14 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2019-10-09 08:25:22 +0000 |
commit | 2bb44fe818f2bf1d867a6ae490ef69c7f3a51e97 (patch) | |
tree | c1860179daba52ab0d53707650c1e85194399629 /libnativebridge/tests/CodeCacheCreate_test.cpp | |
parent | 59770df741b87b201e83ef81cbcfac9df048d19b (diff) |
ARM64: Change code emitted by ClinitCheck.
Change the code from MVN+CBNZ to CMP+BLO. The latter is
better optimized in ARM64 CPUs. To avoid increasing code
size, this requires the preceding load to be changed from
LDR to LDRB for a single byte of the 32-bit field.
This shows small but measurable improvement on a few Golem
benchmarks, for example MicroLambda, KotlinAutoReversiBench
and KotlinImgProc-GaussianBlurOpt.
Test: testrunner.py --target --optimizing
Bug: 36692143
Change-Id: Ia73f791d7026220ef38e73bd5ee19fcc4877564d
Diffstat (limited to 'libnativebridge/tests/CodeCacheCreate_test.cpp')
0 files changed, 0 insertions, 0 deletions