Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
[DS-5] How to use the compiler intrinsic __softfp?
Locked
Locked
Replies
3 replies
Subscribers
120 subscribers
Views
2577 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
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?
Jake Lee
over 11 years ago
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
{
..
..
..
}
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
Quote