SkBlurImageFilter_opts: optimize NEON box_blur_double in separate loops.
authorsenorblanco <senorblanco@chromium.org>
Wed, 28 Oct 2015 22:39:33 +0000 (15:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 28 Oct 2015 22:39:33 +0000 (15:39 -0700)
commitd5b9211d8d072672856019d5608fa21d4397ba54
tree3b2785384cfdbae22c735900982f66a32c088bb7
parent4449398b324a7d6226a71e766561ace0028b5153
SkBlurImageFilter_opts: optimize NEON box_blur_double in separate loops.

Stop leaning so hard on the branch predictor, and pull the conditionals
out of the loops for box_blur_double() (NEON).  This is conceptually
the same change as https://codereview.chromium.org/1426583004/ for
the NEON double-pixel loop.

R=mtklein@google.com

BUG=skia:4526
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review URL: https://codereview.chromium.org/1412793009
src/opts/SkBlurImageFilter_opts.h