Quote:
Originally Posted by knc1
@GM: Don't spend any time looking this up for me, but if you already know the answer...
Do all the Kindle SoC support vector processing instructions?
I believe the K3 (i.mx353) does (I will need to re-check that data point).
If they do, they might help with processing these byte streams in your dither algorithum.
And (as you probably already know) GCC will not "automagically" use the vector processor instructions without a few handsprings by the gcc-user.
|
Inline assembly is old-hat. Many compilers I use support intrinsic functions, where the compiler has predefined special "functions" that get replaced with a single assembler instruction. And then there are those funny files that have that strange ".s" on the end of them...

There is some good stuff here (but needs adapting for ARM):
http://www.agner.org/optimize/
Here is a nice website with lots of pages about using Cortex A8 and ARM Neon intrinsics in C programs:
http://hilbert-space.de/?p=22