Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/rax1_s64.c

raw
1 /* { dg-skip-if "" { *-*-* } { "-DSTREAMING_COMPATIBLE" } { "" } } */
2 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
3
4 #include "test_sve_acle.h"
5
6 #pragma GCC target "+sve2-sha3"
7
8 /*
9 ** rax1_s64_tied1:
10 ** rax1 z0\.d, z0\.d, z1\.d
11 ** ret
12 */
13 TEST_UNIFORM_Z (rax1_s64_tied1, svint64_t,
14 z0 = svrax1_s64 (z0, z1),
15 z0 = svrax1 (z0, z1))
16
17 /*
18 ** rax1_s64_tied2:
19 ** rax1 z0\.d, z1\.d, z0\.d
20 ** ret
21 */
22 TEST_UNIFORM_Z (rax1_s64_tied2, svint64_t,
23 z0 = svrax1_s64 (z1, z0),
24 z0 = svrax1 (z1, z0))
25
26 /*
27 ** rax1_s64_untied:
28 ** rax1 z0\.d, z1\.d, z2\.d
29 ** ret
30 */
31 TEST_UNIFORM_Z (rax1_s64_untied, svint64_t,
32 z0 = svrax1_s64 (z1, z2),
33 z0 = svrax1 (z1, z2))