[ARM] How to query gas for target properties?
Ramana Radhakrishnan
ramana.r@gmail.com
Fri Nov 5 03:23:00 GMT 2010
>
> Thanks for you answer, that's what I had ended up doing.
>
> My 1st attempts at using this macro failed because I didn't use
> -mhardfp; I don't know why -mfpu=neon isn't sufficient to get
> __ARM_NEON__ defined by GCC.
You need to use -mfloat-abi=softfp or -mfloat-abi=hard ? If
-mfloat-abi isn't softfp or hard GCC won't generate any Neon code
despite there being a -mfpu=neon and hence the macro need not be
defined.
cheers
Ramana
>
> Thanks
> Christophe.
>
More information about the Binutils
mailing list