Is it a good idea to vectorize the code? What are good practices in terms of when to do it? What happens underneath?
It's SSE code Generation.
You have a loop with float matrix code in it matrix1[i][j] + matrix2[i][j] and the compiler generates SSE code.