Displaying 1 result from an estimated 1 matches for "sanybridge".
Did you mean:
sandybridge
2013 Jan 14
1
[LLVMdev] Question about the loop vectorizer
Hi all,
I have a question about the loop vectorizer.
For the following code:
void example1 (float a[], float b[], float c[], int n) {
int i;
for (i=0; i<n; i++){
a[i] = c[i];
}
for (i=0; i<n; i++){
a[i] += b[i];
}
}
void example2 (float a[], float b[], float c[], int n) {
int i;
for (i=0; i<n; i++){
a[i] = b[i] + c[i];
}
}
The