| 1 |
/* { dg-do compile { target lp64 } } */ |
| 2 |
/* { dg-options "-O2 -mvsx" } */ |
| 3 |
/* { dg-require-effective-target powerpc_vsx } */ |
| 4 |
|
| 5 |
/* This file just generates calls to the various builtins and verifies the |
| 6 |
expected number of instructions for each builtin were generated. */ |
| 7 |
|
| 8 |
#include "vsx-vector-6-func-2lop.h" |
| 9 |
|
| 10 |
/* { dg-final { scan-assembler-times {\mxxland\M} 2 } } */ |
| 11 |
/* { dg-final { scan-assembler-times {\mxxlandc\M} 2 } } */ |
| 12 |
/* { dg-final { scan-assembler-times {\mxxlnor\M} 2 } } */ |
| 13 |
/* { dg-final { scan-assembler-times {\mxxlxor\M} 2 } } */ |
| 14 |
/* { dg-final { scan-assembler-times {\mxxlor\M} 2 } } */ |