aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/vsx-vector-6-func-2lop.c
blob: 2bfd4cd3290dd356f510ebe599734e2acdfd6649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile { target lp64 } } */
/* { dg-options "-O2 -mvsx" } */
/* { dg-require-effective-target powerpc_vsx } */

/* This file just generates calls to the various builtins and verifies the
   expected number of instructions for each builtin were generated.  */

#include "vsx-vector-6-func-2lop.h"

/* { dg-final { scan-assembler-times {\mxxland\M} 2 } } */
/* { dg-final { scan-assembler-times {\mxxlandc\M} 2 } } */
/* { dg-final { scan-assembler-times {\mxxlnor\M} 2 } } */
/* { dg-final { scan-assembler-times {\mxxlxor\M} 2 } } */
/* { dg-final { scan-assembler-times {\mxxlor\M} 2 } } */