--- mesa-21.3.8/src/gallium/auxiliary/gallivm/lp_bld_init.c.orig 2022-03-18 20:26:47.000000000 +0100 +++ mesa-21.3.8/src/gallium/auxiliary/gallivm/lp_bld_init.c 2022-05-25 11:57:47.748601330 +0200 @@ -477,6 +477,7 @@ #endif #ifdef PIPE_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 @@ -497,6 +498,7 @@ ); } #endif +#endif gallivm_initialized = TRUE;