--- mesa-21.3.8/src/gallium/auxiliary/gallivm/lp_bld_init.h.orig 2024-08-14 18:37:13.000000000 +0200 +++ mesa-21.3.8/src/gallium/auxiliary/gallivm/lp_bld_init.h 2024-08-23 04:32:20.283151297 +0200 @@ -129,6 +129,7 @@ lp_bld_ppc_disable_denorms(void) { #if DETECT_ARCH_PPC_64 +#ifdef _ARCH_PWR5 /* Set the NJ bit in VSCR to 0 so denormalized values are handled as * specified by IEEE standard (PowerISA 2.06 - Section 6.3). This guarantees * that some rounding and half-float to float handling does not round @@ -149,6 +150,7 @@ ); } #endif +#endif } #ifdef __cplusplus