<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Correction,</p>
    <p>neon <b>does</b> 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.</p>
    <p><span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">configure
          --enable-cross-compile
--cross-prefix=/tk/raspberrypi/cross-pi-gcc-10.3.0-64/bin/aarch64-linux-gnu-
           --arch=arm64 </span>--target-os=linux --disable-everything
        --enable-pic --enable-neon --enable-optimizations --enable-fft</span></p>
    <p>Jon<span style="font-family:monospace"><br>
      </span></p>
    <div class="moz-cite-prefix">On 2022-11-18 11:24, drwho wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c34967f9-424c-16ff-1966-cca13521de4e@infidigm.net">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>I also tried a raspberry pi build with --arch=armel and neon
        was enabled....<br>
      </p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">configure
            --enable-cross-compile
--cross-prefix=/tk/raspberrypi/cross-pi-gcc-10.3.0-2/bin/arm-linux-gnueabihf-
            --arch=armel --t</span>arget-os=linux --disable-everything
          --enable-pic --enable-neon --enable-optimizations --enable-fft</span></p>
      <p><span style="font-family:monospace"><span
            style="font-family:monospace"><span
              style="color:#000000;background-color:#ffffff;">ARCH
                                   arm (generic) </span><br>
            big-endian                no <br>
            runtime cpu detection     yes <br>
            ARMv5TE enabled           yes <br>
            ARMv6 enabled             yes <br>
            ARMv6T2 enabled           yes <br>
            VFP enabled               yes <br>
            NEON enabled              yes</span></span></p>
      <p>but when I switch to --arch=arm64 neon gets disabled.<span
          style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;"><br>
          </span></span></p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">configure
            --enable-cross-compile
--cross-prefix=/tk/raspberrypi/cross-pi-gcc-10.3.0-2/bin/arm-linux-gnueabihf-
            --arch=arm64 --t</span>arget-os=linux --disable-everything
          --enable-pic --enable-neon --enable-optimizations --enable-fft<br>
        </span></p>
      <p><br>
        <span style="font-family:monospace"><span
            style="font-family:monospace"><span
              style="font-family:monospace"><span
                style="color:#000000;background-color:#ffffff;">ARCH
                                     aarch64 (generic) </span><br>
              big-endian                no <br>
              runtime cpu detection     yes <br>
              NEON enabled              no <br>
              VFP enabled               no<br>
              <br>
              Jon<br>
            </span></span></span></p>
      <div class="moz-cite-prefix">On 2022-11-17 22:36, drwho wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:f2602b3f-5a6f-293a-a546-42b920a64429@infidigm.net">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>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.<br>
        </p>
        <p><span style="font-family:monospace"><span
              style="color:#000000;background-color:#ffffff;">./configure
              --arch=arm64 --disable-everything --enable-pic
              --enable-neon --enable-optimizations --cpu=cortex-a8
              --cc=/usr/bin/clang</span></span></p>
        <p><br>
          <span style="font-family:monospace"><span
              style="color:#000000;background-color:#ffffff;"><span
                style="font-family:monospace"><span
                  style="color:#000000;background-color:#ffffff;">C
                  compiler                /usr/bin/clang </span><br>
                C library                  <br>
                host C compiler           gcc <br>
                host C library             <br>
                ARCH                      aarch64 (cortex-a8) <br>
                big-endian                no <br>
                runtime cpu detection     yes <br>
                NEON enabled              no <br>
                VFP enabled               no <br>
                debug symbols             yes <br>
                strip symbols             yes <br>
                optimize for size         no <br>
                optimizations             yes <br>
                static                    yes <br>
                shared                    no <br>
                postprocessing support    no <br>
                network support           yes <br>
                threading support         pthreads <br>
                safe bitstream reader     yes <br>
                texi2html enabled         no <br>
                perl enabled              yes <br>
                pod2man enabled           yes <br>
                makeinfo enabled          yes <br>
                makeinfo supports HTML    no <br>
                xmllint enabled           yes<br>
                <br>
                <br>
              </span></span></span></p>
      </blockquote>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="https://ffmpeg.org/mailman/listinfo/libav-user">https://ffmpeg.org/mailman/listinfo/libav-user</a>

To unsubscribe, visit link above, or email
<a class="moz-txt-link-abbreviated" href="mailto:libav-user-request@ffmpeg.org">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".
</pre>
    </blockquote>
  </body>
</html>