So I’m a bit baffled by some @rustlang SIMD behaviour, it seems that for some intrinsics (_mm_maddubs_epi16 for example) rust calls a function that isn’t inline instead if calling the relating instruction directly. Anyone has an idea what causes that? - https://rust.godbolt.org/z/mjJ5PM
-
-
That’s a good read! Interestingly enough if I throw the code in instruments (aka dtrace) it still seems to call functions the avx and avx2 functions :(
-
That is, the compiler converts a memory safety bug (very bad) into a performance bug (bad, but not as bad).
- 6 more replies
New conversation -
-
-
thanks!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.