1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -ffast-math -misa=sm_80 -mptx=_" } */
       3  /* { dg-additional-options "-mexperimental" } */
       4  
       5  _Float16 x;
       6  _Float16 y;
       7  _Float16 t;
       8  
       9  void foo()
      10  {
      11    t = x < y ? x : y;
      12  }
      13  
      14  void bar()
      15  {
      16    t = x > y ? x : y;
      17  }
      18  
      19  /* { dg-final { scan-assembler "min.f16" } } */
      20  /* { dg-final { scan-assembler "max.f16" } } */
      21