Hard
Three float pointers and a loop
Compiled with -O3 and auto-vectorization on, what does the compiler have to do about the possibility that out overlaps a or b?
main.cpp
void addArrays(float* a, float* b, float* out, int n) {
for (int i = 0; i < n; ++i) {
out[i] = a[i] + b[i];
}
}11 of 44 in Compilers