diff options
author | Evgeny Astigeevich <evgeny.astigeevich@linaro.org> | 2020-05-05 16:30:24 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2020-05-07 09:04:21 +0000 |
commit | a6653d304faa3bbd981507570a4ac1107760c6a7 (patch) | |
tree | 6dc333f6f19b932c0fd739b4862c3800b3a51b45 /libnativeloader/library_namespaces.cpp | |
parent | 4d0f795aaa9abd1b36e2704b3851b2cc39c70cdd (diff) |
ART: Refactor InstructionCodeGeneratorARM64::GenerateDivRemWithAnyConstant
InstructionCodeGeneratorARM64::GenerateDivRemWithAnyConstant handles
both Int32 and Int64 cases. However Int32 cases can have additional
optimizations. Having them in GenerateDivRemWithAnyConstant makes code
difficult to read.
This CL splits the code of GenerateDivRemWithAnyConstant to:
* GenerateInt32DivRemWithAnyConstant
* GenerateInt64DivRemWithAnyConstant
* GenerateResultDivRemWithAnyConstant
Test: test.py --host --optimizing --jit
Test: test.py --target --optimizing --jit
Change-Id: I267331c026e87d6a233b593586f1b74759382896
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions