9 ms·
Shouldn't the compiler be able to figure out that such an optimization is possible?
by amelius 12y ago
Shouldn't the compiler be able to figure out that such an optimization is possible?
- velox_io 12y agoYou would think so.. I find it strange that only specialised software (such as graphics) makes use of SIMD instructions, when much of the code inside loops could be vectorised. Running on parts of the CPU which are also under-utilised. I think this is something that will change. There's only so much you can run code in parallel before cores are starved. Intel is bringing out AVX-512 which could be interesting - http://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512 http://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-...