Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/vsx-vector-6-func-cmp.c

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