Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFP Custom Instructions - exp() won't get any faster
Hi everybody. I'm working on a design using Nios II/f that heavily relies on floating point math. In Qsys I addedd Floating Point Hardware and I connected it to the Custom Instruction Master of ...
Altera_Forum
Honored Contributor
13 years agoYou need to make sure the float instructions are used when the BSP is built.
I might be worth looking at the symbol table for the final image - you probably don't want the float match functions in your image. (You probably don't want the double ones either, but printf() might pull those in.) You might also decide that you only need a limited accuracy exp() function - and write one that is faster but less accurate.