[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjL1Jkr6L_fak_SDWiHZy3-KFpM9+_oG57G9zPc6yg=yg@mail.gmail.com>
Date: Mon, 29 Sep 2025 19:24:29 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Alexander Gordeev <agordeev@...ux.ibm.com>
Cc: Vasily Gorbik <gor@...ux.ibm.com>, Heiko Carstens <hca@...ux.ibm.com>, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [GIT PULL] s390 updates for 6.18 merge window
On Mon, 29 Sept 2025 at 02:38, Alexander Gordeev <agordeev@...ux.ibm.com> wrote:
>
> - Make the compiler statement attribute "assume" available with
> a new __assume macro
Ahh. Interesting. I hadn't realized this existed.
It does seem like a potentially dangerous feature - you get some very
confusing behavior if you misuse it, but looks quite useful for
describing the results of inline asm like you do.
I have definitely had cases where I would have liked to tell the
compiler that the result is already zero-extended or similar, and this
looks good for that.
Linus
Powered by blists - more mailing lists