• MorphOS Developer
    cyfm
    Posts: 483 from 2003/4/11
    From: Germany
    Quote:

    beworld schrieb:

    @cyfm

    Detection Altivec seem good but for some reason, SDL2 crash.

    HasAltiVec return 0 in all SDL2, so it's good. (i test with NOALTIVEC in boot)

    the crash is here :
    https://github.com/BeWorld2018/SDL/blob/MorphOS/src/core/morphos/SDL_cpu.c#L148




    You basically can not call functions with code containing AltiVec instructions on a non-AltiVec CPU, even if you have some HasAltiVec check in there at the very top.
    Typically, it will already execute some AltiVec specific code in the prolog.
  • »30.11.21 - 21:06
    Profile Visit Website