Community
cancel
Showing results for 
Search instead for 
Did you mean: 
corestar
New Contributor I
1,135 Views

How to use hard "Float ABI" ?

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
118 Views

Hello,

Can you change the compiler to armcc instead of gcc?

Please let me know if this helps.

 

Thanks

corestar
New Contributor I
118 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