Priest of the Order of the Butterfly
Posts: 558 from 2010/2/10
From: FRANCE
ok thank you for the explanations
Quote:cyfm a écrit :
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.