| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O3 -fno-vect-cost-model" } */ |
| 3 |
/* { dg-additional-options "-mavx512f" { target { x86_64-*-* i?86-*-* } } } */ |
| 4 |
|
| 5 |
long minarray2(const long *input) |
| 6 |
{ |
| 7 |
if (input[0] < input[1]) |
| 8 |
return input[0] ; |
| 9 |
return input[1]; |
| 10 |
} |