Forum Discussion
Altera_Forum
Honored Contributor
10 years agoTrigonometric functions with FPU
Hello, I'm trying to reduce the latency of my arithmetic operations. For that purpose i The CUSTOM FPU INSTRUCTION to my Nios. I've enabled HW and DIV at NIOS2-F. Using this Custom Instructi...
Altera_Forum
Honored Contributor
10 years agoFound somewhere regarding custom instruction: http://www.alterawiki.com/wiki/custom_instructions
Also this:http://www.alterawiki.com/wiki/single-precision_-mcustom-*_options I think you need to define the -mcusom- GCC flags. -mcustom-fcoss=1 -mcustom-fatans=2 -mcustom-fsins=3