4 ms·
I don't see any explicit SIMD in here. Is the rust compiler able to emit SIMD instructions automatically in cases like this? (I guess I could compile and disas
by cozzyd 2y ago
I don't see any explicit SIMD in here. Is the rust compiler able to emit SIMD instructions automatically in cases like this? (I guess I could compile and disassemble to check... )
- jvanderbot 2y agoIn my experience Rust is very good about using simd for loading and not great at using it automatically for math. This is from some experimentation at work and checking disassembly so ymmv There are common library extensions for that.
- cozzyd 2y agoymmv Or zmmv if avx-512 is supported?
- jvanderbot 2y agoThis is a good joke, if anyone is wondering.