Files
FFmpeg/libavutil/ppc
Kacper Michajłow 9066387b68 configure: build only the AltiVec and VSX files with their flags
The PPC SIMD code is selected at runtime, but configure added
-maltivec -mabi=altivec and -mvsx to CFLAGS, so GCC could emit AltiVec
and VSX instructions in any function. It does, so a default PPC32 build
crashes on CPUs without AltiVec. Collect the flags in ALTIVECFLAGS and
VSXFLAGS and add them only to the ALTIVEC-OBJS and VSX-OBJS objects and
to the header check of util_altivec.h. VSX is only enabled on
little-endian, where the AltiVec code loads and stores with VSX, so
there the AltiVec files get the VSX flags, as they did through CFLAGS.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2026-11-02 07:24:04 +00:00
..
…
…