wide
wide copied to clipboard
Adding replace and extract methods
Seems like a fine addition to the library, I been using a lot of my time in here even though stdsimd/portable-simd will happen someday lol. Do you have any recommendations on how to do it on the x86 arch?
I think x86 only supports this with i16 actually :(
sad :(, wasm supports all of them so i think the only way on sse is to cast it 2 times? Dont know how efficient the code will be after getting compiled
It would probably be a significant hiccup in the processing speed of any function.
is there any way to get the 2 v128
in i64x4
from outside the lib?
you could use bytemuck to cast the simd value to an array of scalar values.
I believe v128 isn't actually supported by bytemuck yet, maybe I should create a PR. (Of course you can always manually impl it on a newtype though)
oh v
not u
.
yeah bytemuck would need a patch to support that