[PATCH] aarch64: Add memory clobber to pkey_write
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Wed Aug 26 15:18:02 GMT 2026
Hi,
>> Should we open a bug report for this (and does it change the code
>> generation for current wrappers)?
>
> What do you mean by "current wrappers"?
>
> It doesn't change code generation. I've checked GCC 12..trunk and LLVM trunk.
I can't see how it could be a bug. The asm itself is at the end so can't be reordered.
You'd have to somehow inline pkey_set across DSOs...
Cheers,
Wilco
More information about the Libc-alpha
mailing list