Dnia wtorek, 13 lipca 2010 o 19:05:30 Joel Crisp napisaĆ(a):
This many be a daft comment, but shouldn't high performance math be implemented via DSP or GPU hardware or some other co-pro on an embedded system?
fmul operation takes few cycles (plus some more for moving data between registers in softfp) while doing same operation on TI DSP (part of omap3 cpu) will require more time.
DSP is good to have for more complex operations but thats a job for application developers as they know what their app runs on and how to make it run smoothly.
GCC knows about ARM part of cpu and optimize for it. And we need to keep that way because cortex-a8/a9/a5 cores do not contain DSP/GPU or other coprocessors.
Regards,