]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/tbl2_f16.c
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
3 #include "test_sve_acle.h"
7 ** tbl z0\.h, {z0\.h(?:, | - )z1\.h}, z4\.h
10 TEST_TBL2 (tbl2_f16_tied1
, svfloat16x2_t
, svfloat16_t
, svuint16_t
,
11 z0_res
= svtbl2_f16 (z0
, z4
),
12 z0_res
= svtbl2 (z0
, z4
))
16 ** tbl z0\.h, {z1\.h(?:, | - )z2\.h}, z0\.h
19 TEST_TBL2_REV (tbl2_f16_tied2
, svfloat16x2_t
, svfloat16_t
, svuint16_t
,
20 z0_res
= svtbl2_f16 (z1
, z0
),
21 z0_res
= svtbl2 (z1
, z0
))
25 ** tbl z0\.h, {z2\.h(?:, | - )z3\.h}, z4\.h
28 TEST_TBL2 (tbl2_f16_untied
, svfloat16x2_t
, svfloat16_t
, svuint16_t
,
29 z0_res
= svtbl2_f16 (z2
, z4
),
30 z0_res
= svtbl2 (z2
, z4
))