| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -mvsx -ffast-math" } */ |
| 3 |
/* { dg-require-effective-target powerpc_vsx } */ |
| 4 |
/* { dg-final { scan-assembler-times {\mxsmaxcdp\M} 3 { target has_arch_pwr9 } } } */ |
| 5 |
/* { dg-final { scan-assembler-times {\mxsmincdp\M} 3 { target has_arch_pwr9 } } } */ |
| 6 |
/* { dg-final { scan-assembler-times {\mxsmaxdp\M} 3 { target { ! has_arch_pwr9 } } } } */ |
| 7 |
/* { dg-final { scan-assembler-times {\mxsmindp\M} 3 { target { ! has_arch_pwr9 } } } } */ |
| 8 |
|
| 9 |
/* Verify that GCC generates expected min/max hw insns instead of fmin/fmax |
| 10 |
calls. */ |
| 11 |
#include "pr103605.h" |