- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default, the DS-5 GCC compiler sets the GCC compiler and assembler to use "Float ABI" of "softfp". Since this generates very slow floating point code (about 10 times slower than Zynq), I tried setting it to "hard". But the errors shown below.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you change the compiler to armcc instead of gcc?
Please let me know if this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to change to ARM C Compiler 5 and it does in fact seem to use hardware floating point. It sets "Floating-point PCS" to "Hardware" and "--apcs=/hardfp".
I'm having trouble getting the FreeRTOS Cyclone V port to wort with it though.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page