<div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 28, 2015 at 2:34 PM, Evan JIANG <span dir="ltr"><<a href="mailto:firstfan@gmail.com" target="_blank">firstfan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,<br><br></div> (Sorry that may be duplicated that I was not a mail-list member before, so last mail sent failed)<br><br><div><div class="gmail_quote"><div dir="ltr"><div><div><div><div><div> I build successfully with speex-1.2rc2. And with speexdsp 1.2rc3, I build with i386, X86_64, armv7 and armv7s all passed.<br></div> But when I build for ARM64 (for iPhone 6), it failed with:<br>/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive<br>Making all in libspeexdsp<br> CC preprocess.lo<br> CC jitter.lo<br> CC mdf.lo<br> CC fftwrap.lo<br> CC filterbank.lo<br> CC resample.lo<br>In file included from resample.c:104:<br>./resample_neon.h:134:12: error: unknown register name 'q0' in asm<br> : "q0");<br> ^<br>./resample_neon.h:195:13: error: invalid output constraint '+l' in asm<br> [len] "+l" (len), [remainder] "+l" (remainder)<br> ^<br>2 errors generated.<br>make[2]: *** [resample.lo] Error 1<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br><br><br></div>As I googled out, I found it's said:<br><br><pre>arm64 has a totally different instruction set.
See: <a href="http://people.linaro.org/%7Erikuvoipio/aarch64-talk/" rel="nofollow" target="_blank">http://people.linaro.org/~rikuvoipio/aarch64-talk/</a>
The NEON assembly code needs a rewrite.</pre><br><br></div>But I'm not familiar with ASM code. Could anyone help to fix that?<br></div></div></div></div></div></div></blockquote><div><br></div><div>For the time being, you can always disable NEON code on that platform with:<br></div><div>./configure --disable-neon <br></div></div><br></div></div></div>