Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sme/acle-asm/arm_in_streaming_mode_sc.c

raw
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
2
3 #define STREAMING_COMPATIBLE
4 #define NO_SHARED_ZA
5 #include "test_sme_acle.h"
6
7 #pragma GCC target "+nosme"
8
9 /*
10 ** test_nosme:
11 ** ...
12 ** bl __arm_sme_state
13 ** and w0, w0, #?1
14 ** ...
15 */
16 PROTO (test_nosme, int, ()) { return __arm_in_streaming_mode (); }
17
18 #pragma GCC target "+sme"
19
20 /*
21 ** test_sme:
22 ** mrs x([0-9]+), svcr
23 ** and w0, w\1, #?1
24 ** ret
25 */
26 PROTO (test_sme, int, ()) { return __arm_in_streaming_mode (); }