[Webkit-unassigned] [Bug 73789] Need SSE optimization for SincResampler::Process()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 4 22:30:52 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73789
Benjamin Poulain <benjamin at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117838|review? |review-
Flag| |
--- Comment #3 from Benjamin Poulain <benjamin at webkit.org> 2011-12-04 22:30:52 PST ---
(From update of attachment 117838)
View in context: https://bugs.webkit.org/attachment.cgi?id=117838&action=review
> Source/WebCore/platform/audio/SincResampler.cpp:-249
> - // FIXME: add SIMD optimizations for the following. The scalar code-path can probably also be optimized better.
This could be changed to
// FIXME: add ARM NEON optimizations for the following. The scalar code-path can probably also be optimized better.
:)
> Source/WebCore/platform/audio/SincResampler.cpp:262
> + input = *inputP++;
> + sum1 += input * *k1;
> + sum2 += input * *k2;
> + ++k1;
> + ++k2;
You should put your code under the #define CONVOLVE_ONE_SAMPLE and use the macro here.
> Source/WebCore/platform/audio/SincResampler.cpp:267
> + int group = n / 4;
Typically you can just compute the end pointer so you do not have to keep track of that.
> Source/WebCore/platform/audio/SincResampler.cpp:355
> + input = *inputP++;
> + sum1 += input * *k1;
> + sum2 += input * *k2;
> + ++k1;
> + ++k2;
Same regarding CONVOLVE_ONE_SAMPLE.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list