watery01 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

Row Coalesce fall through #277

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Instead of recursing, make row coalesce fall thru.
Reduce call overhead 
Reduce stack size.
Improve performance.
Improve code size.

Original issue reported on code.google.com by fbarch...@google.com on 16 Oct 2013 at 3:37

GoogleCodeExporter commented 9 years ago
Fixed in r819
It turned out that
1. Visual C does tail recursion with a jmp.
2. some functions did not reset stride and would not use SSE/Neon when they 
could have.
New code should fall through in common case of coalesce

Original comment by fbarch...@google.com on 21 Oct 2013 at 8:28