Forum Discussion
Altera_Forum
Honored Contributor
16 years agofloating point operations with and without Custom instruction floating point hardware
Hi I want to test the floating point multipication execution time in Nios II with and without Custiom Instruction floating point hardware. I taught without adding Custom Instruction floating...
Altera_Forum
Honored Contributor
16 years agoYou'll need to pass in compiler flags so that it knows that the hardware is present. To determine if it's working I normally look at the objdump file to see if software libraries are being replaced with the 'custom' mnemonic. Here is an old FPU custom instruction you can take a look at to see how to make the compiler aware of the hardware: http://www.nioswiki.com/custom_floating_point_unit