Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12452 Discussions

How to use hard "Float ABI" ?

corestar
New Contributor I
1,313 Views

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.

 

error_msg.jpg

 

default_ABI.jpg

0 Kudos
2 Replies
Fawaz_J_Intel
Employee
296 Views

Hello,

Can you change the compiler to armcc instead of gcc?

Please let me know if this helps.

 

Thanks

corestar
New Contributor I
296 Views

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