Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow to use the floating point hardware in nios II custom instructions
hi i want to compare the speed difference of floating point calc between custom instruction floating point and software. this is my code:# include <stdio.h># include <altera_avalon_pio_regs....
Altera_Forum
Honored Contributor
10 years agoForgot to ask you, what optimization did you use for compiling the C code? The compiler seems to be trying to be smart by optimizing away the floating points operations.