Xfermode: SSE2 implementation of softlight_modeproc
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 25 Apr 2014 08:34:41 +0000 (08:34 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 25 Apr 2014 08:34:41 +0000 (08:34 +0000)
commit6419a5edb8af999623e018b09c3dd88ec371d2e6
tree09736de04e1a93e154b1ba03e0c615abf92d7c31
parent05764d2f77892217ddead7f62586c1a3f5c02d36
Xfermode: SSE2 implementation of softlight_modeproc

With SSE2 optimization, performance of Xfermode_SoftLight will improve
about 30% on desktop i7-3770. Here are the data:
before:
Xfermode_SoftLight   8888:  cmsecs = 379.44   565:  cmsecs =  387.74
after:
Xfermode_SoftLight   8888:  cmsecs = 272.29   565:  cmsecs =  284.31

BUG=skia:
R=mtklein@google.com

Author: qiankun.miao@intel.com

Review URL: https://codereview.chromium.org/236363012

git-svn-id: http://skia.googlecode.com/svn/trunk@14376 2bbb7eff-a529-9590-31e7-b0007b416f81
src/opts/SkMath_opts_SSE2.h [new file with mode: 0644]
src/opts/SkXfermode_opts_SSE2.cpp