[Speex-dev] Cannot compile speexdsp 1.2rc3 on ARM64
firstfan at gmail.com
Sat Mar 28 18:28:03 UTC 2015
I build successfully with speex-1.2rc2. And with speexdsp 1.2rc3, I
build with i386, X86_64, armv7 and armv7s all passed.
But when I build for ARM64 (for iPhone 6), it failed with:
Making all in libspeexdsp
In file included from resample.c:104:
./resample_neon.h:134:12: error: unknown register name 'q0' in asm
./resample_neon.h:195:13: error: invalid output constraint '+l' in asm
[len] "+l" (len), [remainder] "+l" (remainder)
2 errors generated.
make: *** [resample.lo] Error 1
make: *** [all-recursive] Error 1
make: *** [all] Error 2
As I googled out, I found it's said:
arm64 has a totally different instruction set.
The NEON assembly code needs a rewrite.
But I'm not familiar with ASM code. Could anyone help to fix that?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Speex-dev