gallium/util: fix crash with daz detection on x86
[mesa.git] / src / gallium / auxiliary / util / u_cpu_detect.c
index 5d9db59d16b76bb1fd330b85742eb06d2574cfeb..28197f4a9d8354cd834c9314fff7a10ece2f026e 100644 (file)
@@ -272,7 +272,7 @@ static INLINE uint64_t xgetbv(void)
 
 
 #if defined(PIPE_ARCH_X86)
-static INLINE boolean sse2_has_daz(void)
+PIPE_ALIGN_STACK static INLINE boolean sse2_has_daz(void)
 {
    struct {
       uint32_t pad1[7];