summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorEvgeny Astigeevich <evgeny.astigeevich@linaro.org>2020-07-02 15:25:13 +0100
committerEvgeny Astigeevich <evgeny.astigeevich@linaro.org>2020-07-02 17:23:25 +0100
commitf9388416a3315b93d0cf14eeaf8df49a7c4da176 (patch)
treef90d73c779cc16bf2a532b102820a2c7ecdd30e9 /compiler/optimizing/codegen_test_utils.h
parentaf92a0f06fe3ab2618ccc220df3dacc3a20d8bb1 (diff)
ARM: Optimize Div/Rem by positive const for non-negative dividends
When a constant divisor is positive and it can be proved that dividends are non-negative, there is no need to generate instructions correcting the result. The CL implements this optimization for ARM32/ARM64. Test: 411-checker-hdiv-hrem-const Test: test.py --host --optimizing --jit --gtest --interpreter Test: test.py -target --optimizing --jit --interpreter Test: run-gtests.sh Change-Id: Idf9aa740f14700000948b5ca58311be403a269ee
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions