On Sun, 10 Mar 2024 18:26:04 +0100 Omar Polo <o...@omarpolo.com> wrote:
> The alternative, if I'm reading this[0] correctly, is to sprinkle some > #include <altivec.h> and -maltivec, but since it's not used I think it's > easier to just remove it. If it works I'll upstream this as well. On Sun, 10 Mar 2024 18:42:06 +0100 Tobias Heider <tobias.hei...@stusta.de> wrote: > Do we actually support ppcs without altivec? I guess it might work better > with altivec enabled instead. OpenBSD/macppc runs on PowerPC G3 without altivec, and G4 and G5 with altivec. The default from clang is -mno-altivec for powerpc, but -maltivec for powerpc64. This game needs 3d acceleration, but Mesa in OpenBSD/macppc can accelerate only the newer radeon cards (r300), and I have seen these cards only in G4 and G5 models with altivec. On Sun, 10 Mar 2024 19:21:22 +0100 Tobias Heider <tobias.hei...@stusta.de> wrote: > Right, the commit history also doesn't really help. I can test it and see if > it > works with just the vec removed. The other __ppc__ parts might actually work. The other __ppc__ parts use the "fsel" and "frsqrte" instructions. These were optional instructions, but the G3 does have them (in the MPC750 manual). --gkoehler