Correction,

neon *does* get enabled on raspberry pi 64.  I accidentally used the 32-bit compiler 😅.  so it is just the M1 I can't figure out how to enable neon for.

configure --enable-cross-compile --cross-prefix=/tk/raspberrypi/cross-pi-gcc-10.3.0-64/bin/aarch64-linux-gnu-  --arch=arm64 --target-os=linux --disable-everything --enable-pic --enable-neon --enable-optimizations --enable-fft

Jon

On 2022-11-18 11:24, drwho wrote:

I also tried a raspberry pi build with --arch=armel and neon was enabled....

configure --enable-cross-compile --cross-prefix=/tk/raspberrypi/cross-pi-gcc-10.3.0-2/bin/arm-linux-gnueabihf- --arch=armel --target-os=linux --disable-everything --enable-pic --enable-neon --enable-optimizations --enable-fft

ARCH                      arm (generic)
big-endian                no
runtime cpu detection     yes
ARMv5TE enabled           yes
ARMv6 enabled             yes
ARMv6T2 enabled           yes
VFP enabled               yes
NEON enabled              yes

but when I switch to --arch=arm64 neon gets disabled.

configure --enable-cross-compile --cross-prefix=/tk/raspberrypi/cross-pi-gcc-10.3.0-2/bin/arm-linux-gnueabihf- --arch=arm64 --target-os=linux --disable-everything --enable-pic --enable-neon --enable-optimizations --enable-fft


ARCH                      aarch64 (generic)
big-endian                no
runtime cpu detection     yes
NEON enabled              no
VFP enabled               no

Jon

On 2022-11-17 22:36, drwho wrote:

Hello, I am trying to build ffmpeg for the Apple M1 with neon optimizations turned on.  This configure fails to enable neon or VFP.  MacOS / sdk 12.3.  I've tried the release 5.1 branch and master.

./configure --arch=arm64 --disable-everything --enable-pic --enable-neon --enable-optimizations --cpu=cortex-a8 --cc=/usr/bin/clang


C compiler                /usr/bin/clang
C library
host C compiler           gcc
host C library
ARCH                      aarch64 (cortex-a8)
big-endian                no
runtime cpu detection     yes
NEON enabled              no
VFP enabled               no
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    no
network support           yes
threading support         pthreads
safe bitstream reader     yes
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    no
xmllint enabled           yes



_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected]  with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to