forked from OSchip/llvm-project
16 lines
188 B
C
16 lines
188 B
C
|
#define N 1024
|
||
|
float A[N];
|
||
|
float B[N];
|
||
|
|
||
|
void simple_vec_stride_one(void) {
|
||
|
int i;
|
||
|
|
||
|
for (i = 0; i < 4; i++)
|
||
|
B[i] = A[i];
|
||
|
}
|
||
|
int main()
|
||
|
{
|
||
|
simple_vec_stride_one();
|
||
|
return A[42];
|
||
|
}
|