summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/main.list
diff options
context:
space:
mode:
authorEvgeny Astigeevich <evgeny.astigeevich@linaro.org>2020-05-18 11:15:46 +0100
committerNicolas Geoffray <ngeoffray@google.com>2020-05-18 15:10:40 +0000
commit0ddb338f084b1c46efbfa7a79ad6aa1b63a24ded (patch)
treee36eaa49dd79914622fff402f6ca2e829646c3fb /test/MultiDexModifiedSecondary/main.list
parent8bcba2264f5ba66ef8820e3963e838a67bd6215f (diff)
ARM64: Combine LSR+ADD into ADD_shift for Int32 HDiv/HRem
HDiv/HRem having a constant divisor are optimized by using multiplication of the dividend by a sort of reciprocal of the divisor. In case of Int32 the multiplication is done into a 64-bit register high 32 bits of which are only used. The multiplication result might need some ADD/SUB corrections. Currently it is done by extracting high 32 bits with LSR and applying ADD/SUB. However we can do correcting ADD/SUB on high 32 bits and extracting those bits with the final right shift. This will eliminate the extracting LSR instruction. This CL implements this optimization. Test: test.py --host --optimizing --jit Test: test.py --target --optimizing --jit Change-Id: I5ba557aa283291fd76d61ac0eb733cf6ea975116
Diffstat (limited to 'test/MultiDexModifiedSecondary/main.list')
0 files changed, 0 insertions, 0 deletions