• MorphOS Developer
    Piru
    Posts: 576 from 2003/2/24
    From: finland, the l...
    Quote:

    ernsteiswuerfel wrote:
    Altivec seems to have other problems too in current code (see here). But looks like at least for the 'yuv2rgb_altivec.c'-part this fix probably works.

    ffmpeg on Wayfarer is not affected as I chose to selectively revert to older code, not yet messed up by these changes.

    However, the current issue is rather that the whole ffmpeg is built with the -maltivec flag, resulting in binary that uses altivec only opcodes even for parts that don't even use altivec per se. This is rather idiotic, considering the code itself has provisions to dynamically check for altivec and use altivec parts only when the unit is available.

    Unfortunately this doesn't work with modern gcc versions since they like to plaster vrsave all over the place. The fix requires arduous separation of source code components that actually use altivec and building only them with -maltivec.
  • »21.04.21 - 20:32
    Profile