This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ARM] How to query gas for target properties?


>
> 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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]