]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/whilewr_f16.c
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
3 #include "test_sve_acle.h"
7 ** whilewr p0\.h, x0, x1
10 TEST_COMPARE_S (whilewr_rr_f16
, const float16_t
*,
11 p0
= svwhilewr_f16 (x0
, x1
),
12 p0
= svwhilewr (x0
, x1
))
16 ** whilewr p0\.h, xzr, x1
19 TEST_COMPARE_S (whilewr_0r_f16
, const float16_t
*,
20 p0
= svwhilewr_f16 ((const float16_t
*) 0, x1
),
21 p0
= svwhilewr ((const float16_t
*) 0, x1
))
25 ** mov (x[0-9]+), #?1073741824
26 ** whilewr p0\.h, \1, x1
29 TEST_COMPARE_S (whilewr_cr_f16
, const float16_t
*,
30 p0
= svwhilewr_f16 ((const float16_t
*) 1073741824, x1
),
31 p0
= svwhilewr ((const float16_t
*) 1073741824, x1
))
35 ** whilewr p0\.h, x0, xzr
38 TEST_COMPARE_S (whilewr_r0_f16
, const float16_t
*,
39 p0
= svwhilewr_f16 (x0
, (const float16_t
*) 0),
40 p0
= svwhilewr (x0
, (const float16_t
*) 0))
44 ** mov (x[0-9]+), #?1073741824
45 ** whilewr p0\.h, x0, \1
48 TEST_COMPARE_S (whilewr_rc_f16
, const float16_t
*,
49 p0
= svwhilewr_f16 (x0
, (const float16_t
*) 1073741824),
50 p0
= svwhilewr (x0
, (const float16_t
*) 1073741824))