diff options
author | Alexandre Rames <alexandre.rames@linaro.org> | 2015-11-20 15:02:45 +0000 |
---|---|---|
committer | Alexandre Rames <alexandre.rames@linaro.org> | 2015-11-20 15:02:45 +0000 |
commit | 38db785600757a832423e076b3cf0af3bee942d8 (patch) | |
tree | 420b802e0e8e8e02e6bea03808ef8f7aa7850719 /compiler/optimizing/graph_visualizer.cc | |
parent | 53ced034cd81f35ea9b37ca977cf6634ddaa7cf9 (diff) |
Opt compiler: More strength reduction for multiplications.
We transform code looking like
MUL dst, src, (2^n + 1)
into
SHL tmp, src, n
ADD dst, src, tmp
and code looking like
MUL dst, src, (2^n - 1)
into
SHL tmp, src, n
SUB dst, tmp, src
Change-Id: Ia620ab68758caa70a01530b88cd65dd0444376d7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions