blob: c89cee71ba141f7ae5fef8c85b4bc9741f8d1f16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-options "-mcpu=power9" } */
#include <altivec.h>
#include <stdbool.h>
bool
test_neg (double *p)
{
double source = *p;
return scalar_test_neg (source);
}
/* { dg-final { scan-assembler "xststdcdp" } } */
|