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

See the CrossGCC FAQ for lots more information.


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: verify NEON support in cross toolchain


On Sun, 2011-02-27 at 16:08 -0700, Michael J. Hammel wrote:
> I'm using Crosstool-NG 1.8.2 to get a cross toolchain for a BeagleBoard.
> I'm trying to verify the NEON support.  I've enabled the following two
> configuration options:
> 
> CT_ARCH_FPU="neon"
> CT_CC_CORE_EXTRA_CONFIG="--with-fpu=neon"
> 
> However, when I try to build the xorg omap driver I get the following
> error:
> 
> CC sw-exa.lo
> {standard input}: Assembler messages:
> {standard input}:105: Error: bad instruction `vld1.u8 {d0},[r1]!'

For completeness sake I wanted to follow up my own question, now that I
found the solution.

It appears that the CT_CC_CORE_EXTRA_CONFIG and CT_CC_EXTRA_CONFIG
options also need to include --with-float=softfp, so they now look like
this:

CT_CC_CORE_EXTRA_CONFIG="--with-fpu=neon --with-float=softfp"
CT_CC_EXTRA_CONFIG="--with-fpu=neon --with-float=softfp"

For details on where I found the solution (from Linaro and Ubuntu
notes), see my blog entry:
http://www.graphics-muse.org/wp/?p=839

Hope that helps anyone else who runs into the same issue.

-- 
Michael J. Hammel <crosstoolng@graphics-muse.org>


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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