3 ms·
Even SIMD, a feature of processors for over 20 years, is not handled well by compilers for automatic optimization. It seems like all code taking advantage of SI
by planteen 8y ago
Even SIMD, a feature of processors for over 20 years, is not handled well by compilers for automatic optimization. It seems like all code taking advantage of SIMD either drops into ASM, or uses a library from ARM/Intel to give descriptive C functions names for the underlying ASM.
- jagger27 8y agoI wonder why high level languages themselves don't add syntax support for wide-math instructions? I understand why loop unpacking is a little tricky, so why not let the programmer take care of it?
- deleted 8y ago[deleted]
- pjmlp 8y ago.NET and Julia do offer such support. Java is in the process of doing it as part of Arrays 2.0 roadmap.
- zvrba 8y agoThere is ispc: https://ispc.github.io/ https://ispc.github.io/