Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/acle/asm/ptrue.c

raw
1 /* { dg-additional-options "-msve-vector-bits=scalable" } */
2 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
3
4 #include "test_sve_acle.h"
5
6 /*
7 ** ptrue_b8:
8 ** ptrue p0\.b, all
9 ** ret
10 */
11 TEST_P (ptrue_b8,
12 p0 = svptrue_b8 (),
13 p0 = svptrue_b8 ());
14
15 /*
16 ** ptrue_b16:
17 ** ptrue p0\.h, all
18 ** ret
19 */
20 TEST_P (ptrue_b16,
21 p0 = svptrue_b16 (),
22 p0 = svptrue_b16 ());
23
24 /*
25 ** ptrue_b32:
26 ** ptrue p0\.s, all
27 ** ret
28 */
29 TEST_P (ptrue_b32,
30 p0 = svptrue_b32 (),
31 p0 = svptrue_b32 ());
32
33 /*
34 ** ptrue_b64:
35 ** ptrue p0\.d, all
36 ** ret
37 */
38 TEST_P (ptrue_b64,
39 p0 = svptrue_b64 (),
40 p0 = svptrue_b64 ());