Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: sys/alpha: allign _STACKALIGNBYTES with GCC expectation
To:
Miod Vallat <miod@online.fr>
Cc:
"Kirill A. Korinsky" <kirill@korins.ky>, OpenBSD tech <tech@openbsd.org>
Date:
Wed, 14 Oct 2026 10:01:58 -0600

Download raw body.

Thread
Miod Vallat <miod@online.fr> wrote:

> According to the architecture reference manual, 14.7.3 Stack Alignment:
> 
> ``Stacks may have arbitrary byte alignment, but performance may suffer
> if at least octaword alignment is not maintained by software.''
> 
> (where octaword is 128 bits)
> 
> So while the existing value is not wrong, raising it, rather than
> changing gcc defaults, is a better way to make sure code which assumes
> 128-bit alignment will keep running.

OK.

I'll do an alpha build to double-check that this doesn't run into a
problem.