summaryrefslogtreecommitdiff
path: root/compiler/llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Mark Mendell <mark.p.mendell@intel.com> 2014-02-14 12:15:02 -0800
committer Mark Mendell <mark.p.mendell@intel.com> 2014-02-14 12:15:02 -0800
commitde99bba92b4beac4c347772177f47bdd61e8f376 (patch)
treeaaae21487f77a20f58f6943c49f1ca92457d1559 /compiler/llvm/compiler_llvm.cc
parent209a3a03595984a7a94103c3c6ba8c5afaf358a1 (diff)
Optimize x86 long V*V by skipping imul
The algorithm for long multiplication can take advantage of the fact that we are multiplying a value by itself by converting 1L*2H + 2L*1H into (2H*1L)+(2H*1L), thus converting a multiply into an addition. Change-Id: I259a25699a8787badd943318e99bafdd06587ec6 Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions