3 ms·
I wonder if the 4x performance boost of 128-bit SIMD over 32-bit would drop to 2x if WebAssembly added 64-bit registers/instructions.
by nyanpasu64 5y ago
I wonder if the 4x performance boost of 128-bit SIMD over 32-bit would drop to 2x if WebAssembly added 64-bit registers/instructions.
- nynx 5y agoWebassembly has 64-bit locals and instructions.
- hackthesystem 5y agoI actually tried comparing 128-bit SIMD to the 64-bit performance and the difference was 2x. I only published the results for the 4x comparison, but it should be pretty easy to reproduce if you change the types in the non-SIMD code[1] from i32 -> i64. [1] https://github.com/awelm/simd-wasm-profiling/blob/master/fillBufferWithoutSIMD.wat https://github.com/awelm/simd-wasm-profiling/blob/master/fil...