1 /* { dg-do compile { target lp64 } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-O2 -mvsx" } */
5 /* This file just generates calls to the various builtins and verifies the
6 expected number of instructions for each builtin were generated. */
8 #include "vsx-vector-6-func-cmp-all.h"
10 /* { dg-final { scan-assembler-times {\mxvcmpeqsp\M} 6 } } */
11 /* { dg-final { scan-assembler-times {\mxvcmpgtsp\M} 4 } } */
12 /* { dg-final { scan-assembler-times {\mxvcmpgesp\M} 4 } } */
13 /* { dg-final { scan-assembler-times {\mxvcmpeqdp\M} 6 } } */
14 /* { dg-final { scan-assembler-times {\mxvcmpgedp\M} 4 } } */
15 /* { dg-final { scan-assembler-times {\mxvcmpgtdp\M} 4 } } */