<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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>
  </body>
</html>