Re: [PATCH] x86: don't have gcc over-align data

2025-07-21 Thread Roger Pau Monné
On Mon, Jul 21, 2025 at 06:05:22PM +0200, Jan Beulich wrote: > On 21.07.2025 16:48, Roger Pau Monné wrote: > > On Wed, Jun 25, 2025 at 11:04:14AM +0200, Jan Beulich wrote: > >> For (aiui) backwards compatibility reasons, gcc defaults to a mode that > >> was the exclusive one up to gcc4.8, establish

Re: [PATCH] x86: don't have gcc over-align data

2025-07-21 Thread Jan Beulich
On 21.07.2025 16:48, Roger Pau Monné wrote: > On Wed, Jun 25, 2025 at 11:04:14AM +0200, Jan Beulich wrote: >> For (aiui) backwards compatibility reasons, gcc defaults to a mode that >> was the exclusive one up to gcc4.8, establishing 32-byte alignment for >> aggregates larger than a certain size. W

Re: [PATCH] x86: don't have gcc over-align data

2025-07-21 Thread Roger Pau Monné
On Wed, Jun 25, 2025 at 11:04:14AM +0200, Jan Beulich wrote: > For (aiui) backwards compatibility reasons, gcc defaults to a mode that > was the exclusive one up to gcc4.8, establishing 32-byte alignment for > aggregates larger than a certain size. We don't rely on such, and hence > we can do with

Re: [PATCH] x86: don't have gcc over-align data

2025-06-26 Thread Jan Beulich
On 25.06.2025 11:04, Jan Beulich wrote: > For (aiui) backwards compatibility reasons, gcc defaults to a mode that > was the exclusive one up to gcc4.8, establishing 32-byte alignment for Correction - it's 16- or 32-byte alignment, depending on size. > aggregates larger than a certain size. We don