[PATCH] aarch64: Fix ACLE SME streaming mode error in neon-sve-bridge

Richard Ball richard.ball@arm.com
Thu Feb 1 16:25:29 GMT 2024


When using LTO, handling the pragma for sme before the pragma
for the neon-sve-bridge caused the following error on svset_neonq,
in the neon-sve-bridge.c test.

error: ACLE function '0' can only be called when SME streaming mode is enabled.

Handling the pragmas the other way around fixes this.

No regressions on aarch64-none-elf.


gcc/ChangeLog:

        * config/aarch64/aarch64-sve-builtins.cc (init_builtins):
        Re-order handle pragma functions for lto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SME_Streaming_fix.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20240201/25bf3fbc/attachment-0001.bin>


More information about the Gcc-patches mailing list