| 1 |
/* { dg-skip-if "" { *-*-* } { "-DSTREAMING_COMPATIBLE" } { "" } } */ |
| 2 |
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */ |
| 3 |
|
| 4 |
#include "test_sve_acle.h" |
| 5 |
|
| 6 |
/* |
| 7 |
** histseg_u8_tied1: |
| 8 |
** histseg z0\.b, z0\.b, z1\.b |
| 9 |
** ret |
| 10 |
*/ |
| 11 |
TEST_TYPE_CHANGE_Z (histseg_u8_tied1, svuint8_t, svuint8_t, |
| 12 |
z0_res = svhistseg_u8 (z0, z1), |
| 13 |
z0_res = svhistseg (z0, z1)) |
| 14 |
|
| 15 |
/* |
| 16 |
** histseg_u8_tied2: |
| 17 |
** histseg z0\.b, z1\.b, z0\.b |
| 18 |
** ret |
| 19 |
*/ |
| 20 |
TEST_TYPE_CHANGE_Z (histseg_u8_tied2, svuint8_t, svuint8_t, |
| 21 |
z0_res = svhistseg_u8 (z1, z0), |
| 22 |
z0_res = svhistseg (z1, z0)) |
| 23 |
|
| 24 |
/* |
| 25 |
** histseg_u8_untied: |
| 26 |
** histseg z0\.b, z1\.b, z2\.b |
| 27 |
** ret |
| 28 |
*/ |
| 29 |
TEST_TYPE_CHANGE_Z (histseg_u8_untied, svuint8_t, svuint8_t, |
| 30 |
z0_res = svhistseg_u8 (z1, z2), |
| 31 |
z0_res = svhistseg (z1, z2)) |