Wouter Hager

Results 63 comments of Wouter Hager

The Emscripten compilation of this lib also look promising, but I don't know what a dynamic call from javascript would look like. Emscripten generates a lot of constants and heap...

Please note that SIMD is currently in the crosswalk V8 fork: https://github.com/crosswalk-project/v8-crosswalk

Hmm perhaps you are right, nevermind. I can't find it in the repo. It may be too premature, except maybe for Firefox Nightly.

Continuing from #10, the performance of the first example compiled to javascript with Emscripten performs well, but performance of other 2 tests is extremely poor. It seems SIMD.js is nowhere...

When I compiled previously with my smmintrin shim the first two test would run, but simple_demo would hang, currently the second example didn't finish in any acceptable time, only the...

@lemire yes, that script does finish, in about 8 seconds in FF nightly on my i7-3612QM (8GB).

@lemire sorry, I did, but I replied to the commit. Here goes: http://lagua.nl/uploadfiles/example.html http://lagua.nl/uploadfiles/example.uncompressed.html

[example.js.txt](https://github.com/lemire/simdcomp/files/86541/example.js.txt) [example.uncompressed.js.txt](https://github.com/lemire/simdcomp/files/86540/example.uncompressed.js.txt)

_compress_decompress_demo: 10-50 ms _varying_bit_width_demo: 0-10 ms _simple_demo: 4600-7400 ms

Ah sorry I misunderstood. Here it is: == simple test Code works! == varying bit-width demo encoded size: 242 (original size: 1024) Code works! == simple demo gap = 1...