1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
5 /* { dg-options "-O -mcpu=power7 -mno-altivec" } */
7 /* { dg-warning "-mno-altivec disables vsx" "" { target *-*-* } 0 } */
10 foo (double *x
, double *y
)
15 for (i
= 0; i
< 2; i
++)
20 /* { dg-final { scan-assembler-not "xsadddp" } } */