floating point performance
Hi there,
I have been looking for some information on how the propeller performs on arithmetic functions, specifically multiplication and division (both integer and floating point).· Would anyone happen to know·how many propeller instructions it typically takes to implement these functions?
I'm trying to compare a single propeller COG with a dsPIC30F3012 for performance in mathematical situations.· From what I understand it typically takes the dsPIC30F series 100 (assembly) instructions to emulate a floating point multiplication.
Thanks,
silic0re
I have been looking for some information on how the propeller performs on arithmetic functions, specifically multiplication and division (both integer and floating point).· Would anyone happen to know·how many propeller instructions it typically takes to implement these functions?
I'm trying to compare a single propeller COG with a dsPIC30F3012 for performance in mathematical situations.· From what I understand it typically takes the dsPIC30F series 100 (assembly) instructions to emulate a floating point multiplication.
Thanks,
silic0re
Comments
it looks as though its best-case execution time is about 10usec (I'm assuming the figures quoted in the documentation are for a propeller thats clocked at its maximum rated frequency), and using two of the cogs. Thats about 100,000 multiplications per second, which is about half as slow as a dsPIC30F3012 at 20MIPS.
thanks
silic0re
2) If your application is suitable for it, you can easily run two copies of the floating point library in parallel to double the throughput.