]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/tbx_u32.c
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
3 #include "test_sve_acle.h"
7 ** tbx z0\.s, z1\.s, z4\.s
10 TEST_DUAL_Z (tbx_u32_tied1
, svuint32_t
, svuint32_t
,
11 z0
= svtbx_u32 (z0
, z1
, z4
),
12 z0
= svtbx (z0
, z1
, z4
))
14 /* Bad RA choice: no preferred output sequence. */
15 TEST_DUAL_Z (tbx_u32_tied2
, svuint32_t
, svuint32_t
,
16 z0
= svtbx_u32 (z1
, z0
, z4
),
17 z0
= svtbx (z1
, z0
, z4
))
19 /* Bad RA choice: no preferred output sequence. */
20 TEST_DUAL_Z_REV (tbx_u32_tied3
, svuint32_t
, svuint32_t
,
21 z0_res
= svtbx_u32 (z4
, z5
, z0
),
22 z0_res
= svtbx (z4
, z5
, z0
))
28 ** tbx z0\.s, z2\.s, z4\.s
30 ** tbx z1\.s, z2\.s, z4\.s
35 TEST_DUAL_Z (tbx_u32_untied
, svuint32_t
, svuint32_t
,
36 z0
= svtbx_u32 (z1
, z2
, z4
),
37 z0
= svtbx (z1
, z2
, z4
))