finding in 4.5.2 20101003 (Linaro) [release 4.5-2010.10-0]
leonid.moiseichuk at nokia.com
leonid.moiseichuk at nokia.com
Tue Oct 19 10:46:59 UTC 2010
Hi,
Thanks for hint. I think the fpu=neon is passed correct because assembler source has the following attributes
.arch armv7-a
.eabi_attribute 27, 3
.eabi_attribute 28, 1
.fpu neon
And neon code actually generated.
--enable-neon is ffmpeg switch to use neon code and idea of toolchain testing is to disable it to see how autovectorization works.
With best wishes,
Leonid
-----Original Message-----
From: ext Loïc Minier [mailto:loic.minier at linaro.org]
Sent: 19 October, 2010 13:39
To: Moiseichuk Leonid (Nokia-MS/Helsinki)
Cc: linaro-toolchain at lists.linaro.org
Subject: Re: finding in 4.5.2 20101003 (Linaro) [release 4.5-2010.10-0]
Hey!
On Tue, Oct 19, 2010, leonid.moiseichuk at nokia.com wrote:
> Sorry I cannot find a bugzilla.
Linaro GCC uses Launchpad; visit bugs.launchpad.net/gcc-linaro to
report gcc-linaro bugs.
> Sorry I cannot find a bugzilla. One issue detected during compilation
> of ffmpeg, it looks like
> gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/home/ldm/misc/tc/suite/cases/ffmpeg/ffmpeg" -O3 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno -fno-signed-zeros -c -o libavcodec/dsputil.o libavcodec/dsputil.c
> /tmp/ccK6jdSP.s: Assembler messages:
> /tmp/ccK6jdSP.s:34764: Error: VFP/Neon double precision register expected -- `vmovl.s16 q3,s12'
Looks like you need -mfpu=neon; I see it's mentioned in your .spec
file, but it doesn't appear above. If this is a ffmpeg build, you
probably want to pass --extra-cflags= to configure to pass extra
CFLAGS. You probably want to --enable-neon and --cpu=cortex-a8 too.
Cheers,
--
Loïc Minier
More information about the linaro-toolchain
mailing list