SimdJsonSharp icon indicating copy to clipboard operation
SimdJsonSharp copied to clipboard

Pre AVX2

Open danmoseley opened this issue 6 years ago • 3 comments

Nice work. As you know RyuJIT can test for ISA level support at codegen time. Do you plan to attempt to offer a SIMD codepath for CPU without AVX2? They are still fairly common I guess.

@tannergooding

danmoseley avatar Feb 27 '19 04:02 danmoseley

@danmosemsft thanks, yeah I am actually planning to try to make an alternative SSE-only path but I am not 100% sure it will be efficient (however there will be no penalties from mixing avx with sse and vzeroupper here and there 🙂) - the upstream project has only AVX2 based impl.

EgorBo avatar Feb 27 '19 08:02 EgorBo

@EgorBo @danmosemsft

Pre-haswell processors are still common, sure. It is not unlikely that the performance could be decent.

lemire avatar Mar 14 '19 00:03 lemire

We now have support for pre-AVX cpus and for ARM NEON.

Upcoming version of simdjson will support runtime dispatch.

This may get resolved with the next version of simdjson. Upstream, simdjson will provide runtime dispatch.

cc @ioioioio

lemire avatar Jul 19 '19 20:07 lemire