You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I translated the IDCT SSE code into Wasm. The algorithm uses lots of various punpckxxxx instructions, though WebAssembly has v8x16.shuffle. The v8 lowers into native SSE2 equivalents by matching immediate argument. I cannot find if we do it for any of the cranelift backends.
Can confirm that all these shuffles are now implemented, even on aarch64 too. All i8x16.shuffle instructions present in the above module are compiled to single-instruction lowerings on both x86_64 and aarch64. In that case I'm going to close this.
Activity
abrown commentedon Dec 30, 2020
I agree; perhaps this benchmark could be adapted for sightglass?
yurydelendik commentedon Dec 30, 2020
Not familiar with the sightglass. Can you sketch what needs to be done?
abrown commentedon Dec 30, 2020
Here is a high-level document describing the basic idea and here is an example.
alexcrichton commentedon Jun 22, 2023
Can confirm that all these shuffles are now implemented, even on aarch64 too. All
i8x16.shuffleinstructions present in the above module are compiled to single-instruction lowerings on both x86_64 and aarch64. In that case I'm going to close this.