1  /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
       2  
       3  #include "test_sve_acle.h"
       4  
       5  /*
       6  ** tbl2_s32_tied1:
       7  **	tbl	z0\.s, {z0\.s(?:, | - )z1\.s}, z4\.s
       8  **	ret
       9  */
      10  TEST_TBL2 (tbl2_s32_tied1, svint32x2_t, svint32_t, svuint32_t,
      11  	   z0_res = svtbl2_s32 (z0, z4),
      12  	   z0_res = svtbl2 (z0, z4))
      13  
      14  /*
      15  ** tbl2_s32_tied2:
      16  **	tbl	z0\.s, {z1\.s(?:, | - )z2\.s}, z0\.s
      17  **	ret
      18  */
      19  TEST_TBL2_REV (tbl2_s32_tied2, svint32x2_t, svint32_t, svuint32_t,
      20  	       z0_res = svtbl2_s32 (z1, z0),
      21  	       z0_res = svtbl2 (z1, z0))
      22  
      23  /*
      24  ** tbl2_s32_untied:
      25  **	tbl	z0\.s, {z2\.s(?:, | - )z3\.s}, z4\.s
      26  **	ret
      27  */
      28  TEST_TBL2 (tbl2_s32_untied, svint32x2_t, svint32_t, svuint32_t,
      29  	   z0_res = svtbl2_s32 (z2, z4),
      30  	   z0_res = svtbl2 (z2, z4))