Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/acle/general/nosve_3.c

raw
1 /* { dg-options "-march=armv8-a" } */
2
3 #pragma GCC aarch64 "arm_sve.h"
4
5 void __attribute__ ((target("+sve")))
6 f (svbool_t *x, svint8_t *y)
7 {
8 *x = svptrue_b8 ();
9 *y = svadd_m (*x, *y, 1);
10 }
11
12 /* { dg-final { scan-assembler {\tadd\tz[0-9]+\.b, p[0-7]/m, z[0-9]+\.b, z[0-9]+\.b\n} } } */