| 1 |
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" { target { ! ilp32 } } } } */ |
| 2 |
|
| 3 |
#include "test_sve_acle.h" |
| 4 |
|
| 5 |
/* |
| 6 |
** whilewr_rr_u32: |
| 7 |
** whilewr p0\.s, x0, x1 |
| 8 |
** ret |
| 9 |
*/ |
| 10 |
TEST_COMPARE_S (whilewr_rr_u32, const uint32_t *, |
| 11 |
p0 = svwhilewr_u32 (x0, x1), |
| 12 |
p0 = svwhilewr (x0, x1)) |
| 13 |
|
| 14 |
/* |
| 15 |
** whilewr_0r_u32: |
| 16 |
** whilewr p0\.s, xzr, x1 |
| 17 |
** ret |
| 18 |
*/ |
| 19 |
TEST_COMPARE_S (whilewr_0r_u32, const uint32_t *, |
| 20 |
p0 = svwhilewr_u32 ((const uint32_t *) 0, x1), |
| 21 |
p0 = svwhilewr ((const uint32_t *) 0, x1)) |
| 22 |
|
| 23 |
/* |
| 24 |
** whilewr_cr_u32: |
| 25 |
** mov (x[0-9]+), #?1073741824 |
| 26 |
** whilewr p0\.s, \1, x1 |
| 27 |
** ret |
| 28 |
*/ |
| 29 |
TEST_COMPARE_S (whilewr_cr_u32, const uint32_t *, |
| 30 |
p0 = svwhilewr_u32 ((const uint32_t *) 1073741824, x1), |
| 31 |
p0 = svwhilewr ((const uint32_t *) 1073741824, x1)) |
| 32 |
|
| 33 |
/* |
| 34 |
** whilewr_r0_u32: |
| 35 |
** whilewr p0\.s, x0, xzr |
| 36 |
** ret |
| 37 |
*/ |
| 38 |
TEST_COMPARE_S (whilewr_r0_u32, const uint32_t *, |
| 39 |
p0 = svwhilewr_u32 (x0, (const uint32_t *) 0), |
| 40 |
p0 = svwhilewr (x0, (const uint32_t *) 0)) |
| 41 |
|
| 42 |
/* |
| 43 |
** whilewr_rc_u32: |
| 44 |
** mov (x[0-9]+), #?1073741824 |
| 45 |
** whilewr p0\.s, x0, \1 |
| 46 |
** ret |
| 47 |
*/ |
| 48 |
TEST_COMPARE_S (whilewr_rc_u32, const uint32_t *, |
| 49 |
p0 = svwhilewr_u32 (x0, (const uint32_t *) 1073741824), |
| 50 |
p0 = svwhilewr (x0, (const uint32_t *) 1073741824)) |