Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/histcnt_u32.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 /*
7 ** histcnt_u32_z_tied1:
8 ** histcnt z0\.s, p0/z, z0\.s, z1\.s
9 ** ret
10 */
11 TEST_TYPE_CHANGE_Z (histcnt_u32_z_tied1, svuint32_t, svuint32_t,
12 z0_res = svhistcnt_u32_z (p0, z0, z1),
13 z0_res = svhistcnt_z (p0, z0, z1))
14
15 /*
16 ** histcnt_u32_z_tied2:
17 ** histcnt z0\.s, p0/z, z1\.s, z0\.s
18 ** ret
19 */
20 TEST_TYPE_CHANGE_Z (histcnt_u32_z_tied2, svuint32_t, svuint32_t,
21 z0_res = svhistcnt_u32_z (p0, z1, z0),
22 z0_res = svhistcnt_z (p0, z1, z0))
23
24 /*
25 ** histcnt_u32_z_untied:
26 ** histcnt z0\.s, p0/z, z1\.s, z2\.s
27 ** ret
28 */
29 TEST_TYPE_CHANGE_Z (histcnt_u32_z_untied, svuint32_t, svuint32_t,
30 z0_res = svhistcnt_u32_z (p0, z1, z2),
31 z0_res = svhistcnt_z (p0, z1, z2))