gcc/testsuite/gcc.target/i386/cond_op_maxmin__Float16-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -march=sapphirerapids -DTYPE=_Float16 -fdump-tree-optimized -DFN_MAX=__builtin_fmaxf16 -DFN_MIN=__builtin_fminf16" } */ |
| 3 | /* { dg-final { scan-tree-dump ".COND_MAX" "optimized" } } */ |
| 4 | /* { dg-final { scan-tree-dump ".COND_MIN" "optimized" } } */ |
| 5 | /* { dg-final { scan-assembler-times "vmaxph" 1 } } */ |
| 6 | /* { dg-final { scan-assembler-times "vminph" 1 } } */ |
| 7 | |
| 8 | #include "cond_op_maxmin_double-1.c" |