Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYou might need to just make sure that the BSP is all recompiled. Somewhere there is a box for its compiler options (IMHO it should default to -O3, but it doesn't). I think you have to pass the custom instruction numbers for the fp instructions on the compiler command line - so they probably have to go in there.
Alternatively, find the code for expf() and compile it as part of your program.