[Webkit-unassigned] [Bug 79441] IPP optimization for functions vsma, vsmul, vadd, vmul and vmaxmgv

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 12 19:38:48 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=79441





--- Comment #14 from Gao Chun <chun.gao at intel.com>  2012-03-12 19:38:47 PST ---
(From update of attachment 131318)
View in context: https://bugs.webkit.org/attachment.cgi?id=131318&action=review

>> Source/WebCore/platform/audio/VectorMath.cpp:170
>> +#endif
> 
> In the body for the IPP case, could we set n = 0 so the following while loop is never executed?  This would, I think, get rid of the #if/#endif here and also at line 177.  I think this simplifies the code.

It's a good suggestion, I have also replaced "n = 0" with "return" to get rid all of #if/#endif in each function. Pls review again.

-- 
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