This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[DS-5] How to use the compiler intrinsic __softfp?

Note: This was originally posted on 8th September 2013 at http://forums.arm.com

It's good to know that it's possible to override the global compiler option --fpu=vfpv4 for specific functions with the compiler intrinsic __softfp.

http://infocenter.arm.com/help/topic/com.arm.doc.dui0491i/BABGAEBD.html

But for some reason, I cannot get it to work.


__softfp void myFunction(float a, float B)
{
..
..
..
}


When I declare a function like above it's time for a syntax error. I must be doing something wrong.

Could someone tell me how to use the __softfp intrinsic properly?

Thanks in advance
0