| 1 |
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */ |
| 2 |
|
| 3 |
#include "test_sve_acle.h" |
| 4 |
|
| 5 |
/* |
| 6 |
** qincp_u64_tied: |
| 7 |
** uqincp z0\.d, p0 |
| 8 |
** ret |
| 9 |
*/ |
| 10 |
TEST_UNIFORM_Z (qincp_u64_tied, svuint64_t, |
| 11 |
z0 = svqincp_u64 (z0, p0), |
| 12 |
z0 = svqincp (z0, p0)) |
| 13 |
|
| 14 |
/* |
| 15 |
** qincp_u64_untied: |
| 16 |
** movprfx z0, z1 |
| 17 |
** uqincp z0\.d, p0 |
| 18 |
** ret |
| 19 |
*/ |
| 20 |
TEST_UNIFORM_Z (qincp_u64_untied, svuint64_t, |
| 21 |
z0 = svqincp_u64 (z1, p0), |
| 22 |
z0 = svqincp (z1, p0)) |
| 23 |
|
| 24 |
/* |
| 25 |
** qincp_n_u64_b8_tied: |
| 26 |
** uqincp x0, p0\.b |
| 27 |
** ret |
| 28 |
*/ |
| 29 |
TEST_UNIFORM_S (qincp_n_u64_b8_tied, uint64_t, |
| 30 |
x0 = svqincp_n_u64_b8 (x0, p0), |
| 31 |
x0 = svqincp_b8 (x0, p0)) |
| 32 |
|
| 33 |
/* |
| 34 |
** qincp_n_u64_b8_untied: |
| 35 |
** mov x0, x1 |
| 36 |
** uqincp x0, p0\.b |
| 37 |
** ret |
| 38 |
*/ |
| 39 |
TEST_UNIFORM_S (qincp_n_u64_b8_untied, uint64_t, |
| 40 |
x0 = svqincp_n_u64_b8 (x1, p0), |
| 41 |
x0 = svqincp_b8 (x1, p0)) |
| 42 |
|
| 43 |
/* |
| 44 |
** qincp_n_u64_b16_tied: |
| 45 |
** uqincp x0, p0\.h |
| 46 |
** ret |
| 47 |
*/ |
| 48 |
TEST_UNIFORM_S (qincp_n_u64_b16_tied, uint64_t, |
| 49 |
x0 = svqincp_n_u64_b16 (x0, p0), |
| 50 |
x0 = svqincp_b16 (x0, p0)) |
| 51 |
|
| 52 |
/* |
| 53 |
** qincp_n_u64_b16_untied: |
| 54 |
** mov x0, x1 |
| 55 |
** uqincp x0, p0\.h |
| 56 |
** ret |
| 57 |
*/ |
| 58 |
TEST_UNIFORM_S (qincp_n_u64_b16_untied, uint64_t, |
| 59 |
x0 = svqincp_n_u64_b16 (x1, p0), |
| 60 |
x0 = svqincp_b16 (x1, p0)) |
| 61 |
|
| 62 |
/* |
| 63 |
** qincp_n_u64_b32_tied: |
| 64 |
** uqincp x0, p0\.s |
| 65 |
** ret |
| 66 |
*/ |
| 67 |
TEST_UNIFORM_S (qincp_n_u64_b32_tied, uint64_t, |
| 68 |
x0 = svqincp_n_u64_b32 (x0, p0), |
| 69 |
x0 = svqincp_b32 (x0, p0)) |
| 70 |
|
| 71 |
/* |
| 72 |
** qincp_n_u64_b32_untied: |
| 73 |
** mov x0, x1 |
| 74 |
** uqincp x0, p0\.s |
| 75 |
** ret |
| 76 |
*/ |
| 77 |
TEST_UNIFORM_S (qincp_n_u64_b32_untied, uint64_t, |
| 78 |
x0 = svqincp_n_u64_b32 (x1, p0), |
| 79 |
x0 = svqincp_b32 (x1, p0)) |
| 80 |
|
| 81 |
/* |
| 82 |
** qincp_n_u64_b64_tied: |
| 83 |
** uqincp x0, p0\.d |
| 84 |
** ret |
| 85 |
*/ |
| 86 |
TEST_UNIFORM_S (qincp_n_u64_b64_tied, uint64_t, |
| 87 |
x0 = svqincp_n_u64_b64 (x0, p0), |
| 88 |
x0 = svqincp_b64 (x0, p0)) |
| 89 |
|
| 90 |
/* |
| 91 |
** qincp_n_u64_b64_untied: |
| 92 |
** mov x0, x1 |
| 93 |
** uqincp x0, p0\.d |
| 94 |
** ret |
| 95 |
*/ |
| 96 |
TEST_UNIFORM_S (qincp_n_u64_b64_untied, uint64_t, |
| 97 |
x0 = svqincp_n_u64_b64 (x1, p0), |
| 98 |
x0 = svqincp_b64 (x1, p0)) |