> On 28 May 2026, at 22:52, Alex Coplan <[email protected]> wrote:
>
> Hi all,
>
> This promotes Uci and Ucj from internal to public constraints. They are
> already both documented publically in LLVM [1] and we've had a request
> from kernel folks who would like to make use of Ucj for saving/restoring
> ZA contents [2].
>
> Bootstrapped/regtested on aarch64-linux-gnu, OK for trunk?
Ok, since the constraints are already implemented and LLVM exposes and the
kernel wants to use them.
Thanks,
Kyrill
>
> Thanks,
> Alex
>
> [1] : https://llvm.org/docs/LangRef.html#supported-constraint-code-list
> [2] : https://lore.kernel.org/linux-arm-kernel/ahW8Eba3SNqfVDdk@J2N7QTR9R3/
>
> gcc/ChangeLog:
>
> * config/aarch64/constraints.md (Uci): Drop @internal, slightly tweak
> doc string.
> (Ucj): Likewise.
> * doc/md.texi (Machine Constraints): Document Uci and Ucj under AArch64
> family.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/aarch64/sme/inline-asm.c: New test.
> ---
> gcc/config/aarch64/constraints.md | 4 ++--
> gcc/doc/md.texi | 8 ++++++++
> .../gcc.target/aarch64/sme/inline-asm.c | 16 ++++++++++++++++
> 3 files changed, 26 insertions(+), 2 deletions(-)
> create mode 100644 gcc/testsuite/gcc.target/aarch64/sme/inline-asm.c
>
> <0001-aarch64-Make-Uc-ij-constraints-public.patch>