AnsweredAssumed Answered

I.mx51 EVK floating point support

Question asked by bergo on Feb 25, 2013
Latest reply on Feb 27, 2013 by bergo


I've built a linux environment for I.mx51 EVK (all sources from freescale), the kernel is pretty stripped down only to the vitals, but I made sure that VFP is supported.


First I compiled from the command line without any gcc flags, and a source code doing fft took almost 6 minutes to run on the target.

Then I've compiled with  "mfloat-abi=softfp", and the runtime improved by almost 2 minutes. still the run time is much longer then expected.

Thinking I'm on the right track I've tried to compiled with hard floating point calculation (mfloat-abi=hard / mfloat-abi=hardfp) but the code wouldn't compile. Getting the error

"test.c:1: sorry, unimplemented: -mfloat-abi=hard and VFP"


The toolchain I'm using is the one provided by Freescale :


and I'm using arm-none-linux-gnueabi-gcc for the build


I'm guessing it doesn't support hard floating point...

Any help would be much appreciated !