[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <172657576225.2195991.10894874767253579579.b4-ty@ellerman.id.au>
Date: Tue, 17 Sep 2024 22:22:42 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: linuxppc-dev@...ts.ozlabs.org, Michael Ellerman <mpe@...erman.id.au>
Cc: christophe.leroy@...roup.eu, segher@...nel.crashing.org, sfr@...b.auug.org.au, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, almasrymina@...gle.com, kuba@...nel.org
Subject: Re: [PATCH] powerpc/atomic: Use YZ constraints for DS-form instructions
On Mon, 16 Sep 2024 22:05:10 +1000, Michael Ellerman wrote:
> The 'ld' and 'std' instructions require a 4-byte aligned displacement
> because they are DS-form instructions. But the "m" asm constraint
> doesn't enforce that.
>
> That can lead to build errors if the compiler chooses a non-aligned
> displacement, as seen with GCC 14:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/atomic: Use YZ constraints for DS-form instructions
https://git.kernel.org/powerpc/c/39190ac7cff1fd15135fa8e658030d9646fdb5f2
cheers
Powered by blists - more mailing lists