(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
float128-hw8.c
       1  /* { dg-do compile { target lp64 } } */
       2  /* { dg-require-effective-target powerpc_p9vector_ok } */
       3  /* { dg-require-effective-target float128 } */
       4  /* { dg-options "-mpower9-vector -O2" } */
       5  
       6  extern _Float128 fminf128 (_Float128, _Float128);
       7  extern _Float128 fmaxf128 (_Float128, _Float128);
       8  
       9  /* Check min/max optimizations that are done for double are also done for
      10     _Float128.  */
      11  
      12  _Float128
      13  min_x_x (_Float128 x)
      14  {
      15    return fminf128 (x, x);
      16  }
      17  
      18  _Float128
      19  max_x_x (_Float128 x)
      20  {
      21    return fmaxf128 (x, x);
      22  }
      23  
      24  /* { dg-final { scan-assembler-not {\mxscmpuqp\M} } } */
      25  /* { dg-final { scan-assembler-not {\mbl\M}       } } */