From tmatth at videolan.org Mon Apr 13 13:29:47 2015 From: tmatth at videolan.org (Tristan Matthews) Date: Mon, 13 Apr 2015 16:29:47 -0400 Subject: [Speex-dev] Fwd: Cannot compile speexdsp 1.2rc3 on ARM64 In-Reply-To: References: Message-ID: Hi, On Sat, Mar 28, 2015 at 2:34 PM, Evan JIANG wrote: > Hi all, > > (Sorry that may be duplicated that I was not a mail-list member before, > so last mail sent failed) > > 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: > /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive > Making all in libspeexdsp > CC preprocess.lo > CC jitter.lo > CC mdf.lo > CC fftwrap.lo > CC filterbank.lo > CC resample.lo > In file included from resample.c:104: > ./resample_neon.h:134:12: error: unknown register name 'q0' in asm > : "q0"); > ^ > ./resample_neon.h:195:13: error: invalid output constraint '+l' in asm > [len] "+l" (len), [remainder] "+l" (remainder) > ^ > 2 errors generated. > make[2]: *** [resample.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > As I googled out, I found it's said: > > arm64 has a totally different instruction set. > > See: http://people.linaro.org/~rikuvoipio/aarch64-talk/ > > The NEON assembly code needs a rewrite. > > > > But I'm not familiar with ASM code. Could anyone help to fix that? > For the time being, you can always disable NEON code on that platform with: ./configure --disable-neon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20150413/32717328/attachment.htm From firstfan at gmail.com Mon Apr 13 19:32:44 2015 From: firstfan at gmail.com (Evan JIANG) Date: Tue, 14 Apr 2015 10:32:44 +0800 Subject: [Speex-dev] Fwd: Cannot compile speexdsp 1.2rc3 on ARM64 In-Reply-To: References: Message-ID: Hi Tristan, Thank you for your reply. And "./configure --disable-neon" really works for me. On Tue, Apr 14, 2015 at 4:29 AM, Tristan Matthews wrote: > Hi, > > On Sat, Mar 28, 2015 at 2:34 PM, Evan JIANG wrote: > >> Hi all, >> >> (Sorry that may be duplicated that I was not a mail-list member >> before, so last mail sent failed) >> >> 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: >> /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive >> Making all in libspeexdsp >> CC preprocess.lo >> CC jitter.lo >> CC mdf.lo >> CC fftwrap.lo >> CC filterbank.lo >> CC resample.lo >> In file included from resample.c:104: >> ./resample_neon.h:134:12: error: unknown register name 'q0' in asm >> : "q0"); >> ^ >> ./resample_neon.h:195:13: error: invalid output constraint '+l' in asm >> [len] "+l" (len), [remainder] "+l" (remainder) >> ^ >> 2 errors generated. >> make[2]: *** [resample.lo] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> >> >> As I googled out, I found it's said: >> >> arm64 has a totally different instruction set. >> >> See: http://people.linaro.org/~rikuvoipio/aarch64-talk/ >> >> The NEON assembly code needs a rewrite. >> >> >> >> But I'm not familiar with ASM code. Could anyone help to fix that? >> > > For the time being, you can always disable NEON code on that platform with: > ./configure --disable-neon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20150414/3fad1423/attachment.htm