1  /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
       2  
       3  #include "test_sve_acle.h"
       4  
       5  /*
       6  ** clz_s64_m_tied1:
       7  **	clz	z0\.d, p0/m, z4\.d
       8  **	ret
       9  */
      10  TEST_DUAL_Z (clz_s64_m_tied1, svuint64_t, svint64_t,
      11  	     z0 = svclz_s64_m (z0, p0, z4),
      12  	     z0 = svclz_m (z0, p0, z4))
      13  
      14  /*
      15  ** clz_s64_m_untied:
      16  **	movprfx	z0, z1
      17  **	clz	z0\.d, p0/m, z4\.d
      18  **	ret
      19  */
      20  TEST_DUAL_Z (clz_s64_m_untied, svuint64_t, svint64_t,
      21  	     z0 = svclz_s64_m (z1, p0, z4),
      22  	     z0 = svclz_m (z1, p0, z4))
      23  
      24  /*
      25  ** clz_s64_z:
      26  **	movprfx	z0\.d, p0/z, z4\.d
      27  **	clz	z0\.d, p0/m, z4\.d
      28  **	ret
      29  */
      30  TEST_DUAL_Z (clz_s64_z, svuint64_t, svint64_t,
      31  	     z0 = svclz_s64_z (p0, z4),
      32  	     z0 = svclz_z (p0, z4))
      33  
      34  /*
      35  ** clz_s64_x:
      36  **	movprfx	z0, z4
      37  **	clz	z0\.d, p0/m, z4\.d
      38  **	ret
      39  */
      40  TEST_DUAL_Z (clz_s64_x, svuint64_t, svint64_t,
      41  	     z0 = svclz_s64_x (p0, z4),
      42  	     z0 = svclz_x (p0, z4))