(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
s390/
arch13/
fp-unsignedint-convert-1.c
       1  /* { dg-compile } */
       2  
       3  typedef unsigned int __attribute__((vector_size(16))) v4si;
       4  typedef float __attribute__((vector_size(16))) v4sf;
       5  
       6  v4si
       7  touint (v4sf a)
       8  {
       9    v4si out = (v4si){ (unsigned int)a[0], (unsigned int)a[1],
      10  		     (unsigned int)a[2], (unsigned int)a[3] };
      11    return out;
      12  }
      13  
      14  /* { dg-final { scan-assembler-times "vclfeb\t%v24,%v24,0,5" 1 } } */
      15  
      16  v4sf
      17  tofloat (v4si a)
      18  {
      19    v4sf out = (v4sf){ (float)a[0], (float)a[1],
      20  		     (float)a[2], (float)a[3] };
      21    return out;
      22  }
      23  
      24  /* { dg-final { scan-assembler-times "vcelfb\t%v24,%v24,0,0" 1 } } */