aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr103605-1.c
blob: 67a16b5513b4a0e804531fcd81a748d2c569f79d (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2 -mvsx" } */
/* { dg-require-effective-target powerpc_vsx } */
/* { dg-final { scan-assembler-times {\mxsmaxdp\M} 3 } } */
/* { dg-final { scan-assembler-times {\mxsmindp\M} 3 } } */

/* Verify that GCC generates expected min/max hw insns instead of fmin/fmax
   calls.  */
#include "pr103605.h"