Index | Thread | Search

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

Download raw body.

Thread
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.