what does mean softfp. gcc related

lei yang yanglei.fage at gmail.com
Fri Jan 21 13:31:13 EST 2011

Hi list,

I confused by arm gcc flags

In gcc user guide:

`softfp' allows the generation of code using hardware floating-point
instructions, but still uses the soft-float calling conventions.
`hard' allows generation of floating-point instructions and uses
FPU-specific calling conventions.

-mfpu=vfp -mfloat-abi=softfp

what does this mean if arm support vfp instructions.
what's the different between "-mfpu=vfp -mfloat-abi=softfp" and
"-mfpu=vfp -mfloat-abi=hard".
can  someone give me a hand?


More information about the Kernelnewbies mailing list