Fortran: fix dependency checks for inquiry refs [PR115039]
[official-gcc.git] / gcc / testsuite / gcc.target / nvptx / float16-2.c
blobe15b685253bae501bfe0608dbdf885dd4465c07d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -misa=sm_80 -mptx=_" } */
3 /* { dg-additional-options "-mexperimental" } */
5 _Float16 x;
6 _Float16 y;
7 _Float16 t;
9 void foo()
11 t = x < y ? x : y;
14 void bar()
16 t = x > y ? x : y;
19 /* { dg-final { scan-assembler "min.f16" } } */
20 /* { dg-final { scan-assembler "max.f16" } } */