Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
ppc-vector-memset.c
blob: 615a025f0d08287ca728ecf3abcfe79e3c95831e [
file
] [
log
] [
blame
]
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-options "-O -maltivec" } */
/* { dg-final { scan-assembler "stvx" } } */
#include
<string.h>
void
foo
(
void
)
{
int
x
[
8
]
__attribute__
((
aligned
(
128
)));
memset
(
x
,
0
,
sizeof
(
x
));
bar
(
x
);
}