On 3/24/22 18:40, Heiko Carstens wrote:
On Wed, Mar 23, 2022 at 06:03:19PM +0100, Nico Boehr wrote: ...+static inline unsigned long load_guarded(unsigned long *p) +{ + unsigned long v; + + asm(".insn rxy,0xe3000000004c, %0,%1" + : "=d" (v) + : "m" (*p) + : "r14", "memory"); + return v; +}It was like that before, but why is r14 within the clobber list? That doesn't make sense.
r14 is changed in the gs handler of the gs test which is executed if the "guarded" part of the load takes place.