------- Comment #3 from joseph at codesourcery dot com  2010-02-08 20:40 -------
Subject: Re:  Missed vectorization on ARM NEON

On Mon, 8 Feb 2010, pinskia at gcc dot gnu dot org wrote:

> > Try adding -mfloat-abi=softfp to make the compiler actually consider using
> > NEON (needed at least for arm-eabi, I don't know about arm-elf).
> 
> I don't think that is needed any more since the addition of the hard float ABI
> support.

No, that just adds the extra option of using -mfloat-abi=hard.  The EABI 
default is -mfloat-abi=soft.  You need either "softfp" (soft ABI, allow 
use of VFP registers) or "hard" to use VFP and NEON.  It's my multilibs 
proposal that would make -mcpu=cortex-a8 imply -mfpu=neon 
-mfloat-abi=softfp.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43001

Reply via email to