]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/histcnt_u32.c
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
3 #include "test_sve_acle.h"
6 ** histcnt_u32_z_tied1:
7 ** histcnt z0\.s, p0/z, z0\.s, z1\.s
10 TEST_TYPE_CHANGE_Z (histcnt_u32_z_tied1
, svuint32_t
, svuint32_t
,
11 z0_res
= svhistcnt_u32_z (p0
, z0
, z1
),
12 z0_res
= svhistcnt_z (p0
, z0
, z1
))
15 ** histcnt_u32_z_tied2:
16 ** histcnt z0\.s, p0/z, z1\.s, z0\.s
19 TEST_TYPE_CHANGE_Z (histcnt_u32_z_tied2
, svuint32_t
, svuint32_t
,
20 z0_res
= svhistcnt_u32_z (p0
, z1
, z0
),
21 z0_res
= svhistcnt_z (p0
, z1
, z0
))
24 ** histcnt_u32_z_untied:
25 ** histcnt z0\.s, p0/z, z1\.s, z2\.s
28 TEST_TYPE_CHANGE_Z (histcnt_u32_z_untied
, svuint32_t
, svuint32_t
,
29 z0_res
= svhistcnt_u32_z (p0
, z1
, z2
),
30 z0_res
= svhistcnt_z (p0
, z1
, z2
))