3 ms·
I don't think compilers are able to know when to use SIMD Isn't vectorization different than SIMD ?
by jokoon 13y ago
I don't think compilers are able to know when to use SIMD
Isn't vectorization different than SIMD ?
- dbaupp 13y agoNo, vectorization is converting scalar operations (i.e. one piece of data at a time, e.g. summing one byte at a time) to vector ones (operating on multiple pieces of data at once, e.g. summing 16 bytes in parallel), and these operations are exactly what SIMD is.
- sanxiyn 13y agoCompilers certainly can, although they aren't exactly good.