(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
sve2/
acle/
asm/
pmullb_pair_u32.c
       1  /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
       2  
       3  #include "test_sve_acle.h"
       4  
       5  /*
       6  ** pmullb_pair_u32_tied1:
       7  **	pmullb	z0\.d, z0\.s, z1\.s
       8  **	ret
       9  */
      10  TEST_UNIFORM_Z (pmullb_pair_u32_tied1, svuint32_t,
      11  		z0 = svpmullb_pair_u32 (z0, z1),
      12  		z0 = svpmullb_pair (z0, z1))
      13  
      14  /*
      15  ** pmullb_pair_u32_tied2:
      16  **	pmullb	z0\.d, z1\.s, z0\.s
      17  **	ret
      18  */
      19  TEST_UNIFORM_Z (pmullb_pair_u32_tied2, svuint32_t,
      20  		z0 = svpmullb_pair_u32 (z1, z0),
      21  		z0 = svpmullb_pair (z1, z0))
      22  
      23  /*
      24  ** pmullb_pair_u32_untied:
      25  **	pmullb	z0\.d, z1\.s, z2\.s
      26  **	ret
      27  */
      28  TEST_UNIFORM_Z (pmullb_pair_u32_untied, svuint32_t,
      29  		z0 = svpmullb_pair_u32 (z1, z2),
      30  		z0 = svpmullb_pair (z1, z2))
      31  
      32  /*
      33  ** pmullb_pair_w0_u32_tied1:
      34  **	mov	(z[0-9]+\.s), w0
      35  **	pmullb	z0\.d, z0\.s, \1
      36  **	ret
      37  */
      38  TEST_UNIFORM_ZX (pmullb_pair_w0_u32_tied1, svuint32_t, uint32_t,
      39  		 z0 = svpmullb_pair_n_u32 (z0, x0),
      40  		 z0 = svpmullb_pair (z0, x0))
      41  
      42  /*
      43  ** pmullb_pair_w0_u32_untied:
      44  **	mov	(z[0-9]+\.s), w0
      45  **	pmullb	z0\.d, z1\.s, \1
      46  **	ret
      47  */
      48  TEST_UNIFORM_ZX (pmullb_pair_w0_u32_untied, svuint32_t, uint32_t,
      49  		 z0 = svpmullb_pair_n_u32 (z1, x0),
      50  		 z0 = svpmullb_pair (z1, x0))
      51  
      52  /*
      53  ** pmullb_pair_11_u32_tied1:
      54  **	mov	(z[0-9]+\.s), #11
      55  **	pmullb	z0\.d, z0\.s, \1
      56  **	ret
      57  */
      58  TEST_UNIFORM_Z (pmullb_pair_11_u32_tied1, svuint32_t,
      59  		z0 = svpmullb_pair_n_u32 (z0, 11),
      60  		z0 = svpmullb_pair (z0, 11))
      61  
      62  /*
      63  ** pmullb_pair_11_u32_untied:
      64  **	mov	(z[0-9]+\.s), #11
      65  **	pmullb	z0\.d, z1\.s, \1
      66  **	ret
      67  */
      68  TEST_UNIFORM_Z (pmullb_pair_11_u32_untied, svuint32_t,
      69  		z0 = svpmullb_pair_n_u32 (z1, 11),
      70  		z0 = svpmullb_pair (z1, 11))