This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [ARM] How to query gas for target properties?
- From: Ramana Radhakrishnan <ramana dot r at gmail dot com>
- To: Christophe Lyon <christophe dot lyon at st dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, Binutils <binutils at sourceware dot org>
- Date: Fri, 5 Nov 2010 03:23:50 +0000
- Subject: Re: [ARM] How to query gas for target properties?
- References: <4CBBF909.8040206@st.com> <4CC82CF9.5000007@redhat.com> <4CD2D4E8.6030304@st.com>
>
> 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.
>