Remix.run Logo
cozzyd 6 days 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 6 days ago | parent [-]

In 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 6 days ago | parent [-]

    ymmv
Or zmmv if avx-512 is supported?
jvanderbot 5 days ago | parent [-]

This is a good joke, if anyone is wondering.