Re: ffmpeg: Please disable ASM-based optimizations on ppc64 as well

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <4dc382851f0888db55316a816e6c7d4ab4c3ef5c.camel@physik.fu-berlin.de>
Hi Sean,

On Fri, 15 Aug 2025 20:27:03 -0400 Sean McGovern <[email protected]> wrote:
> This seems a bit heavy-handed on big-endian ppc64.
> 
> On this specific target, the only failing test is the AltiVec acceleration
> for lossless audio DSP.
> 
> The failure is annoyingly sporadic as well.

I'm not sure whether it's sporadic. ffmpeg hasn't built on ppc64 since October:

https://buildd.debian.org/status/logs.php?pkg=ffmpeg&arch=ppc64

> It might be more surgical to just remove
> libavcodec/ppc/lossless_audiodsp_altivec.c from the build (and it's
> correlating registration in libavcodec/lossless_audiodsp.c ). I'd be more
> than happy to prepare such a change and send a merge request if this is OK.

We're currently using a non-Altivec baseline on ppc64 if that matters.

> I can't speak for ppc64el as upstream currently lacks access to such
> equipment.

They can just test ppc64- and ppc64el-related changes on the GCC compile farm:

https://gcc.gnu.org/wiki/CompileFarm

FWIW, you can test any ppc64-related changes on perotto.debian.net.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.