Nios2 Performance
I just ran some benchmarks for an ARM922 and a NIOS2/f. Both were run with the same code and ran at 90MHz. I did benchmarks for interger multiply, integer divide, floating point multiply, and floating point divide. The NIOS2/f was configured for LE multiply (cyclone), and use hardware divide. It also had 16K of Icache and 8K of Dcache. The NIOS2 performed as well as if not better than the ARM when it came to the integer math operations. However, the ARM smoked the NIOS by a factor of 7 on the floating point math. All optimizations were turned on to full and the NO_INSTRUCTION_EMULATION preprocessor was used. I also did not use any timers or STDIO, so I would imagine that there was very little interupts happening. The ARM has no floating point processor, but I am told that the floating point library uses its on board barrel shifter. My question is can I get better performance? Is there an option that I didn't think of? Is the floating point library that ineficient? If so, is there another one out there? I could find much in the software docs....
Rick